2018-04-04 17:59:03 +00:00
|
|
|
<form name="form" ng-submit="$ctrl.submit()">
|
|
|
|
<vn-card pad-large>
|
|
|
|
<vn-title>Item barcode</vn-title>
|
|
|
|
<vn-horizontal ng-repeat="barcode in $ctrl.barcodes track by $index">
|
|
|
|
<vn-textfield
|
|
|
|
vn-three
|
|
|
|
label="Code"
|
|
|
|
model="barcode.code"
|
2018-04-19 12:46:06 +00:00
|
|
|
vn-acl="buyer, replenisher"
|
|
|
|
vn-focus>
|
2018-04-04 17:59:03 +00:00
|
|
|
</vn-textfield>
|
|
|
|
<vn-icon
|
2018-04-05 07:06:35 +00:00
|
|
|
pad-medium-top
|
|
|
|
vn-acl="buyer,replenisher"
|
|
|
|
pointer
|
2018-04-04 17:59:03 +00:00
|
|
|
medium-grey
|
2018-04-19 12:46:06 +00:00
|
|
|
vn-tooltip="Remove barcode"
|
2018-04-05 07:06:35 +00:00
|
|
|
tooltip-position="left"
|
2018-04-04 17:59:03 +00:00
|
|
|
icon="remove_circle_outline"
|
|
|
|
ng-click="$ctrl.removeBarcode($index)">
|
|
|
|
</vn-icon>
|
|
|
|
</vn-horizontal>
|
2018-04-05 07:06:35 +00:00
|
|
|
<vn-one>
|
2018-04-19 12:46:06 +00:00
|
|
|
<vn-icon-button
|
2018-04-05 07:06:35 +00:00
|
|
|
vn-acl="buyer, replenisher"
|
2018-04-19 12:46:06 +00:00
|
|
|
vn-tooltip="Add barcode"
|
|
|
|
tooltip-position="right" icon="add_circle"
|
2018-04-05 07:06:35 +00:00
|
|
|
ng-click="$ctrl.addBarcode()">
|
2018-04-19 12:46:06 +00:00
|
|
|
</vn-icon-button>
|
2018-04-05 07:06:35 +00:00
|
|
|
</vn-one>
|
2018-04-04 17:59:03 +00:00
|
|
|
</vn-card>
|
|
|
|
<vn-button-bar>
|
|
|
|
<vn-submit label="Save"></vn-submit>
|
|
|
|
</vn-button-bar>
|
|
|
|
</form>
|