Can anyone duplicate this?
I created an invoice, and applied partial payment to it before posting,
and printed to PDF before posting.
I assume it happens in other circumstances, but that is how I noticed it.
The following code in an invoice template, is only printing the table
headings; no actual information.
\begin{tabularx}{10cm}{@{}lXlr@{}}
\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 ?>
Changing "paymentdate" to "datepaid" (as in the code used for receipts),
has no effect
Note. In the above, the line of variables is all on a single line,
whether or not this email breaks it. Interestingly, I accidentally broke
the line of variables, so it looked like this, during one of my test
attempts:
<?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb
paymentsource ?> & <?lsmb payment ?> \\
When that happened, I actually got the date, the account, and the amount
of the partial payment. Where the source should have been, was a unicode
<,and "?lsmb paymentsource ?", followed by a unicode representation of a
>.
Luke
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Ledger-smb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel