Added item code again. Got removed by mistake
This commit is contained in:
parent
2de8798612
commit
aea3b030aa
|
|
@ -29,7 +29,7 @@
|
|||
<?=$li['item_number'];?>
|
||||
</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'];?>
|
||||
</td>
|
||||
<td width="<?=$colWidths['unit'];?>" align="center" valign="top">
|
||||
|
|
|
|||
|
|
@ -263,8 +263,23 @@ $(function() {
|
|||
$("#lineItemDetails").show();
|
||||
$("#LineItemProductId").val(data.id);
|
||||
$("#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");
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue