diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index cf0e6f48caf062875a5c8fb2a1a409905eb64c26..97e30cacf5cf14f0dc46ac06fb9f88070b2ae69b 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -47,6 +47,8 @@ if (!$user->rights->facture->lire) accessforbidden(); $langs->load('bills'); +$langs->load('products'); +$langs->load('main'); $sall=isset($_GET['sall'])?$_GET['sall']:$_POST['sall']; if (isset($_GET['msg'])) { $msg=urldecode($_GET['msg']); } @@ -1491,9 +1493,9 @@ else if ($conf->service->enabled) { print '<tr '.$bc[$var].'>'; - print '<td colspan="9">Si produit de type service � dur�e limit�e: 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 ' au '; + print ' '.$langs->trans('to').' '; print $html->select_date($objp->date_end,'date_end',0,0,$objp->date_end?0:1); print '</td>'; print '</tr>'; @@ -1549,9 +1551,9 @@ else if ($conf->service->enabled) { print '<tr '.$bc[$var].'>'; - print '<td colspan="9">Si produit de type service � dur�e limit�e: Du '; + print '<td colspan="9">'.$langs->trans('ServiceLimitedDuration').' '.$langs->trans('From').' '; 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 '</td>'; print '</tr>'; @@ -1579,9 +1581,9 @@ else if ($conf->service->enabled) { print '<tr '.$bc[$var].'>'; - print '<td colspan="5">Si produit de type service � dur�e limit�e: Du '; + print '<td colspan="5">'.$langs->trans('ServiceLimitedDuration').' '.$langs->trans('From').' '; 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 '</td>'; print '</tr>'; diff --git a/htdocs/langs/en_US/products.lang b/htdocs/langs/en_US/products.lang index 3db60d0fa17d44836ed120d8d4c060083415c50a..b0851e22b52bc7f7f2b70625f40b79e1c0a4cc69 100644 --- a/htdocs/langs/en_US/products.lang +++ b/htdocs/langs/en_US/products.lang @@ -66,4 +66,5 @@ BarCode=Barcode Pack=Pack Packs=Packs NoteNotVisibleOnBill=Note (not visible on invoices, proposals...) -CreateCopy=Create copy \ No newline at end of file +CreateCopy=Create copy +ServiceLimitedDuration=If produced of service type at limited duration: \ No newline at end of file diff --git a/htdocs/langs/fr_FR/products.lang b/htdocs/langs/fr_FR/products.lang index 97a385304dcba3a75ece3724b8a350659dafc3b1..681772a67ef0b027d3eceb50390c36f961606ba3 100644 --- a/htdocs/langs/fr_FR/products.lang +++ b/htdocs/langs/fr_FR/products.lang @@ -79,4 +79,5 @@ BarCode=Code barre Pack=Lot Packs=Lots NoteNotVisibleOnBill=Note (non visible sur les factures, propals...) -CreateCopy=Cr�er copie \ No newline at end of file +CreateCopy=Cr�er copie +ServiceLimitedDuration=Si produit de type service � dur�e limit�e : \ No newline at end of file