diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php
index 6d16e6cc6b0..e1245ce8c78 100644
--- a/htdocs/takepos/invoice.php
+++ b/htdocs/takepos/invoice.php
@@ -893,13 +893,13 @@ if ($_SESSION["basiclayout"] != 1)
// In phone version only show when it is invoice page
if ($mobilepage == "invoice" || $mobilepage == "") {
print ''.price($invoice->total_ttc, 1, '', 1, -1, -1, $conf->currency).'';
- if (!empty($conf->multicurrency->enabled) && $_SESSION["takeposcustomercurrency"]!="" && $conf->currency!=$_SESSION["takeposcustomercurrency"]) {
- //Only show customer currency if multicurrency module is enabled, if currency selected and if this currency selected is not the same as main currency
- include_once DOL_DOCUMENT_ROOT.'/multicurrency/class/multicurrency.class.php';
- $multicurrency = new MultiCurrency($db);
- $multicurrency->fetch(0, $_SESSION["takeposcustomercurrency"]);
- print '
('.price($invoice->total_ttc*$multicurrency->rate->rate).' '.$_SESSION["takeposcustomercurrency"].')';
- }
+ if (!empty($conf->multicurrency->enabled) && $_SESSION["takeposcustomercurrency"]!="" && $conf->currency!=$_SESSION["takeposcustomercurrency"]) {
+ //Only show customer currency if multicurrency module is enabled, if currency selected and if this currency selected is not the same as main currency
+ include_once DOL_DOCUMENT_ROOT.'/multicurrency/class/multicurrency.class.php';
+ $multicurrency = new MultiCurrency($db);
+ $multicurrency->fetch(0, $_SESSION["takeposcustomercurrency"]);
+ print '
('.price($invoice->total_ttc*$multicurrency->rate->rate).' '.$_SESSION["takeposcustomercurrency"].')';
+ }
print '';
}
print '';