[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A place for line-item notes on the invoice?



On Tue, 13 May 2008 07:14:29 -0400, Luke wrote:
> <?lsmb itemnotes ?>

I'd like to have the 'itemnotes' list just above the 'notes' field,
instead of the item rows. Some of my item notes are quite lengthy and must
word-wrap like the notes field does.

What's the tex syntax for a simple numbered repeating paragaph sequence

<?lsmb foreach number ?>
  <?lsmb runningnumber ?> & <?lsmb itemnotes ?> \\
<?lsmb end number ?>

e.g:

  1) Notes for line item 1

  2) Notes for line item 2


  \hfill
  ..hidden..@{}}
    & Subtotal & <?lsmb subtotal ?> \\
  <?lsmb foreach tax ?>
    & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?> \\
  <?lsmb end tax ?>
  <?lsmb if paid ?>
    & Paid & - <?lsmb paid ?> \\
  <?lsmb end paid ?>
    \hline
  <?lsmb if total ?>
    & Balance Due & <?lsmb total ?>
  <?lsmb end total ?>
  \end{tabularx}
  
  \vspace{0.3cm}
  
  <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100
  \hfill
  All prices in \textbf{<?lsmb currency ?>}.
  
  \vspace{12pt}
  
  <?lsmb foreach number ?>
    <?lsmb runningnumber ?> & <?lsmb itemnotes ?> \\
  <?lsmb end number ?>
  )
  
  \vspace{12pt}
  
  <?lsmb notes ?>
  }
  
  \vfill

Thanks,
Jeff