mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-12 12:31:26 +01:00
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
This commit is contained in:
@@ -136,7 +136,7 @@ if ($object->statut == Facture::STATUS_DRAFT) {
|
||||
} else {
|
||||
print $object->ref;
|
||||
}
|
||||
if ($conf->global->TAKEPOS_SHOW_CUSTOMER) {
|
||||
if (!empty($conf->global->TAKEPOS_SHOW_CUSTOMER)) {
|
||||
if ($object->socid != getDolGlobalInt('CASHDESK_ID_THIRDPARTY'.$_SESSION["takeposterminal"])) {
|
||||
$soc = new Societe($db);
|
||||
if ($object->socid > 0) {
|
||||
@@ -147,6 +147,9 @@ if ($conf->global->TAKEPOS_SHOW_CUSTOMER) {
|
||||
print "<br>".$langs->trans("Customer").': '.$soc->name;
|
||||
}
|
||||
}
|
||||
if (!empty($conf->global->TAKEPOS_SHOW_DATE_OF_PRINING)) {
|
||||
print "<br>".$langs->trans("DateOfPrinting").': '.dol_print_date(dol_now(), 'dayhour', 'tzuserrel').'<br>';
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user