anglicized

This commit is contained in:
philippe 2014-02-27 09:42:00 +01:00
parent 60efe5734f
commit 4a6fab2b00

View File

@ -32,7 +32,7 @@ $langs->load("admin");
$langs->load("members"); $langs->load("members");
$langs->load("errors"); $langs->load("errors");
// Choix de l'annee d'impression ou annee courante. // Choice of print year or current year.
$now = dol_now(); $now = dol_now();
$year=dol_print_date($now,'%Y'); $year=dol_print_date($now,'%Y');
$month=dol_print_date($now,'%m'); $month=dol_print_date($now,'%m');
@ -57,7 +57,7 @@ $thirdpartytmp=new Societe($db);
if (GETPOST('submitproduct') && GETPOST('submitproduct')) if (GETPOST('submitproduct') && GETPOST('submitproduct'))
{ {
$action=''; // We reset because we dont want to build doc $action=''; // We reset because we don't want to build doc
if (GETPOST('productid') > 0) if (GETPOST('productid') > 0)
{ {
$producttmp->fetch(GETPOST('productid')); $producttmp->fetch(GETPOST('productid'));
@ -74,7 +74,7 @@ if (GETPOST('submitproduct') && GETPOST('submitproduct'))
} }
if (GETPOST('submitthirdparty') && GETPOST('submitthirdparty')) if (GETPOST('submitthirdparty') && GETPOST('submitthirdparty'))
{ {
$action=''; // We reset because we dont want to build doc $action=''; // We reset because we don't want to build doc
if (GETPOST('socid') > 0) if (GETPOST('socid') > 0)
{ {
$thirdpartytmp->fetch(GETPOST('socid')); $thirdpartytmp->fetch(GETPOST('socid'));