|
From: <dai...@us...> - 2016-05-23 07:40:50
|
Revision: 7541
http://sourceforge.net/p/web-erp/reponame/7541
Author: daintree
Date: 2016-05-23 07:40:48 +0000 (Mon, 23 May 2016)
Log Message:
-----------
allow additional space for the date
Modified Paths:
--------------
trunk/PrintCustStatements.php
trunk/doc/Change.log
Modified: trunk/PrintCustStatements.php
===================================================================
--- trunk/PrintCustStatements.php 2016-05-23 07:19:58 UTC (rev 7540)
+++ trunk/PrintCustStatements.php 2016-05-23 07:40:48 UTC (rev 7541)
@@ -202,7 +202,7 @@
$LeftOvers = $pdf->addTextWrap($Left_Margin+1,$YPos,60,$FontSize, _($myrow['typename']), 'left');
$LeftOvers = $pdf->addTextWrap($Left_Margin+110,$YPos,50,$FontSize,$myrow['transno'], 'left');
- $LeftOvers = $pdf->addTextWrap($Left_Margin+211,$YPos,50,$FontSize,ConvertSQLDate($myrow['trandate']), 'left');
+ $LeftOvers = $pdf->addTextWrap($Left_Margin+211,$YPos,55,$FontSize,ConvertSQLDate($myrow['trandate']), 'left');
$FontSize=10;
if ($myrow['total']>0){
@@ -252,7 +252,7 @@
$FontSize=9;
$LeftOvers = $pdf->addTextWrap($Left_Margin+1,$YPos,60,$FontSize, _($myrow['typename']), 'left');
$LeftOvers = $pdf->addTextWrap($Left_Margin+110,$YPos,50,$FontSize,$myrow['transno'], 'left');
- $LeftOvers = $pdf->addTextWrap($Left_Margin+211,$YPos,50,$FontSize,ConvertSQLDate($myrow['trandate']), 'left');
+ $LeftOvers = $pdf->addTextWrap($Left_Margin+211,$YPos,55,$FontSize,ConvertSQLDate($myrow['trandate']), 'left');
$FontSize=10;
if ($myrow['total']>0){
@@ -463,12 +463,12 @@
} else { //its not an email just print the invoice to PDF
-
+
$pdf->OutputD($_SESSION['DatabaseName'] . '_CustStatements_' . date('Y-m-d') . '.pdf');
}
-
+
$pdf->__destruct();
} else {
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2016-05-23 07:19:58 UTC (rev 7540)
+++ trunk/doc/Change.log 2016-05-23 07:40:48 UTC (rev 7541)
@@ -2,6 +2,7 @@
22/5/16 Release 4.13
+23/5/16 Phil: PrintCustomerStatement.php now shows all the date.
23/5/16 Phil: Credit_Invoice.php now adds correct tax authorities - correcting bug that resulted in foreign key errors when adding taxauthorities as per fix to SelectCreditItems.php on 13/1/16
20/5/16 Phil: POS upload file now includes assembly items
20/5/16 RChacon: Insert missing script as an utility.
|