diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-01-18 15:13:28 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-01-18 15:13:28 -0800 |
commit | 0b6bd6405107c1abf8f2c5e2bc1b569870a02309 (patch) | |
tree | 45b7249057e5b24768e62413a706b87a8de7b7de /conf | |
parent | f5a77514d6816225b378ced1d598ba745d0c22b4 (diff) |
remove Ref field from quotations and invoices, RT#22232
Diffstat (limited to 'conf')
-rw-r--r-- | conf/invoice_html | 8 | ||||
-rw-r--r-- | conf/invoice_latex | 4 | ||||
-rw-r--r-- | conf/quotation_html | 4 | ||||
-rw-r--r-- | conf/quotation_latex | 4 |
4 files changed, 10 insertions, 10 deletions
diff --git a/conf/invoice_html b/conf/invoice_html index ae17da3db..e9b0bdf95 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -143,7 +143,7 @@ $OUT .= $header; $columncount = scalar(my @array = split /<\/th><th/i, $header); } else { - $OUT .= '<th align="center">' . emt('Ref') . '</th>'. + $OUT .= '<th align="center"></th>'. '<th align="left">' . emt('Description') . '</th>'. ( $unitprices ? '<th align="right">' . emt('Unit Price') . '</th>'. @@ -172,9 +172,9 @@ } $OUT .= '<tr class="'.$class.'"> <td align="center">'; - if ( $line->{'ref'} ne $lastref ) { - $OUT .= $line->{'ref'}; - } + #if ( $line->{'ref'} ne $lastref ) { + # $OUT .= $line->{'ref'}; + #} $OUT .= '</td> <td align="left">'. $line->{'description'}. '</td>'; if ( $unitprices ) { diff --git a/conf/invoice_latex b/conf/invoice_latex index 99d12d5c7..822afcbdd 100644 --- a/conf/invoice_latex +++ b/conf/invoice_latex @@ -176,7 +176,7 @@ \newcommand{\FShead}{
\hline
\rule{0pt}{2.5ex}
- \makebox[1.4cm]{\textbf{Ref}} &
+ \makebox[1.4cm]{} &
\multicolumn{\FSdescriptioncolumncount}{l}{\makebox[\FSdescriptionlength][l]{\textbf{[@-- emt('Description') --@]}}}&
\FSunitcolumns
\makebox[1.6cm][r]{\textbf{[@-- emt('Amount') --@]}} \\
@@ -332,7 +332,7 @@ $OUT .= &{$section->{description_generator}}($line);
} else {
$OUT .= '\FSdesc'.
- '{' . ( $line->{'ref'} ne $lastref ? $line->{'ref'} : '' ) . '}'.
+ '{}'. #'{' . ( $line->{'ref'} ne $lastref ? $line->{'ref'} : '' ) . '}'.
'{' . $line->{'description'} . '}' ;
if ( $unitprices and length($line->{'unit_amount'}) ) {
# then show the unit amount and quantity
diff --git a/conf/quotation_html b/conf/quotation_html index 7d6920533..a05bb60b8 100644 --- a/conf/quotation_html +++ b/conf/quotation_html @@ -129,7 +129,7 @@ $OUT .= $header; $columncount = scalar(my @array = split /<\/th><th/i, $header); } else { - $OUT .= '<th align="center">' . emt('Ref') . '</th>'. + $OUT .= '<th align="center"></th>'. '<th align="left">' . emt('Description') . '</th>'. ( $unitprices ? '<th align="left">' . emt('Unit Price') . '</th>'. @@ -156,7 +156,7 @@ '">'. '<td align="center">'. ( $line->{'ref'} ne $lastref - ? $line->{'preref_html'}. $line->{'ref'} + ? $line->{'preref_html'} #. $line->{'ref'} : '' ). '</td>'. diff --git a/conf/quotation_latex b/conf/quotation_latex index d56a7fbdc..7ebc38d75 100644 --- a/conf/quotation_latex +++ b/conf/quotation_latex @@ -171,7 +171,7 @@ \newcommand{\FShead}{
\hline
\rule{0pt}{2.5ex}
- \makebox[1.4cm]{\textbf{Ref}} &
+ \makebox[1.4cm]{} &
\multicolumn{\FSdescriptioncolumncount}{l}{\makebox[\FSdescriptionlength][l]{\textbf{[@-- emt('Description') --@]}}}&
\FSunitcolumns
\makebox[1.6cm][r]{\textbf{[@-- emt('Amount') --@]}} \\
@@ -313,7 +313,7 @@ $OUT .= &{$section->{description_generator}}($line);
} else {
$OUT .= '\FSdesc'.
- '{' . ( $line->{'ref'} ne $lastref ? $line->{'ref'} : '' ) . '}'.
+ '{}'. #'{' . ( $line->{'ref'} ne $lastref ? $line->{'ref'} : '' ) . '}'.
'{' . $line->{'description'} . '}' .
'{' . ( $unitprices ? $line->{'unit_amount'} : '' ) . '}'.
'{' . ( $unitprices ? $line->{'quantity'} : '' ) . '}' .
|