From 06187016fd78ba41fb82846b9e8d461405f316b6 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 7 Oct 2009 23:44:26 +0000 Subject: naming follow-up notices from the event rather than creting a slew of separate templates, RT#5217 --- conf/invoice_html | 2 +- conf/invoice_latex | 2 +- conf/invoice_template | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'conf') diff --git a/conf/invoice_html b/conf/invoice_html index 026bc8b6b..7ee0fdc19 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -42,7 +42,7 @@   - INVOICE + <%= $notice_name ? substr($notice_name, 0, 1) : 'I' %><%= $notice_name ? uc(substr($notice_name, 1)) : 'NVOICE' %>   diff --git a/conf/invoice_latex b/conf/invoice_latex index cf684ef75..42a9f93cf 100644 --- a/conf/invoice_latex +++ b/conf/invoice_latex @@ -127,7 +127,7 @@ Invoice date & Invoice \#& Customer\#\\ \vspace{0.2cm} \textbf{[@-- $date --@]} & \textbf{[@-- $invnum --@]} & \textbf{[@-- $custnum --@]} \\\hline - \rule{0pt}{5ex} &~~ \huge{\textsc{Invoice}} & \\ + \rule{0pt}{5ex} &~~ \huge{\textsc{[@-- $notice_name || 'Invoice' --@]}} & \\ \vspace{-0.2cm} & & \\\hline \end{tabular} diff --git a/conf/invoice_template b/conf/invoice_template index b33c4dda1..ebf8ef7d0 100644 --- a/conf/invoice_template +++ b/conf/invoice_template @@ -1,5 +1,5 @@ - Invoice + { $notice_name || 'Invoice'; } { substr("Page $page of $total_pages ", 0, 19); } { use Date::Format; time2str("%x", $date); } Invoice #{ $invnum; } -- cgit v1.2.1