mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-19 13:54:25 +01:00
Specilized VAT rate cannot be defined unless the VAT is enabled and saved
This commit is contained in:
parent
cb6a3a00b6
commit
036f9df35f
@ -6,12 +6,13 @@
|
||||
- Ability to select "bank transfer" as the payment mean for a payment schedule
|
||||
- When a payment schedule was canceled by the payment gateway, alert the users
|
||||
- When a payment schedule is in error, alert the users
|
||||
- Updated caniuse db
|
||||
- Specilized VAT rate cannot be defined unless the VAT is enabled and saved
|
||||
- Fix card image ratio
|
||||
- Update events heading style
|
||||
- Update some icons
|
||||
- Optimized the load time of the payment schedules list
|
||||
- Optimized multiple DB queries
|
||||
- Updated caniuse db
|
||||
- Fix a bug: do not load Stripe if no keys were defined
|
||||
- Fix a bug: some links redirect to the home page instead of triggering the requested action
|
||||
- Fix a bug: exports to Excel are corrupted (#49)
|
||||
|
@ -476,6 +476,8 @@ Application.Controllers.controller('InvoicesController', ['$scope', '$state', 'I
|
||||
controller: ['$scope', '$uibModalInstance', 'rate', 'active', 'rateHistory', 'activeHistory', 'multiVAT', function ($scope, $uibModalInstance, rate, active, rateHistory, activeHistory, multiVAT) {
|
||||
$scope.rate = rate;
|
||||
$scope.isSelected = active;
|
||||
// this one is read only
|
||||
$scope.isActive = active;
|
||||
$scope.history = [];
|
||||
|
||||
// callback on "enable VAT" switch toggle
|
||||
|
@ -51,7 +51,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-warning pull-left" ng-click="editMultiVAT()" ng-show="isSelected" translate>{{ 'app.admin.invoices.edit_multi_VAT_button' }}</button>
|
||||
<button class="btn btn-warning pull-left" ng-click="editMultiVAT()" ng-show="isActive" translate>{{ 'app.admin.invoices.edit_multi_VAT_button' }}</button>
|
||||
<button class="btn btn-warning" ng-click="ok()" translate>{{ 'app.shared.buttons.confirm' }}</button>
|
||||
<button class="btn btn-default" ng-click="cancel()" translate>{{ 'app.shared.buttons.cancel' }}</button>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user