Discussions
How to separate serial/lot number and Bin number correctly on printout template
Im currently using this code to get the inventory number and bin number separated into its own column
Question? Why is it when you dont assign the inventory details does the item.inventorydetail show the BIN number, should it not be blank?
Obviously if you assign the inventory detail, then it shows both the inventory number and Bin number.
<tdcolspan="4" align="right"><#listitem.inventorydetail?split(r"<br />", "r") asdetail> ${detail?keep_before(',')}<br /></#list></td>
<tdcolspan="8" align="right"><#listitem.inventorydetail?split(r"<br />", "r") asdetail> ${detail?keep_after(',')}<br /></#list></td>