Update invoice.php

This commit is contained in:
ptibogxiv 2020-10-04 17:12:01 +02:00 committed by GitHub
parent e280fc3ad1
commit 55764779c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -278,7 +278,7 @@ if ($action == 'history')
$invoice->fetch($placeid);
}
if (!empty($conf->multicurrency->enabled) && $_SESSION["takeposcustomercurrency"]!="" && $conf->currency!=$_SESSION["takeposcustomercurrency"]) {
if (!empty($conf->multicurrency->enabled) && $_SESSION["takeposcustomercurrency"]!="") {
$invoice->setMulticurrencyCode($_SESSION["takeposcustomercurrency"]);
}