From 2f265760b47322adb1cc7b5c78e11bc1b76c2939 Mon Sep 17 00:00:00 2001 From: jgallego Date: Mon, 12 Jul 2021 15:27:36 +0200 Subject: [PATCH] permisos invoceInTax --- db/changes/10340-summer/00-ACL.sql | 2 ++ modules/invoiceIn/front/tax/index.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/db/changes/10340-summer/00-ACL.sql b/db/changes/10340-summer/00-ACL.sql index a9a5778e5..0ad2082f2 100644 --- a/db/changes/10340-summer/00-ACL.sql +++ b/db/changes/10340-summer/00-ACL.sql @@ -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', '*', '*'); \ No newline at end of file diff --git a/modules/invoiceIn/front/tax/index.html b/modules/invoiceIn/front/tax/index.html index 6e0987319..451c4cabf 100644 --- a/modules/invoiceIn/front/tax/index.html +++ b/modules/invoiceIn/front/tax/index.html @@ -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 @@ + {{$ctrl.invoiceIn.currency.code}}