Merge pull request '2893-show-expedition.externalId' (#611) from 2893-show-expedition.externalId into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #611
Reviewed-by: Joan Sanchez <joan@verdnatura.es>
This commit is contained in:
Joan Sanchez 2021-04-27 07:40:47 +00:00
commit 50b3c840dc
4 changed files with 6 additions and 2 deletions

View File

@ -1 +0,0 @@
Delete me with the first .sql files addition

View File

@ -0,0 +1,3 @@
UPDATE salix.ACL
SET principalId = "salesAssistant"
WHERE model = 'Client' AND property = 'createReceipt';

View File

@ -128,7 +128,7 @@
</vn-data-viewer>
</div>
<vn-float-button
vn-acl="administrative"
vn-acl="salesAssistant"
vn-acl-action="remove"
icon="add"
vn-tooltip="New payment"

View File

@ -18,6 +18,7 @@
<vn-th field="name">Name</vn-th>
<vn-th field="isBox">Package type</vn-th>
<vn-th field="counter" number>Counter</vn-th>
<vn-th field="externalId" number>externalId</vn-th>
<vn-th field="worker">Worker</vn-th>
<vn-th field="created" expand>Created</vn-th>
</vn-tr>
@ -41,6 +42,7 @@
<vn-td>{{::expedition.packageItemName}}</vn-td>
<vn-td>{{::expedition.freightItemName}}</vn-td>
<vn-td number>{{::expedition.counter}}</vn-td>
<vn-td number>{{::expedition.externalId}}</vn-td>
<vn-td expand>
<span
class="link"