Fix: Creation of social contribution

This commit is contained in:
Laurent Destailleur 2008-06-09 20:14:47 +00:00
parent 3502975687
commit f6dcd65078

View File

@ -112,7 +112,7 @@ if ($_POST["action"] == 'add' && $user->rights->tax->charges->creer)
{ {
$chargesociales=new ChargeSociales($db); $chargesociales=new ChargeSociales($db);
$chargesociales->type=$_POST["type"]; $chargesociales->type=$_POST["actioncode"];
$chargesociales->lib=$_POST["label"]; $chargesociales->lib=$_POST["label"];
$chargesociales->date_ech=$dateech; $chargesociales->date_ech=$dateech;
$chargesociales->periode=$_POST["period"]; $chargesociales->periode=$_POST["period"];