Fix: manquait des valeurs l'appel de addligne
This commit is contained in:
parent
9715f84e1f
commit
10b17e02c2
@ -536,7 +536,7 @@ elseif ($_GET["id"] > 0)
|
||||
print '</td></tr></table>';
|
||||
print '<td>';
|
||||
print $langs->trans("NoProject").' ';
|
||||
if ($fichinter->brouillon) print '<a href=../projet/fiche.php?socid='.$societe->id.'&action=create>'.$langs->trans('AddProject').'</a>';
|
||||
if ($fichinter->brouillon) print '<a class="butAction" href=../projet/fiche.php?socid='.$societe->id.'&action=create>'.$langs->trans('AddProject').'</a>';
|
||||
print '</td>';
|
||||
}
|
||||
else
|
||||
|
||||
@ -409,6 +409,8 @@ if ($_POST["action"] == 'addincommande')
|
||||
$tva_tx,
|
||||
$prod->id,
|
||||
$_POST["remise_percent"],
|
||||
'',
|
||||
'', //Todo: voir si fk_remise_except est encore valable car n'apparait plus dans les propales
|
||||
$price_base_type,
|
||||
$pu_ttc
|
||||
);
|
||||
@ -487,6 +489,10 @@ if ($_POST["action"] == 'addinfacture' && $user->rights->facture->creer)
|
||||
$tva_tx,
|
||||
$prod->id,
|
||||
$_POST["remise_percent"],
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
$price_base_type,
|
||||
$pu_ttc
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user