diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index a27f13cbb77..95ddde4719f 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -2329,6 +2329,15 @@ if ($action == 'create') } } + // Template invoice + print '
'; + $tmp=' '; + $text = $tmp.$langs->trans("RepeatableInvoice") . ' '; + //$text.= '('.$langs->trans("YouMustCreateStandardInvoiceFirst").') '; + $desc = $form->textwithpicto($text, $langs->transnoentities("YouMustCreateStandardInvoiceFirstDesc"), 1, 'help', '', 0, 3); + print $desc; + print '
'; + print ''; print ''; diff --git a/htdocs/compta/facture/fiche-rec.php b/htdocs/compta/facture/fiche-rec.php index 275724d3012..7f4c5282098 100644 --- a/htdocs/compta/facture/fiche-rec.php +++ b/htdocs/compta/facture/fiche-rec.php @@ -1089,7 +1089,7 @@ else $i++; } } - else print ''.$langs->trans("NoneF").''; + else print ''.$langs->trans("NoneF").''; print ""; $db->free($resql); diff --git a/htdocs/langs/en_US/bills.lang b/htdocs/langs/en_US/bills.lang index 04b7a6ecb33..7b6604dce51 100644 --- a/htdocs/langs/en_US/bills.lang +++ b/htdocs/langs/en_US/bills.lang @@ -433,6 +433,7 @@ ListOfYourUnpaidInvoices=List of unpaid invoices NoteListOfYourUnpaidInvoices=Note: This list contains only invoices for third parties you are linked to as a sale representative. RevenueStamp=Revenue stamp YouMustCreateInvoiceFromThird=This option is only available when creating invoice from tab "customer" of thirdparty +YouMustCreateStandardInvoiceFirstDesc=You have to create a standard invoice first and convert it to "template" to create a new template invoice PDFCrabeDescription=Invoice PDF template Crabe. A complete invoice template (recommended Template) PDFCrevetteDescription=Invoice PDF template Crevette. A complete invoice template for invoice situation TerreNumRefModelDesc1=Return number with format %syymm-nnnn for standard invoices and %syymm-nnnn for credit notes where yy is year, mm is month and nnnn is a sequence with no break and no return to 0