Fix object not defined
This commit is contained in:
parent
dbaaa44c76
commit
5dc1102601
@ -23,6 +23,7 @@
|
|||||||
* $object (invoice, order, ...)
|
* $object (invoice, order, ...)
|
||||||
* $conf
|
* $conf
|
||||||
* $langs
|
* $langs
|
||||||
|
* $seller, $nuyer
|
||||||
* $dateSelector
|
* $dateSelector
|
||||||
* $forceall (0 by default, 1 for supplier invoices/orders)
|
* $forceall (0 by default, 1 for supplier invoices/orders)
|
||||||
* $senderissupplier (0 by default, 1 for supplier invoices/orders)
|
* $senderissupplier (0 by default, 1 for supplier invoices/orders)
|
||||||
|
|||||||
@ -2039,7 +2039,7 @@ elseif (! empty($object->id))
|
|||||||
// Show object lines
|
// Show object lines
|
||||||
$inputalsopricewithtax=0;
|
$inputalsopricewithtax=0;
|
||||||
if (! empty($object->lines))
|
if (! empty($object->lines))
|
||||||
$ret = $object->printObjectLines($action, $soc, $mysoc, $lineid, 1);
|
$ret = $object->printObjectLines($action, $societe, $mysoc, $lineid, 1);
|
||||||
|
|
||||||
$num = count($object->lines);
|
$num = count($object->lines);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user