- //$rep->TextCol(0, 1, $myrow2['item_code'], -2);
- $rep->TextCol(0, 2, $myrow2['description'], -2);
+ if ($show_po_item_codes) {
+ $rep->TextCol(0, 1, $myrow2['item_code'], -2);
+ $rep->TextCol(1, 2, $myrow2['description'], -2);
+ } else
+ $rep->TextCol(0, 2, $myrow2['description'], -2);