Changeset 186 for trunk/phpbms/modules/bms/report/invoices_pdfworkorder.php
- Timestamp:
- 02/16/07 11:59:50 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/bms/report/invoices_pdfworkorder.php
r176 r186 61 61 date_Format(invoicedate,\"%c/%e/%Y\") as invoicedate, 62 62 date_Format(orderdate,\"%c/%e/%Y\") as orderdate, 63 date_Format(shippeddate,\"%c/%e/%Y\") as shippeddate,64 63 invoices.totalti-invoices.amountpaid as amountdue, 65 64 invoices.ponumber,invoices.discountamount,invoices.discountid, … … 355 354 $taxstatement="SELECT id, name, percentage FROM tax WHERE id=".$therecord["taxareaid"]; 356 355 $taxquery=mysql_query($taxstatement,$dblink); 357 if(!$taxquery) die ("cannot get tax: ".mysql_error($dblink)."<br >".$taxstatement);356 if(!$taxquery) die ("cannot get tax: ".mysql_error($dblink)."<br />".$taxstatement); 358 357 $taxrecord=mysql_fetch_array($taxquery); 359 358 $pdf->SetFont("Arial","",7);