Files
crm.twinpol.com/modules/EcmStockDocIns/javascript/EcmStockDocInsDetail.js

15 lines
385 B
JavaScript
Raw Permalink Normal View History

2025-05-12 15:45:17 +00:00
//START:
$(document).ready(
function() {
DrawHeaders();
getItems(false);
//fill consignments
var count = $('#' + itemsTable + '_T tr').length - 1; // -1 - thead row
for (var index = 0; index != count; index++) {
if (items[index].product_is_consignment) {
$( "<p>"+items[index].part_no+"</p>" ).insertAfter( "#product_link_"+index );
}
}
});