salix/modules/travel/front/create/index.html

62 lines
1.8 KiB
HTML
Raw Normal View History

2019-12-09 11:15:19 +00:00
<vn-watcher
vn-id="watcher"
url="Travels"
2019-12-09 11:15:19 +00:00
data="$ctrl.travel"
insert-mode="true"
form="form">
2019-12-09 11:15:19 +00:00
</vn-watcher>
<form name="form" ng-submit="$ctrl.onSubmit()" class="vn-w-md">
<vn-card class="vn-pa-lg">
<vn-horizontal>
<vn-textfield
label="Reference"
2023-05-05 11:00:45 +00:00
ng-model="$ctrl.travel.ref"
vn-name="reference">
2019-12-09 11:15:19 +00:00
</vn-textfield>
<vn-autocomplete
label="Agency"
2019-12-09 11:15:19 +00:00
ng-model="$ctrl.travel.agencyModeFk"
2023-05-05 11:00:45 +00:00
vn-name="agencyMode"
url="AgencyModes">
2019-12-09 11:15:19 +00:00
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal>
<vn-date-picker
on-change="$ctrl.onShippedChange(value)"
2019-12-09 11:15:19 +00:00
label="Shipped"
2023-05-05 11:00:45 +00:00
ng-model="$ctrl.travel.shipped"
vn-name="shipped">
2019-12-09 11:15:19 +00:00
</vn-date-picker>
<vn-date-picker
label="Landed"
2023-05-05 11:00:45 +00:00
ng-model="$ctrl.travel.landed"
vn-name="landed">
2019-12-09 11:15:19 +00:00
</vn-date-picker>
</vn-horizontal>
<vn-horizontal>
<vn-autocomplete
label="Warehouse Out"
2019-12-09 11:15:19 +00:00
ng-model="$ctrl.travel.warehouseOutFk"
2023-05-05 11:00:45 +00:00
vn-name="warehouseOut"
url="Warehouses">
2019-12-09 11:15:19 +00:00
</vn-autocomplete>
<vn-autocomplete
label="Warehouse In"
2019-12-09 11:15:19 +00:00
ng-model="$ctrl.travel.warehouseInFk"
2023-05-05 11:00:45 +00:00
vn-name="warehouseIn"
url="Warehouses">
2019-12-09 11:15:19 +00:00
</vn-autocomplete>
</vn-horizontal>
</vn-card>
<vn-button-bar>
2020-12-15 16:05:15 +00:00
<vn-submit
label="Save">
</vn-submit>
<vn-button
class="cancel"
label="Cancel"
ui-sref="travel.index">
</vn-button>
2019-12-09 11:15:19 +00:00
</vn-button-bar>
</form>