NEW modele pdf canelle_reception to display linked reception to line

This commit is contained in:
atm-quentin 2018-10-16 14:58:56 +02:00
parent a7f3d066e8
commit 354825d006
2 changed files with 1216 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -195,7 +195,7 @@ if (empty($reshook))
$object->origin_id = $id_reception;
$res = $object->create($user);
//var_dump($object->error);exit;
if($res > 0){
$nb_bills_created++;
$object->id = $res;
@ -295,6 +295,9 @@ if (empty($reshook))
$lines[$i]->rowid
);
$rcp->add_object_linked('invoice_supplierdet',$result);
if ($result > 0)
{
$lineid=$result;