55 lines
1.6 KiB
HTML
55 lines
1.6 KiB
HTML
<vn-watcher
|
|
vn-id="watcher"
|
|
url="Travels"
|
|
data="$ctrl.travel"
|
|
insert-mode="true"
|
|
form="form">
|
|
</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
|
|
label="Agency"
|
|
ng-model="$ctrl.travel.agencyModeFk"
|
|
url="AgencyModes">
|
|
</vn-autocomplete>
|
|
</vn-horizontal>
|
|
<vn-horizontal>
|
|
<vn-date-picker
|
|
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
|
|
label="Warehouse Out"
|
|
ng-model="$ctrl.travel.warehouseOutFk"
|
|
url="Warehouses">
|
|
</vn-autocomplete>
|
|
<vn-autocomplete
|
|
label="Warehouse In"
|
|
ng-model="$ctrl.travel.warehouseInFk"
|
|
url="Warehouses">
|
|
</vn-autocomplete>
|
|
</vn-horizontal>
|
|
</vn-card>
|
|
<vn-button-bar>
|
|
<vn-submit
|
|
label="Save">
|
|
</vn-submit>
|
|
<vn-button
|
|
class="cancel"
|
|
label="Cancel"
|
|
ui-sref="travel.index">
|
|
</vn-button>
|
|
</vn-button-bar>
|
|
</form>
|