This commit is contained in:
parent
de6283ac1b
commit
372ad15f26
|
@ -10,7 +10,8 @@
|
|||
<vn-horizontal>
|
||||
<vn-textfield vn-two vn-focus
|
||||
label="Name"
|
||||
field="$ctrl.zone.name">
|
||||
field="$ctrl.zone.name"
|
||||
vn-acl="deliveryBoss">
|
||||
</vn-textfield>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
|
@ -20,7 +21,8 @@
|
|||
url="/agency/api/Warehouses"
|
||||
show-field="name"
|
||||
value-field="id"
|
||||
label="Warehouse">
|
||||
label="Warehouse"
|
||||
vn-acl="deliveryBoss">
|
||||
</vn-autocomplete>
|
||||
<vn-autocomplete
|
||||
vn-one
|
||||
|
@ -28,37 +30,47 @@
|
|||
url="/agency/api/AgencyModes"
|
||||
show-field="name"
|
||||
value-field="id"
|
||||
label="Agency">
|
||||
label="Agency"
|
||||
vn-acl="deliveryBoss">
|
||||
</vn-autocomplete>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-input-number vn-two
|
||||
label="Traveling days"
|
||||
model="$ctrl.zone.travelingDays"
|
||||
min="0" step="1">
|
||||
min="0" step="1"
|
||||
vn-acl="deliveryBoss">
|
||||
</vn-input-number>
|
||||
<vn-input-time vn-two
|
||||
label="Estimated hour (ETD)"
|
||||
model="$ctrl.zone.hour">
|
||||
model="$ctrl.zone.hour"
|
||||
vn-acl="deliveryBoss">
|
||||
</vn-input-time>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-input-number vn-one
|
||||
label="Price"
|
||||
model="$ctrl.zone.price"
|
||||
min="0" step="0.01">
|
||||
min="0" step="0.01"
|
||||
vn-acl="deliveryBoss">
|
||||
</vn-input-number>
|
||||
<vn-input-number vn-one
|
||||
label="Bonus"
|
||||
model="$ctrl.zone.bonus"
|
||||
min="0" step="0.01">
|
||||
min="0" step="0.01"
|
||||
vn-acl="deliveryBoss">
|
||||
</vn-input-number>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-check field="$ctrl.zone.isVolumetric" label="Volumetric"></vn-check>
|
||||
<vn-check label="Volumetric"
|
||||
field="$ctrl.zone.isVolumetric"
|
||||
vn-acl="deliveryBoss">
|
||||
</vn-check>
|
||||
</vn-horizontal>
|
||||
</vn-card>
|
||||
<vn-button-bar>
|
||||
<vn-submit label="Save"></vn-submit>
|
||||
<vn-submit label="Save"
|
||||
vn-acl="deliveryBoss">
|
||||
</vn-submit>
|
||||
</vn-button-bar>
|
||||
</form>
|
||||
|
|
|
@ -44,7 +44,9 @@
|
|||
<vn-icon-button
|
||||
ng-click="$ctrl.clone($event, zone)"
|
||||
vn-tooltip="Clone"
|
||||
icon="icon-clone">
|
||||
icon="icon-clone"
|
||||
vn-acl="deliveryBoss"
|
||||
vn-acl-action="remove">
|
||||
</vn-icon-button>
|
||||
<vn-icon-button
|
||||
ng-click="$ctrl.preview($event, zone)"
|
||||
|
@ -75,5 +77,8 @@
|
|||
</vn-confirm>
|
||||
<!-- End clone confirmation -->
|
||||
<a ui-sref="zone.create" vn-tooltip="New zone" vn-bind="+" fixed-bottom-right>
|
||||
<vn-float-button icon="add"></vn-float-button>
|
||||
<vn-float-button icon="add"
|
||||
vn-acl="deliveryBoss"
|
||||
vn-acl-action="remove">
|
||||
</vn-float-button>
|
||||
</a>
|
Loading…
Reference in New Issue