[Vtigercrm-commits] [vtiger-commits] r10875 - in /vtigercrm/branches/5.0.3/modules: Invoice/pdf_templates/header.php PurchaseOrder/pdf_templates/header.php Quotes/pdf_templates/header.php SalesOrder/pdf_templates/header.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sat May 12 07:05:40 EDT 2007
Author: richie
Date: Sat May 12 05:05:30 2007
New Revision: 10875
Log:
* Fixed the date display issue ie., now the date will be diplayed as per current user's date format, Fixed #3793
Modified:
vtigercrm/branches/5.0.3/modules/Invoice/pdf_templates/header.php
vtigercrm/branches/5.0.3/modules/PurchaseOrder/pdf_templates/header.php
vtigercrm/branches/5.0.3/modules/Quotes/pdf_templates/header.php
vtigercrm/branches/5.0.3/modules/SalesOrder/pdf_templates/header.php
Modified: vtigercrm/branches/5.0.3/modules/Invoice/pdf_templates/header.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Invoice/pdf_templates/header.php (original)
+++ vtigercrm/branches/5.0.3/modules/Invoice/pdf_templates/header.php Sat May 12 05:05:30 2007
@@ -65,7 +65,7 @@
// issue date block
$issueBlock=array("80","37");
-$pdf->addRecBlock(date("Y-m-d"), "Issue Date",$issueBlock);
+$pdf->addRecBlock(getDisplayDate(date("Y-m-d")), "Issue Date",$issueBlock);
// due date block
$dueBlock=array("81","52");
Modified: vtigercrm/branches/5.0.3/modules/PurchaseOrder/pdf_templates/header.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/PurchaseOrder/pdf_templates/header.php (original)
+++ vtigercrm/branches/5.0.3/modules/PurchaseOrder/pdf_templates/header.php Sat May 12 05:05:30 2007
@@ -61,7 +61,7 @@
/* ******** Begin Invoice Data ************************ */
// issue date block
$issueBlock=array("80","37");
-$pdf->addRecBlock(date("Y-m-d"), "Issue Date",$issueBlock);
+$pdf->addRecBlock(getDisplayDate(date("Y-m-d")), "Issue Date",$issueBlock);
// due date block
$dueBlock=array("81","52");
Modified: vtigercrm/branches/5.0.3/modules/Quotes/pdf_templates/header.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Quotes/pdf_templates/header.php (original)
+++ vtigercrm/branches/5.0.3/modules/Quotes/pdf_templates/header.php Sat May 12 05:05:30 2007
@@ -56,7 +56,7 @@
/* ******** Begin Quote Data ************************ */
// issue date block
$issueBlock=array("80","35");
-$pdf->addRecBlock(date("Y-m-d"), "Issue Date",$issueBlock);
+$pdf->addRecBlock(getDisplayDate(date("Y-m-d")), "Issue Date",$issueBlock);
// valid till block
$dueBlock=array("80","50");
Modified: vtigercrm/branches/5.0.3/modules/SalesOrder/pdf_templates/header.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/SalesOrder/pdf_templates/header.php (original)
+++ vtigercrm/branches/5.0.3/modules/SalesOrder/pdf_templates/header.php Sat May 12 05:05:30 2007
@@ -62,7 +62,7 @@
// issue date block
$issueBlock=array("80","37");
-$pdf->addRecBlock(date("Y-m-d"), "Issue Date",$issueBlock);
+$pdf->addRecBlock(getDisplayDate(date("Y-m-d")), "Issue Date",$issueBlock);
// due date block
$dueBlock=array("81","52");
More information about the vtigercrm-commits
mailing list