2018-04-18 07:47:05 +00:00
|
|
|
<form name="form">
|
2018-04-04 11:56:16 +00:00
|
|
|
<vn-card pad-large>
|
2018-05-16 06:13:39 +00:00
|
|
|
<vn-title>Basic data</vn-title>
|
2018-04-04 11:56:16 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-autocomplete vn-one
|
2018-05-17 06:44:34 +00:00
|
|
|
vn-id="client"
|
2018-04-04 11:56:16 +00:00
|
|
|
url="/api/Clients"
|
|
|
|
label="Client"
|
|
|
|
show-field="name"
|
|
|
|
value-field="id"
|
2018-07-02 11:14:14 +00:00
|
|
|
field="$ctrl.clientFk"
|
2018-07-11 07:11:45 +00:00
|
|
|
initial-data="$ctrl.clientFk">
|
2018-04-04 11:56:16 +00:00
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-autocomplete vn-one
|
2018-07-11 07:11:45 +00:00
|
|
|
data="$ctrl.addresses"
|
2018-04-04 11:56:16 +00:00
|
|
|
label="Address"
|
|
|
|
show-field="nickname"
|
2018-05-17 06:44:34 +00:00
|
|
|
value-field="id"
|
|
|
|
field="$ctrl.ticket.addressFk">
|
2018-07-11 07:11:45 +00:00
|
|
|
<tpl-item>{{::nickname}}
|
|
|
|
<span ng-show="city || province">- {{::city}} ({{::province.name}})</span>
|
|
|
|
</tpl-item>
|
2018-04-04 11:56:16 +00:00
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-autocomplete vn-one
|
2018-04-18 07:47:05 +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
|
2018-05-16 06:13:39 +00:00
|
|
|
label="Shipped"
|
2018-04-04 11:56:16 +00:00
|
|
|
model="$ctrl.ticket.shipped"
|
2018-05-16 06:13:39 +00:00
|
|
|
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
|
2018-05-16 06:13:39 +00:00
|
|
|
label="Landed"
|
2018-07-24 10:14:35 +00:00
|
|
|
model="$ctrl.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>
|
2018-05-25 09:40:04 +00:00
|
|
|
<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>
|