Add JS files
This commit is contained in:
15
modules/EcmStockDocInsideIns/javascript/EcmStockDocInsideInsDetail.js
Executable file
15
modules/EcmStockDocInsideIns/javascript/EcmStockDocInsideInsDetail.js
Executable file
@@ -0,0 +1,15 @@
|
||||
//START:
|
||||
$(document).ready(
|
||||
function() {
|
||||
DrawHeaders();
|
||||
getItems(false);
|
||||
//fill consignments
|
||||
var count = items.length;
|
||||
for (var index = 0; index != count; index++) {
|
||||
if (items[index].product_is_consignment) {
|
||||
$( "<p>"+items[index].part_no+"</p>" ).insertAfter( "#product_link_"+index );
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user