tiskanje bulk + vrsni red opreacij na tiskanju
This commit is contained in:
@@ -752,6 +752,7 @@
|
||||
<button class="btn btn-secondary" onclick="createOrderSelectPartner(true, 2); return false;">Kreiraj povpraševanje izdelka</button>
|
||||
<button class="btn btn-info" onclick="createCooperationSelectPartner(); return false;">Kreiraj kooperacijo</button>
|
||||
<button class="btn btn-primary" onclick="createInvoice(); return false;">Kreiraj dobavnico</button>
|
||||
<button class="btn btn-secondary" onclick="bulkPrintPartItems(); return false;"><i class="ion ion-md-print"></i> Natisni naloge</button>
|
||||
|
||||
</div>
|
||||
<div class="col-3 text-right">
|
||||
@@ -881,6 +882,16 @@
|
||||
function tooltips() {
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
}
|
||||
|
||||
function bulkPrintPartItems() {
|
||||
let ids = getSelectedPartItems();
|
||||
if (ids.length <= 0) {
|
||||
alert("Izberi pozicije!");
|
||||
return;
|
||||
}
|
||||
window.open('/Projects/PrintPartItem?ids=' + ids.join(','), '_blank');
|
||||
}
|
||||
|
||||
function createOrderSelectPartner(inquiry, positionsType) {
|
||||
$.blockUI();
|
||||
$.ajax({
|
||||
|
||||
Reference in New Issue
Block a user