Fix terminal name
This commit is contained in:
parent
eef405a6fb
commit
96b7e8f0ac
1 changed files with 5 additions and 5 deletions
|
|
@ -156,11 +156,11 @@ if ($resql) {
|
|||
print "<!-- title of cash fence -->\n";
|
||||
print '<center>';
|
||||
print '<h2>';
|
||||
if ($object->status != $object::STATUS_DRAFT) {
|
||||
$nameterminal = getDolGlobalString("TAKEPOS_TERMINAL_NAME_".$object->id);
|
||||
print $langs->trans("CashControl")." #".$object->id.(($nameterminal != "TAKEPOS_TERMINAL_NAME_".$object->id) ? ' - '.$nameterminal : '');
|
||||
} else {
|
||||
print $langs->trans("CashControl")." #".$object->id." (".$langs->trans("Draft").")";
|
||||
|
||||
$nameterminal = getDolGlobalString("TAKEPOS_TERMINAL_NAME_".$object->posnumber);
|
||||
print $langs->trans("CashControl")." #".$object->id.(($nameterminal != "TAKEPOS_TERMINAL_NAME_".$object->posnumber) ? ' - '.$nameterminal : '');
|
||||
if ($object->status == $object::STATUS_DRAFT) {
|
||||
print "<br>(".$langs->trans("Draft").")";
|
||||
}
|
||||
print "</h2>";
|
||||
print $mysoc->name;
|
||||
|
|
|
|||
Loading…
Reference in a new issue