Merge pull request #1029 from marcosgdf/minor
Removed debug message and wrong translation key
This commit is contained in:
commit
7e8df8df72
@ -54,8 +54,8 @@ $endyear=$year;
|
||||
* View
|
||||
*/
|
||||
|
||||
$langs->load("bills");
|
||||
$langs->load("companies");
|
||||
$langs->load("bills");
|
||||
$langs->load("companies");
|
||||
|
||||
$form=new Form($db);
|
||||
|
||||
@ -233,7 +233,7 @@ print '<div class="fichecenter"><div class="fichethirdleft">';
|
||||
print $form->select_company($socid,'socid',$filter,1);
|
||||
print '</td></tr>';
|
||||
// User
|
||||
print '<tr><td>'.$langs->trans("CreatedBy").'</td><td>';
|
||||
print '<tr><td>'.$langs->trans("Author").'</td><td>';
|
||||
print $form->select_users($userid,'userid',1);
|
||||
print '</td></tr>';
|
||||
// Year
|
||||
|
||||
@ -72,7 +72,6 @@ $cancel <> $langs->trans("Cancel") &&
|
||||
$error=0;
|
||||
for($i=0;$i<$_POST["max_prod"];$i++)
|
||||
{
|
||||
print "<br> : ".$_POST["prod_id_chk".$i];
|
||||
if ($_POST["prod_id_chk".$i] > 0)
|
||||
{
|
||||
if($product->add_sousproduit($id, $_POST["prod_id_".$i],$_POST["prod_qty_".$i]) > 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user