2273 - Fixed transfer sales
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
f4984c142f
commit
73a6148a77
|
@ -42,7 +42,7 @@
|
|||
</vn-button>
|
||||
<vn-button
|
||||
disabled="!$ctrl.isChecked || !$ctrl.isEditable"
|
||||
ng-click="transfer.show()"
|
||||
ng-click="$ctrl.showTransferPopover($event)"
|
||||
vn-tooltip="Transfer lines"
|
||||
icon="call_split">
|
||||
</vn-button>
|
||||
|
|
|
@ -228,6 +228,12 @@ class Controller extends Section {
|
|||
}
|
||||
}
|
||||
|
||||
showTransferPopover(event) {
|
||||
this.setTransferParams();
|
||||
this.$.transfer.parent = event.target;
|
||||
this.$.transfer.show();
|
||||
}
|
||||
|
||||
setTransferParams() {
|
||||
const checkedSales = JSON.stringify(this.checkedLines());
|
||||
const sales = JSON.parse(checkedSales);
|
||||
|
|
Loading…
Reference in New Issue