Post Reply 
 
Thread Rating:
  • 0 Votes - 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.)
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
12-14-2018, 07:46 PM
Post: #2
RE: Print WO Item Slip Quantity Zero - SOLVED
Looks good.

Paul T: I have sent you a pull request

Tim
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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