salix/modules/item/front/tax/index.html

28 lines
874 B
HTML
Raw Normal View History

<vn-crud-model
url="/item/api/TaxClasses"
fields="['id', 'description', 'code']"
data="classes"
auto-load="true">
</vn-crud-model>
2018-12-14 11:56:21 +00:00
<form name="form" ng-submit="$ctrl.submit()" compact>
2018-03-01 22:38:14 +00:00
<vn-card pad-large>
2018-07-25 13:14:03 +00:00
<vn-title>Tax</vn-title>
2018-03-01 22:38:14 +00:00
<vn-horizontal ng-repeat="tax in $ctrl.taxes track by $index">
<vn-textfield vn-one
label="Country"
model="tax.country.country"
disabled="true">
</vn-textfield>
<vn-autocomplete vn-one
label="Class"
field="tax.taxClassFk"
data="classes"
2018-03-01 22:38:14 +00:00
value-field="id"
show-field="description">
</vn-autocomplete>
</vn-horizontal>
2018-02-23 12:04:44 +00:00
</vn-card>
<vn-button-bar>
<vn-submit label="Save"></vn-submit>
</vn-button-bar>
</form>