salix/client/ticket/src/data/step-one/step-one.html

55 lines
2.0 KiB
HTML
Raw Normal View History

2018-04-04 11:56:16 +00:00
<form name="form" ng-submit="$ctrl.onSubmit()" ng-cloak>
<vn-card pad-large>
<vn-title>Basic data</vn-title>
<vn-horizontal>
<vn-autocomplete vn-one
url="/api/Clients"
label="Client"
show-field="name"
value-field="id"
field="$ctrl.ticket.clientFk"
initial-data="$ctrl.ticket.clientFk">
</vn-autocomplete>
<vn-autocomplete vn-one
url="/api/Addresses"
label="Address"
show-field="nickname"
value-field="id"
field="$ctrl.ticket.addressFk"
initial-data="$ctrl.ticket.addressFk">
</vn-autocomplete>
<vn-autocomplete vn-one
2018-04-13 07:17:44 +00:00
url="/api/AgencyModes/"
2018-04-04 11:56:16 +00:00
label="Agency"
show-field="name"
value-field="id"
field="$ctrl.ticket.agencyModeFk"
initial-data="$ctrl.ticket.agencyModeFk">
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal>
<vn-date-picker vn-one
label="Shipment"
model="$ctrl.ticket.shipped"
ini-options="{enableTime: true, dateFormat: 'd-m-Y h:i', time_24hr: true}">
</vn-date-picker>
<vn-date-picker vn-one
label="Landing"
model="$ctrl.ticket.landed"
ini-options="{enableTime: true, dateFormat: 'd-m-Y h:i', time_24hr: true}">
</vn-date-picker>
<vn-autocomplete vn-one
url="/api/Companies"
label="Company"
show-field="code"
value-field="id"
field="$ctrl.ticket.companyFk"
initial-data="$ctrl.ticket.companyFk">
</vn-autocomplete>
</vn-horizontal>
</vn-card>
<vn-button-bar>
<vn-submit label="Next"></vn-submit>
</vn-button-bar>
</form>