permisos invoceInTax
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Javi Gallego 2021-07-12 15:27:36 +02:00
parent 8c1d9853eb
commit 2f265760b4
2 changed files with 4 additions and 0 deletions

View File

@ -2,3 +2,5 @@ DELETE FROM `salix`.`ACL` WHERE id = 189;
DELETE FROM `salix`.`ACL` WHERE id = 188;
UPDATE `salix`.`ACL` tdms SET tdms.accessType = '*'
WHERE tdms.id = 165;
INSERT INTO salix.ACL (model, principalId, property, accessType)
VALUES ('InvoiceInTax','administrative', '*', '*');

View File

@ -49,6 +49,7 @@
ng-model="invoiceInTax.taxTypeSageFk"
url="SageTaxTypes"
show-field="vat"
fields="['id', 'vat', 'rate']"
search-function="{or: [{id: $search}, {vat: {like: '%'+ $search +'%'}}]}"
selection="$ctrl.taxRateSelection"
rule>
@ -94,6 +95,7 @@
</vn-icon-button>
</vn-one>
</vn-card>
{{$ctrl.invoiceIn.currency.code}}
<vn-button-bar>
<vn-submit
disabled="!watcher.dataChanged()"