projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
function money_format is deprecated in aove PHP 7.4. Replaced with price_format.
[fa-stable.git]
/
reporting
/
includes
/
pdf_report.inc
diff --git
a/reporting/includes/pdf_report.inc
b/reporting/includes/pdf_report.inc
index 97cb599f8a66c56d621d8359e269aeade5646b75..0d699731e75fbbdeaf80ac54f3a215b4e2031b1a 100644
(file)
--- a/
reporting/includes/pdf_report.inc
+++ b/
reporting/includes/pdf_report.inc
@@
-773,7
+773,7
@@
class FrontReport extends Cpdf
setlocale(LC_MONETARY, $amount_locale);
if ($color_red && $txt < 0)
$this->SetTextColor(255, 0, 0);
setlocale(LC_MONETARY, $amount_locale);
if ($color_red && $txt < 0)
$this->SetTextColor(255, 0, 0);
- $ret = $this->TextCol($c, $n,
money_format($amount_format,
$txt), $corr, $r, $border, $fill, $link, $stretch);
+ $ret = $this->TextCol($c, $n,
price_format(
$txt), $corr, $r, $border, $fill, $link, $stretch);
if ($color_red && $txt < 0)
$this->SetTextColor(0, 0, 0);
return $ret;
if ($color_red && $txt < 0)
$this->SetTextColor(0, 0, 0);
return $ret;