salix/modules/client/front/greuge/create/index.html

46 lines
1.3 KiB
HTML
Raw Normal View History

2017-12-04 07:17:29 +00:00
<vn-watcher
vn-id="watcher"
url="Greuges"
2017-12-04 07:17:29 +00:00
data="$ctrl.greuge"
form="form"
insert-mode="true">
2017-12-04 07:17:29 +00:00
</vn-watcher>
2020-09-17 18:12:52 +00:00
<vn-crud-model
auto-load="true"
url="greugeTypes"
data="greugeTypes">
</vn-crud-model>
2019-11-10 10:08:44 +00:00
<form name="form" ng-submit="$ctrl.onSubmit()" class="vn-w-md">
<vn-card class="vn-pa-lg">
2018-03-01 22:38:14 +00:00
<vn-horizontal>
<vn-input-number
vn-focus
2018-03-01 22:38:14 +00:00
label="Amount"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.greuge.amount"
step="0.01"
rule>
</vn-input-number>
<vn-date-picker
label="Date"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.greuge.shipped">
2018-03-01 22:38:14 +00:00
</vn-date-picker>
</vn-horizontal>
<vn-horizontal>
<vn-textfield
label="Comment"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.greuge.description"
rule>
2018-03-01 22:38:14 +00:00
</vn-textfield>
<vn-autocomplete
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.greuge.greugeTypeFk"
2020-09-17 18:12:52 +00:00
data="greugeTypes"
label="Type"
rule>
2018-03-01 22:38:14 +00:00
</vn-autocomplete>
</vn-horizontal>
2017-12-04 07:17:29 +00:00
</vn-card>
<vn-button-bar>
<vn-submit label="Save"></vn-submit>
<vn-button ng-click="$ctrl.goToIndex()" label="Cancel"></vn-button>
2017-12-04 07:17:29 +00:00
</vn-button-bar>
</form>