Merge pull request #14915 from ptibogxiv/patch-380
Fix reload display when invoice deleting in takepos
This commit is contained in:
commit
44ecc15a07
@ -402,7 +402,11 @@ if ($action == "deleteline") {
|
||||
$invoice->deleteline($deletelineid);
|
||||
$invoice->fetch($placeid);
|
||||
}
|
||||
if (count($invoice->lines) == 0) $invoice->delete($user);
|
||||
if (count($invoice->lines) == 0) {
|
||||
$invoice->delete($user);
|
||||
header("Location: ".DOL_URL_ROOT."/takepos/invoice.php");
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
if ($action == "delete") {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user