diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php
index 00cf1ed14de4d..764e0a1dffdbd 100644
--- a/htdocs/commande/list.php
+++ b/htdocs/commande/list.php
@@ -369,14 +369,15 @@
}
- // Une fois fini :
+ $cmd->classifyBilled($user);
+
if(!empty($createbills_onebythird) && empty($TOrderTMP[$cmd->socid])) $TOrderTMP[$cmd->socid] = $object;
}
if (! $error)
{
$db->commit();
- setEventMessage($nb_bills_created.' factures créées');
+ setEventMessage($langs->trans('BillCreated', $nb_bills_created));
}
else
{
@@ -730,7 +731,7 @@
print '';
print '
';
print '';
- print $langs->trans('Créer une facture par tiers');
+ print $langs->trans('CreateOneBillByThird');
print ' | ';
print '';
print $form->selectyesno('createbills_onebythird', '', 1);
diff --git a/htdocs/langs/en_US/bills.lang b/htdocs/langs/en_US/bills.lang
index ce839d04eedb8..deee06e369069 100644
--- a/htdocs/langs/en_US/bills.lang
+++ b/htdocs/langs/en_US/bills.lang
@@ -482,4 +482,5 @@ ToCreateARecurringInvoiceGene=To generate future invoices regularly and manually
ToCreateARecurringInvoiceGeneAuto=If you need to have such invoices generated automatically, ask you administrator to enable and setup module %s. Note that both method (manual and automatic) can be used together with no risk of duplication.
DeleteRepeatableInvoice=Delete template invoice
ConfirmDeleteRepeatableInvoice=Are your sure you want to delete the template invoice ?
-
+CreateOneBillByThird=Create one bill by third
+BillCreated=%s bill(s) created
\ No newline at end of file
|