Skip to content
Snippets Groups Projects
Commit 1fd1436c authored by Regis Houssin's avatar Regis Houssin
Browse files

Ajout traduction

parent 86451e86
Branches
Tags
No related merge requests found
...@@ -47,6 +47,8 @@ if (!$user->rights->facture->lire) ...@@ -47,6 +47,8 @@ if (!$user->rights->facture->lire)
accessforbidden(); accessforbidden();
$langs->load('bills'); $langs->load('bills');
$langs->load('products');
$langs->load('main');
$sall=isset($_GET['sall'])?$_GET['sall']:$_POST['sall']; $sall=isset($_GET['sall'])?$_GET['sall']:$_POST['sall'];
if (isset($_GET['msg'])) { $msg=urldecode($_GET['msg']); } if (isset($_GET['msg'])) { $msg=urldecode($_GET['msg']); }
...@@ -1491,9 +1493,9 @@ else ...@@ -1491,9 +1493,9 @@ else
if ($conf->service->enabled) if ($conf->service->enabled)
{ {
print '<tr '.$bc[$var].'>'; print '<tr '.$bc[$var].'>';
print '<td colspan="9">Si produit de type service dure limite: Du '; print '<td colspan="9">'.$langs->trans('ServiceLimitedDuration').' '.$langs->trans('From').' ';
print $html->select_date($objp->date_start,'date_start',0,0,$objp->date_start?0:1); print $html->select_date($objp->date_start,'date_start',0,0,$objp->date_start?0:1);
print ' au '; print ' '.$langs->trans('to').' ';
print $html->select_date($objp->date_end,'date_end',0,0,$objp->date_end?0:1); print $html->select_date($objp->date_end,'date_end',0,0,$objp->date_end?0:1);
print '</td>'; print '</td>';
print '</tr>'; print '</tr>';
...@@ -1549,9 +1551,9 @@ else ...@@ -1549,9 +1551,9 @@ else
if ($conf->service->enabled) if ($conf->service->enabled)
{ {
print '<tr '.$bc[$var].'>'; print '<tr '.$bc[$var].'>';
print '<td colspan="9">Si produit de type service dure limite: Du '; print '<td colspan="9">'.$langs->trans('ServiceLimitedDuration').' '.$langs->trans('From').' ';
print $html->select_date('','date_start',0,0,1); print $html->select_date('','date_start',0,0,1);
print ' au '; print ' '.$langs->trans('to').' ';
print $html->select_date('','date_end',0,0,1); print $html->select_date('','date_end',0,0,1);
print '</td>'; print '</td>';
print '</tr>'; print '</tr>';
...@@ -1579,9 +1581,9 @@ else ...@@ -1579,9 +1581,9 @@ else
if ($conf->service->enabled) if ($conf->service->enabled)
{ {
print '<tr '.$bc[$var].'>'; print '<tr '.$bc[$var].'>';
print '<td colspan="5">Si produit de type service dure limite: Du '; print '<td colspan="5">'.$langs->trans('ServiceLimitedDuration').' '.$langs->trans('From').' ';
print $html->select_date('','date_start',0,0,1); print $html->select_date('','date_start',0,0,1);
print ' au '; print ' '.$langs->trans('to').' ';
print $html->select_date('','date_end',0,0,1); print $html->select_date('','date_end',0,0,1);
print '</td>'; print '</td>';
print '</tr>'; print '</tr>';
......
...@@ -67,3 +67,4 @@ Pack=Pack ...@@ -67,3 +67,4 @@ Pack=Pack
Packs=Packs Packs=Packs
NoteNotVisibleOnBill=Note (not visible on invoices, proposals...) NoteNotVisibleOnBill=Note (not visible on invoices, proposals...)
CreateCopy=Create copy CreateCopy=Create copy
ServiceLimitedDuration=If produced of service type at limited duration:
\ No newline at end of file
...@@ -80,3 +80,4 @@ Pack=Lot ...@@ -80,3 +80,4 @@ Pack=Lot
Packs=Lots Packs=Lots
NoteNotVisibleOnBill=Note (non visible sur les factures, propals...) NoteNotVisibleOnBill=Note (non visible sur les factures, propals...)
CreateCopy=Créer copie CreateCopy=Créer copie
ServiceLimitedDuration=Si produit de type service à durée limitée :
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment