Update invoice.php

This commit is contained in:
Laurent Destailleur 2021-09-05 01:57:05 +02:00 committed by GitHub
parent 7ca855d192
commit f79b883a4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1132,7 +1132,7 @@ $( document ).ready(function() {
$s = '<span class="small">';
$constantforkey = 'CASHDESK_ID_WAREHOUSE'. (isset($_SESSION["takeposterminal"]) ? $_SESSION["takeposterminal"] : '');
$warehouse = new Entrepot($db);
$warehouse->fetch(getDolGlobalString("$constantforkey"));
$warehouse->fetch(getDolGlobalString($constantforkey));
$s .= $langs->trans("Warehouse").'<br>'.$warehouse->ref;
$s .= '</span>';
}