Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Print WO Item Slip Quantity Zero - SOLVED
12-14-2018, 02:36 AM, (This post was last modified: 12-14-2018, 02:38 AM by VortecCPI.)
#1
Print WO Item Slip Quantity Zero - SOLVED
PrintWOItemSlip.php

This script produces a PDF with BOM QTY of zero if the per-unit BoM quantities are very small:

   

I changed this:

PHP Code:
$pdf->addTextWrap(150,$YPos,50,$FontSize,locale_number_format($myComponent['bomqty'],$myComponent['decimalplaces']), 'right'); 


To this:

PHP Code:
$pdf->addTextWrap(150,$YPos,50,$FontSize,locale_number_format($myComponent['bomqty'],'Variable'), 'right'); 

   
https://www.linkedin.com/in/eclipsepaulbecker
Reply
12-14-2018, 07:46 PM,
#2
RE: Print WO Item Slip Quantity Zero - SOLVED
Looks good.

Paul T: I have sent you a pull request

Tim
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)