Avoid AutoPrint in TakePOS history
This commit is contained in:
parent
70500745f5
commit
0489e51cc0
@ -913,7 +913,7 @@ if (empty($reshook)) {
|
||||
$sectionwithinvoicelink .= ' <button id="buttonsend" type="button" onclick="SendTicket('.$placeid.');">'.$langs->trans('SendTicket').'</button>';
|
||||
}
|
||||
|
||||
if ($remaintopay <= 0 && getDolGlobalString('TAKEPOS_AUTO_PRINT_TICKETS')) {
|
||||
if ($remaintopay <= 0 && getDolGlobalString('TAKEPOS_AUTO_PRINT_TICKETS') && $action != "history") {
|
||||
$sectionwithinvoicelink .= '<script type="text/javascript">$("#buttonprint").click();</script>';
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user