Fix : error takepos on constforcompanyid

This commit is contained in:
Lucas Marcouiller 2021-10-11 11:42:40 +02:00
parent 3222f39277
commit a9160f5af0

View File

@ -158,7 +158,7 @@ if ($ret > 0) {
$placeid = $invoice->id; $placeid = $invoice->id;
} }
$constforcompanyid = 'CASHDESK_ID_THIRDPARTY'. isset($_SESSION["takeposterminal"]) ? $_SESSION["takeposterminal"] : '' ; $constforcompanyid = 'CASHDESK_ID_THIRDPARTY'. (isset($_SESSION["takeposterminal"]) ? $_SESSION["takeposterminal"] : '') ;
$soc = new Societe($db); $soc = new Societe($db);
if ($invoice->socid > 0) { if ($invoice->socid > 0) {