Fix problems with ACL and the autocomplete of bank entity
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
403964934d
commit
b8827ec63d
|
@ -1 +1 @@
|
|||
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES ('SupplierAccount', '*', 'WRITE', 'ALLOW', 'ROLE', 'administrative');
|
||||
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES ('SupplierAccount', '*', '*', 'ALLOW', 'ROLE', 'administrative');
|
|
@ -12,12 +12,6 @@
|
|||
data="$ctrl.supplierAccounts"
|
||||
form="form">
|
||||
</vn-watcher>
|
||||
<vn-crud-model
|
||||
url="BankEntities"
|
||||
fields="['countryFk','id','name', 'bic']"
|
||||
data="bankEntities"
|
||||
auto-load="true">
|
||||
</vn-crud-model>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" class="vn-w-md">
|
||||
<vn-card class="vn-pa-lg">
|
||||
<vn-horizontal ng-repeat="supplierAccount in $ctrl.supplierAccounts">
|
||||
|
@ -31,7 +25,7 @@
|
|||
label="Bank entity"
|
||||
initial-data="$ctrl.getName(bankEntity)"
|
||||
ng-model="supplierAccount.bankEntityFk"
|
||||
data="bankEntities"
|
||||
url="BankEntities"
|
||||
on-change="$ctrl.getName(bankEntity)"
|
||||
show-field="name"
|
||||
rule>
|
||||
|
|
Loading…
Reference in New Issue