\begin{tabular}{ll} \begin{minipage}{6.4cm} \begin{tabular}{m{0cm}m{6.4cm}} \rule{0cm}{10cm}&\begin{minipage}{6cm}[@-- $notes --@]\end{minipage}\\ \end{tabular} \end{minipage} & \rule{2cm}{0cm} \begin{minipage}{12.8cm} \begin{tabular}{lr} \hline &\\ \textbf{\underline{Summary of Previous Balance}} & \\ &\\ \textbf{Previous Balance}&\textbf{\dollar[@-- sprintf('%.2f', $true_previous_balance) --@]}\\ &\\ \hline &\\ \textbf{\underline{Summary of New Charges}} & \\ &\\ [@-- foreach my $section (@summary_subtotals) { $OUT .= '\textbf{'. ($section->{'description'} ? $section->{'description'} : 'Charges' ). '}'; $OUT .= '&\textbf{'. $section->{'subtotal'}. '}\\\\'; } $OUT .= '\cline{2-2}'; --@] \textbf{New Charges Total}&\textbf{\dollar[@-- $current_less_finance --@]}\\ &\\ \hline &\\ \textbf{\underline{Invoice Summary}} & \\ & \\ \textbf{Previous Past Due Charges}&\textbf{\dollar[@-- sprintf('%.2f', $true_previous_balance) --@]}\\ \textbf{Finance charges on overdue amount}&\textbf{\dollar[@-- $finance_amount --@]}\\ \textbf{New Charges}&\textbf{\dollar[@-- $current_less_finance --@]}\\ [@-- if ( $balance_adjustments > 0 ) { $OUT .= '\textbf{Payments and Credits}&\textbf{-\dollar'.$balance_adjustments.'}\\\\' } --@] \cline{2-2} \textbf{Total Amount Due}&\textbf{\dollar[@-- sprintf('%.2f', $balance) --@]}\\ &\\ \hline \end{tabular} \end{minipage} \\ \end{tabular} \newpage