Add id on description of typeTransiction on client and supplier
This commit is contained in:
parent
e193c2998c
commit
c9ae5989f9
|
@ -24,12 +24,6 @@
|
||||||
data="sageTaxTypes"
|
data="sageTaxTypes"
|
||||||
order="vat">
|
order="vat">
|
||||||
</vn-crud-model>
|
</vn-crud-model>
|
||||||
<vn-crud-model
|
|
||||||
auto-load="true"
|
|
||||||
url="SageTransactionTypes"
|
|
||||||
data="sageTransactionTypes"
|
|
||||||
order="transaction">
|
|
||||||
</vn-crud-model>
|
|
||||||
<form name="form" ng-submit="$ctrl.onSubmit()" class="vn-w-md">
|
<form name="form" ng-submit="$ctrl.onSubmit()" class="vn-w-md">
|
||||||
<vn-card class="vn-pa-lg">
|
<vn-card class="vn-pa-lg">
|
||||||
<vn-horizontal>
|
<vn-horizontal>
|
||||||
|
@ -69,12 +63,15 @@
|
||||||
</vn-autocomplete>
|
</vn-autocomplete>
|
||||||
<vn-autocomplete vn-one
|
<vn-autocomplete vn-one
|
||||||
ng-model="$ctrl.client.sageTransactionTypeFk"
|
ng-model="$ctrl.client.sageTransactionTypeFk"
|
||||||
data="sageTransactionTypes"
|
url="SageTransactionTypes"
|
||||||
show-field="transaction"
|
show-field="transaction"
|
||||||
value-field="id"
|
value-field="id"
|
||||||
label="Sage transaction type"
|
label="Sage transaction type"
|
||||||
|
search-function="{or: [{id: $search}, {transaction: {like: '%'+ $search +'%'}}]}"
|
||||||
vn-acl="salesAssistant"
|
vn-acl="salesAssistant"
|
||||||
|
order="id"
|
||||||
rule>
|
rule>
|
||||||
|
<tpl-item>{{id}}: {{transaction}}</tpl-item>
|
||||||
</vn-autocomplete>
|
</vn-autocomplete>
|
||||||
<vn-autocomplete vn-one
|
<vn-autocomplete vn-one
|
||||||
ng-model="$ctrl.client.transferorFk"
|
ng-model="$ctrl.client.transferorFk"
|
||||||
|
|
|
@ -24,12 +24,6 @@
|
||||||
data="sageTaxTypes"
|
data="sageTaxTypes"
|
||||||
order="vat">
|
order="vat">
|
||||||
</vn-crud-model>
|
</vn-crud-model>
|
||||||
<vn-crud-model
|
|
||||||
auto-load="true"
|
|
||||||
url="SageTransactionTypes"
|
|
||||||
data="sageTransactionTypes"
|
|
||||||
order="transaction">
|
|
||||||
</vn-crud-model>
|
|
||||||
<vn-crud-model
|
<vn-crud-model
|
||||||
auto-load="true"
|
auto-load="true"
|
||||||
url="SageWithholdings"
|
url="SageWithholdings"
|
||||||
|
@ -83,11 +77,14 @@
|
||||||
</vn-autocomplete>
|
</vn-autocomplete>
|
||||||
<vn-autocomplete vn-one
|
<vn-autocomplete vn-one
|
||||||
ng-model="$ctrl.supplier.sageTransactionTypeFk"
|
ng-model="$ctrl.supplier.sageTransactionTypeFk"
|
||||||
data="sageTransactionTypes"
|
url="SageTransactionTypes"
|
||||||
show-field="transaction"
|
show-field="transaction"
|
||||||
value-field="id"
|
value-field="id"
|
||||||
label="Sage transaction type"
|
label="Sage transaction type"
|
||||||
|
search-function="{or: [{id: $search}, {transaction: {like: '%'+ $search +'%'}}]}"
|
||||||
|
order="id"
|
||||||
rule>
|
rule>
|
||||||
|
<tpl-item>{{id}}: {{transaction}}</tpl-item>
|
||||||
</vn-autocomplete>
|
</vn-autocomplete>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
<vn-horizontal>
|
<vn-horizontal>
|
||||||
|
|
Loading…
Reference in New Issue