Added item code again. Got removed by mistake
This commit is contained in:
parent
2de8798612
commit
aea3b030aa
|
|
@ -29,7 +29,7 @@
|
||||||
<?=$li['item_number'];?>
|
<?=$li['item_number'];?>
|
||||||
</td>
|
</td>
|
||||||
<td width="<?=$colWidths['qty'];?>" align="center" valign="top"><?=$decimal->formatDecimal($li['quantity']);?></td>
|
<td width="<?=$colWidths['qty'];?>" align="center" valign="top"><?=$decimal->formatDecimal($li['quantity']);?></td>
|
||||||
<td width="<?=$colWidths['desc'];?>"><?=$li['title'];?>
|
<td width="<?=$colWidths['desc'];?>"><?=$li['title'];?><br>
|
||||||
<?=$li['description'];?>
|
<?=$li['description'];?>
|
||||||
</td>
|
</td>
|
||||||
<td width="<?=$colWidths['unit'];?>" align="center" valign="top">
|
<td width="<?=$colWidths['unit'];?>" align="center" valign="top">
|
||||||
|
|
|
||||||
|
|
@ -263,8 +263,23 @@ $(function() {
|
||||||
$("#lineItemDetails").show();
|
$("#lineItemDetails").show();
|
||||||
$("#LineItemProductId").val(data.id);
|
$("#LineItemProductId").val(data.id);
|
||||||
$("#LineItemTitle").val(data.title);
|
$("#LineItemTitle").val(data.title);
|
||||||
$("#LineItemDescription").val(data.description);
|
|
||||||
|
var descText = '';
|
||||||
|
if(data.item_code) {
|
||||||
|
descText = descText + '<br><b>Item Code:</b> ' + data.item_code;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(data.item_description) {
|
||||||
|
descText = descText + '<br><b>Item Description:</b> ' + data.item_description + '<br>';
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
descText = descText + data.description;
|
||||||
|
|
||||||
|
$("#LineItemDescription").val(descText);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}, "json");
|
}, "json");
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue