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

45 lines
1.3 KiB
HTML
Raw Normal View History

<mg-ajax path="greuges" options="vnPost"></mg-ajax>
2017-12-04 07:17:29 +00:00
<vn-watcher
vn-id="watcher"
data="$ctrl.greuge"
form="form"
save="post">
</vn-watcher>
2018-12-14 11:56:21 +00:00
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
<vn-card class="vn-pa-lg">
2018-03-01 22:38:14 +00:00
<vn-horizontal>
<vn-input-number
vn-one
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
vn-one
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
vn-one
2018-03-01 22:38:14 +00:00
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
vn-one
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.greuge.greugeTypeFk"
url="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.cancel()" label="Cancel"></vn-button>
2017-12-04 07:17:29 +00:00
</vn-button-bar>
</form>