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

65 lines
2.3 KiB
HTML
Raw Normal View History

<form name="form">
2018-04-04 11:56:16 +00:00
<vn-card pad-large>
<vn-title>Basic data</vn-title>
2018-04-04 11:56:16 +00:00
<vn-horizontal>
<vn-autocomplete vn-one
vn-id="client"
2018-04-04 11:56:16 +00:00
url="/api/Clients"
label="Client"
show-field="name"
value-field="id"
field="$ctrl.ticket.clientFk"
initial-data="$ctrl.ticket.clientFk"
on-change="$ctrl.onChange()">
2018-04-04 11:56:16 +00:00
</vn-autocomplete>
<vn-autocomplete vn-one
url="{{$ctrl.getAddresses()}}"
2018-04-04 11:56:16 +00:00
label="Address"
show-field="nickname"
value-field="id"
field="$ctrl.ticket.addressFk">
2018-04-04 11:56:16 +00:00
</vn-autocomplete>
<vn-autocomplete vn-one
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="Shipped"
2018-04-04 11:56:16 +00:00
model="$ctrl.ticket.shipped"
ini-options="{enableTime: true, dateFormat: 'd-m-Y h:i'}">
2018-04-04 11:56:16 +00:00
</vn-date-picker>
<vn-date-picker vn-one
label="Landed"
model="$ctrl.ticket.landed">
2018-04-04 11:56:16 +00:00
</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-horizontal>
<vn-autocomplete vn-one
url="/api/Warehouses"
label="Warehouse"
show-field="name"
value-field="id"
field="$ctrl.ticket.warehouseFk"
initial-data="$ctrl.ticket.warehouseFk">
</vn-autocomplete>
<vn-one>
<vn-check label="Deleted" field="$ctrl.ticket.isDeleted"></vn-check>
</vn-one>
</vn-horizontal>
2018-04-04 11:56:16 +00:00
</vn-card>
</form>