}\r
\r
--@]\r
+[@--\r
+\r
+ my @location_summary_sections =\r
+ grep {\r
+ ref $_->{location}\r
+ && $_->{locationnum}\r
+ && $_->{description}\r
+ && $_->{description} ne $finance_section\r
+ } @sections;\r
+ if ( $multisection eq 'location' && scalar(@location_summary_sections) > 1 ) {\r
+\r
+$OUT .= '\r
+ \hline\r
+ \section*{}\r
+ \captionsetup{singlelinecheck=false,justification=raggedright,font={Large,sc,bf}}\r
+ \ifthenelse{\equal{\thepage}{1}}{\setlength{\LTextracouponspace}{\extracouponspace}}{\setlength{\LTextracouponspace}{0pt}}\r
+\r
+ \begin{longtable}{cllllllr}\r
+ \caption*{ '. emt('Summary of New Charges by Location') .' }\r
+ \\\\\r
+\r
+ \hline\r
+ \rule{0pt}{2.5ex}\r
+ \makebox[1.4cm]{} &\r
+ \multicolumn{6}{l}{\r
+ \truncate{13.0cm}{\textbf{'. emt('Location') .'}}\r
+ } &\r
+ \makebox[1.6cm][r]{\textbf{'. emt('Amount') .'}} \\\\\r
+ \hline\r
+\r
+ \endfirsthead\r
+ \multicolumn{7}{r}{\rule{0pt}{2.5ex}'. emt('Continued from previous page') .'}\r
+ \\\r
+ \FShead\r
+ \endhead\r
+ \multicolumn{7}{r}{\rule{0pt}{2.5ex}'. emt('Continued on next page...') .'}\r
+ \\\r
+ \endfoot\r
+ \hline\r
+ \endlastfoot\r
+ \hline\r
+ ';\r
+\r
+ for my $section (@location_summary_sections) {\r
+ $OUT.= '\r
+ \rule{0pt}{2.5ex}\r
+ \makebox[1.4cm]{} &\r
+ \multicolumn{6}{l}{\r
+ \truncate{12.0cm}{\textbf{'. $section->{description} .'}}\r
+ } &\r
+ \makebox[1.6cm][r]{\textbf{'. $section->{subtotal} .'}} \\\\\r
+ ';\r
+ }\r
+\r
+ $OUT .= '\end{longtable}';\r
+ }\r
+--@]\r
+\r
\vfill\r
\begin{minipage}[t]{\textwidth}\r
[@-- length($summary)\r