Post Reply 
 
Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Filter item to only print perishable goods
01-25-2016, 09:30 AM
Post: #1
Filter item to only print perishable goods
Hi All
I have changed perishable goods to hazmat and I have it all working but I would like to just have only hazmat items print, I have Printbilloflaiding.php which I used the PrintCustOrder_generic.php as a template for the Printbillofllaiding.php here is the current code

while ($myrow2=DB_fetch_array($result)){

$ListCount ++;

$DisplayQty = locale_number_format($myrow2['quantity'],$myrow2['decimalplaces']);
$DisplayPrevDel = locale_number_format($myrow2['qtyinvoiced'],$myrow2['decimalplaces']);
$DisplayQtySupplied = locale_number_format($myrow2['quantity'] - $myrow2['qtyinvoiced'],$myrow2['decimalplaces']);
$DisplayWeight = locale_number_format($myrow2['grossweight'],$myrow2['decimalplaces']);


$LeftOvers = $pdf->addTextWrap($XPos,$YPos,127,$FontSize,$myrow2['stkcode']);
$LeftOvers = $pdf->addTextWrap(145,$YPos,85,$FontSize,$myrow2['hazmat'] == 1 ? 'X' : ' ' );
$LeftOvers = $pdf->addTextWrap(100,$YPos,85,$FontSize,$DisplayQtySupplied,'left');
$LeftOvers = $pdf->addTextWrap(180,$YPos,255,$FontSize,$myrow2['description']);
$LeftOvers = $pdf->addTextWrap(620,$YPos,70,$FontSize,$DisplayWeight,'right');

Thanks
Dave Parrish
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Filter item to only print perishable goods - daveparrish - 01-25-2016 09:30 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)