Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #96 from pwweb/rabrowne85-patch-1
Browse files Browse the repository at this point in the history
Add Higher rate option to tax rates
  • Loading branch information
rabrowne85 authored Nov 9, 2022
2 parents 6b2d1ad + afde932 commit 96a7957
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Enums/Tax/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* @method static self none()
* @method static self standard()
* @method static self reduced()
* @method static self higher()
* @method static self zero()
*/
class Type extends Enum
Expand All @@ -34,6 +35,7 @@ protected static function values(): array
'standard' => 1,
'reduced' => 2,
'zero' => 3,
'higher' => 4,
];
}

Expand All @@ -50,6 +52,7 @@ protected static function labels(): array
'standard' => __('pwweb::core.tax.rates.standard_rate'),
'reduced' => __('pwweb::core.tax.rates.reduced_rate'),
'zero' => __('pwweb::core.tax.rates.zero_rate'),
'higher' => __('pwweb::core.tax.rates.higher_rate'),
];
}
}
1 change: 1 addition & 0 deletions src/resources/lang/de-DE/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@
'reduced_rate' => 'Reduzierte Steuersatz',
'zero_rate' => 'Nullrate',
'standard_rate' => 'Normalsatz',
'higher_rate' => 'Höheren Steuersatz',
'create_rate' => 'Steuersatz erstellen',
'edit_rate' => 'Bearbeitungsrate',
'saved' => 'Steuersatz erfolgreich gespeichert',
Expand Down
1 change: 1 addition & 0 deletions src/resources/lang/en-GB/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@
'save' => 'Save',
'reduced_rate' => 'Reduced Rate',
'zero_rate' => 'Zero Rate',
'higher_rate' => 'Higher Rate',
'standard_rate' => 'Standard Rate',
'create_rate' => 'Create Rate',
'edit_rate' => 'Edit Rate',
Expand Down

0 comments on commit 96a7957

Please sign in to comment.