Merge pull request #14921 from ptibogxiv/patch-383
NEW set entity when creating invoice on takepos
This commit is contained in:
commit
1b92e03f47
@ -288,6 +288,7 @@ if (($action == "addline" || $action == "freezone") && $placeid == 0)
|
||||
$invoice->date = dol_now();
|
||||
$invoice->module_source = 'takepos';
|
||||
$invoice->pos_source = $_SESSION["takeposterminal"];
|
||||
$invoice->entity = !empty($_SESSION["takeposinvoiceentity"])?$_SESSION["takeposinvoiceentity"]:$conf->entity;
|
||||
|
||||
if ($invoice->socid <= 0)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user