[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
1.2 Tex Invoice Payment Code
- Subject: 1.2 Tex Invoice Payment Code
- From: Luke <..hidden..>
- Date: Thu, 18 Mar 2010 21:01:10 -0400 (EDT)
If an invoice is posted unpaid, and is later paid via cash -> receipt,
should the invoice show payments?
I paid two invoices with a single receipt.
The PDF invoice indicates "paid", but where it would list the payments, it
has the table with no payment data.
The code is this:
invoice.tex: 168,180:
<?lsmb if paid_1 ?>
..hidden..@{}}
\textbf{Payments} & & & \\
\hline
\textbf{Date} & & \textbf{Source} & \textbf{Amount} \\
<?lsmb end paid_1 ?>
<?lsmb foreach payment ?>
<?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\
<?lsmb end payment ?>
<?lsmb if paid_1 ?>
\end{tabularx}
<?lsmb end paid_1 ?>