2 \begin{minipage}{6.4cm}
3 \begin{tabular}{m{0cm}m{6.4cm}}
4 \rule{0cm}{10cm}&\begin{minipage}{6cm}[@-- $notes --@]\end{minipage}\\
8 \begin{minipage}{12.8cm}
12 \textbf{\underline{Summary of Previous Balance and Payments}} & \\
14 \textbf{Previous Balance}&\textbf{\dollar[@-- $true_previous_balance --@]}\\
15 \textbf{Payments}&\textbf{\dollar[@-- $balance_adjustments --@]}\\
17 \textbf{Balance Outstanding}&\textbf{\dollar[@-- sprintf('%.2f', $true_previous_balance -$balance_adjustments) --@]}\\
21 \textbf{\underline{Summary of New Charges}} & \\
24 foreach my $section (@summary_subtotals) {
25 $OUT .= '\textbf{'. ($section->{'description'} ? $section->{'description'} : 'Charges' ). '}';
26 $OUT .= '&\textbf{'. $section->{'subtotal'}. '}\\\\';
28 $OUT .= '\cline{2-2}';
30 \textbf{New Charges Total}&\textbf{\dollar[@-- $current_less_finance --@]}\\
34 \textbf{\underline{Invoice Summary}} & \\
36 \textbf{Previous Past Due Charges}&\textbf{\dollar[@-- sprintf('%.2f', $true_previous_balance - $balance_adjustments) --@]}\\
37 \textbf{Finance charges on overdue amount}&\textbf{\dollar[@-- $finance_amount --@]}\\
38 \textbf{New Charges}&\textbf{\dollar[@-- $current_less_finance --@]}\\
41 #false laziness w/invoice_htmlsummary and above
42 foreach my $section ( grep $_->{adjust_section}, @sections ) {
43 $OUT .= '\textbf{'. ($section->{'description'} ? $section->{'description'} : 'Charges' ). '}';
44 $OUT .= '&\textbf{'. $section->{'subtotal'}. '}\\\\';
49 \textbf{Total Amount Due}&\textbf{\dollar[@-- sprintf('%.2f', $balance) --@]}\\