67 lines
2.4 KiB
HTML
67 lines
2.4 KiB
HTML
<form name="form">
|
|
<vn-card pad-large>
|
|
<vn-horizontal>
|
|
<vn-autocomplete vn-one
|
|
vn-id="client"
|
|
url="/api/Clients"
|
|
label="Client"
|
|
show-field="name"
|
|
value-field="id"
|
|
field="$ctrl.clientFk"
|
|
initial-data="$ctrl.clientFk"
|
|
order="id">
|
|
</vn-autocomplete>
|
|
<vn-autocomplete vn-one
|
|
data="$ctrl.addresses"
|
|
label="Address"
|
|
show-field="nickname"
|
|
value-field="id"
|
|
field="$ctrl.ticket.addressFk">
|
|
<tpl-item>{{::nickname}}
|
|
<span ng-show="city || province || street">- {{::street}} - {{::city}} - {{::province.name}} - {{::agencyMode.name}}</span>
|
|
</tpl-item>
|
|
</vn-autocomplete>
|
|
<vn-autocomplete vn-one
|
|
url="/api/AgencyModes/isActive"
|
|
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"
|
|
model="$ctrl.shipped"
|
|
ini-options="{enableTime: true, dateFormat: 'd-m-Y h:i'}">
|
|
</vn-date-picker>
|
|
<vn-date-picker vn-one
|
|
label="Landed"
|
|
model="$ctrl.landed">
|
|
</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>
|
|
</vn-card>
|
|
</form>
|