From: <rc...@us...> - 2013-07-22 14:03:07
|
Revision: 6135 http://sourceforge.net/p/web-erp/reponame/6135 Author: rchacon Date: 2013-07-22 14:03:03 +0000 (Mon, 22 Jul 2013) Log Message: ----------- Adds the currency name. Modified Paths: -------------- trunk/includes/PDFTransPageHeaderPortrait.inc Modified: trunk/includes/PDFTransPageHeaderPortrait.inc =================================================================== --- trunk/includes/PDFTransPageHeaderPortrait.inc 2013-07-22 10:27:07 UTC (rev 6134) +++ trunk/includes/PDFTransPageHeaderPortrait.inc 2013-07-22 14:03:03 UTC (rev 6135) @@ -206,7 +206,8 @@ $XPos = $Left_Margin; $FontSize = 8; -$pdf->addText($XPos, $YPos-8, $FontSize, _('All amounts stated in') . ' - ' . $myrow['currcode']); +include($PathPrefix . 'includes/CurrenciesArray.php'); // To get the currency name +$pdf->addText($XPos, $YPos-8, $FontSize, _('All amounts stated in') . ': ' . $myrow['currcode'] . ' ' . $CurrenciesArray[$myrow['currcode']]['Currency']); $BoxHeight = $Page_Height-282; @@ -273,4 +274,4 @@ $YPos -= ($line_height); -?> \ No newline at end of file +?> |