Skip to content

Commit

Permalink
Fix: Missing date start and end when creating contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 28, 2014
1 parent 0f32354 commit 1ec5387
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions htdocs/contrat/fiche.php
Expand Up @@ -241,8 +241,8 @@
for ($i=0;$i<$num;$i++)
{
$product_type=($lines[$i]->product_type?$lines[$i]->product_type:0);

if ($product_type == 1) { //only services
if ($product_type == 1) { //only services // TODO Exclude also deee
// service prédéfini
if ($lines[$i]->fk_product > 0)
{
Expand Down Expand Up @@ -286,8 +286,8 @@
$lines[$i]->localtax2_tx,
$lines[$i]->fk_product,
$lines[$i]->remise_percent,
$date_start =0,
$date_end =0,
$lines[$i]->date_start,
$lines[$i]->date_end,
'HT',
0,
$lines[$i]->info_bits,
Expand All @@ -303,7 +303,6 @@

}
}

}
else
{
Expand Down

0 comments on commit 1ec5387

Please sign in to comment.