Skip to content

Commit

Permalink
FIX special code on create supplier invoice from supplier order
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-john committed Oct 30, 2018
1 parent ca47d1b commit 1e819ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions htdocs/fourn/facture/card.php
Expand Up @@ -896,6 +896,9 @@
if ($lines[$i]->date_fin_reel) $date_end=$lines[$i]->date_fin_reel;
if ($lines[$i]->date_end) $date_end=$lines[$i]->date_end;

// FIXME Missing special_code into addline and updateline methods
$object->special_code = $lines[$i]->special_code;

// FIXME Missing $lines[$i]->ref_supplier and $lines[$i]->label into addline and updateline methods. They are filled when coming from order for example.
$result = $object->addline(
$desc,
Expand Down

0 comments on commit 1e819ca

Please sign in to comment.