Fix : Add service date limit transfert from propal to order

This commit is contained in:
fhenry
2013-04-15 15:55:10 +02:00
parent acd3d136b5
commit 24a6321d45
3 changed files with 28 additions and 8 deletions

View File

@@ -933,6 +933,9 @@ class Commande extends CommonOrder
$line->rang = $object->lines[$i]->rang;
$line->special_code = $object->lines[$i]->special_code;
$line->fk_parent_line = $object->lines[$i]->fk_parent_line;
$line->date_start = $object->lines[$i]->date_start;
$line->date_end = $object->lines[$i]->date_end;
$line->fk_fournprice = $object->lines[$i]->fk_fournprice;
$marginInfos = getMarginInfos($object->lines[$i]->subprice, $object->lines[$i]->remise_percent, $object->lines[$i]->tva_tx, $object->lines[$i]->localtax1_tx, $object->lines[$i]->localtax2_tx, $object->lines[$i]->fk_fournprice, $object->lines[$i]->pa_ht);

View File

@@ -329,8 +329,8 @@ else if ($action == 'add' && $user->rights->commande->creer)
$lines[$i]->fk_remise_except,
'HT',
0,
$datestart,
$dateend,
$date_start,
$date_end,
$product_type,
$lines[$i]->rang,
$lines[$i]->special_code,