2019-12-09 11:15:19 +00:00
|
|
|
<vn-watcher
|
|
|
|
vn-id="watcher"
|
2020-03-09 08:00:03 +00:00
|
|
|
url="Travels"
|
2019-12-09 11:15:19 +00:00
|
|
|
data="$ctrl.travel"
|
2020-03-09 08:00:03 +00:00
|
|
|
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"
|
|
|
|
ng-model="$ctrl.travel.ref">
|
|
|
|
</vn-textfield>
|
|
|
|
<vn-autocomplete
|
2020-03-09 08:00:03 +00:00
|
|
|
label="Agency"
|
2019-12-09 11:15:19 +00:00
|
|
|
ng-model="$ctrl.travel.agencyModeFk"
|
2020-03-09 08:00:03 +00:00
|
|
|
url="AgencyModes">
|
2019-12-09 11:15:19 +00:00
|
|
|
</vn-autocomplete>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-date-picker
|
2021-02-10 07:47:58 +00:00
|
|
|
on-change="$ctrl.onShippedChange(value)"
|
2019-12-09 11:15:19 +00:00
|
|
|
label="Shipped"
|
|
|
|
ng-model="$ctrl.travel.shipped">
|
|
|
|
</vn-date-picker>
|
|
|
|
<vn-date-picker
|
|
|
|
label="Landed"
|
|
|
|
ng-model="$ctrl.travel.landed">
|
|
|
|
</vn-date-picker>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-autocomplete
|
2020-03-09 08:00:03 +00:00
|
|
|
label="Warehouse Out"
|
2019-12-09 11:15:19 +00:00
|
|
|
ng-model="$ctrl.travel.warehouseOutFk"
|
2020-03-09 08:00:03 +00:00
|
|
|
url="Warehouses">
|
2019-12-09 11:15:19 +00:00
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-autocomplete
|
2020-03-09 08:00:03 +00:00
|
|
|
label="Warehouse In"
|
2019-12-09 11:15:19 +00:00
|
|
|
ng-model="$ctrl.travel.warehouseInFk"
|
2020-03-09 08:00:03 +00:00
|
|
|
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>
|