diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php
index ec12242b4e4..2fcdfb7f6a0 100644
--- a/htdocs/compta/facture.php
+++ b/htdocs/compta/facture.php
@@ -1999,6 +1999,18 @@ if ($action == 'create')
}
+ if ($origin == 'contrat')
+ {
+ $langs->load("admin");
+ $text=$langs->trans("ToCreateARecurringInvoice");
+ $text.=' '.$langs->trans("ToCreateARecurringInvoiceGene", $langs->transnoentitiesnoconv("MenuFinancial"), $langs->transnoentitiesnoconv("BillsCustomers"), $langs->transnoentitiesnoconv("ListOfTemplates"));
+ if (empty($conf->global->INVOICE_DISABLE_AUTOMATIC_RECURRING_INVOICE))
+ {
+ $text.=' '.$langs->trans("ToCreateARecurringInvoiceGeneAuto", $langs->transnoentitiesnoconv('Module2300Name'));
+ }
+ print info_admin($text, 0, 0, 0).'
';
+ }
+
print '