Add missing info for proper use and creation of template invoice (clients and vendors) (#26475)

* Add missing info for proper use and creation of template invoice

* Add missing info for proper use and creation of template invoice

* fix trans of generated invoice
This commit is contained in:
sonikf 2023-11-07 19:18:06 +02:00 committed by GitHub
parent 8acc47220d
commit edac1bb6cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View File

@ -1096,6 +1096,8 @@ if ($action == 'create') {
$title = $langs->trans("Recurrence");
print load_fiche_titre(img_picto('', 'recurring', 'class="pictofixedwidth"').$title, '', '');
print '<span class="opacitymedium">'.$langs->trans("ToCreateARecurringInvoiceGeneAuto", $langs->transnoentitiesnoconv('Module2300Name')).'</span><br><br>';
print dol_get_fiche_head(null, '', '', 0);
print '<table class="border centpercent">';
@ -1118,7 +1120,7 @@ if ($action == 'create') {
print "</td></tr>";
// Auto validate the invoice
print "<tr><td>".$langs->trans("StatusOfGeneratedInvoices")."</td><td>";
print "<tr><td>".$langs->trans("StatusOfAutoGeneratedInvoices")."</td><td>";
$select = array('0'=>$langs->trans('BillStatusDraft'), '1'=>$langs->trans('BillStatusValidated'));
print $form->selectarray('auto_validate', $select, GETPOST('auto_validate'));
print "</td></tr>";

View File

@ -1025,6 +1025,8 @@ if ($action == 'create') {
$title = $langs->trans("Recurrence");
print load_fiche_titre(img_picto('', 'recurring', 'class="pictofixedwidth"') . $title, '', '');
print '<span class="opacitymedium">'.$langs->trans("ToCreateARecurringInvoiceGeneAuto", $langs->transnoentitiesnoconv('Module2300Name')).'</span><br><br>';
print dol_get_fiche_head(null, '', '', 0);
print '<table class="border centpercent">';
@ -1053,7 +1055,7 @@ if ($action == 'create') {
// Auto generate document
if (!empty($conf->global->INVOICE_REC_CAN_DISABLE_DOCUMENT_FILE_GENERATION)) {
print "<tr><td>" . $langs->trans("StatusOfGeneratedDocuments") . "</td><td>";
print "<tr><td>" . $langs->trans("StatusOfAutoGeneratedDocuments") . "</td><td>";
$select = array('0' => $langs->trans('DoNotGenerateDoc'), '1' => $langs->trans('AutoGenerateDoc'));
print $form->selectarray('generate_pdf', $select, GETPOST('generate_pdf'));
print "</td></tr>";

View File

@ -124,7 +124,7 @@ EnterPaymentDueToCustomer=Make payment due to customer
DisabledBecauseRemainderToPayIsZero=Disabled because remaining unpaid is zero
PriceBase=Base price
BillStatus=Invoice status
StatusOfGeneratedInvoices=Status of generated invoices
StatusOfAutoGeneratedInvoices=Status of automatically generated invoices
BillStatusDraft=Draft (needs to be validated)
BillStatusPaid=Paid
BillStatusPaidBackOrConverted=Credit note refund or marked as credit available
@ -642,4 +642,4 @@ MentionCategoryOfOperations0=Delivery of goods
MentionCategoryOfOperations1=Provision of services
MentionCategoryOfOperations2=Mixed - Delivery of goods & provision of services
Salaries=Salaries
InvoiceSubtype=Invoice Subtype
InvoiceSubtype=Invoice Subtype