From: Dieter S. <dsi...@sq...> - 2001-03-01 23:56:51
|
edit is.cgi, at line 792 add push(@{ $form->{runningnumber} }, $i); in your invoice.html template add a description in the header block and include the new field in the <%foreach number%> loop header ------ <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> loop ------- <%foreach number%> <tr valign=top> <td><%runningnumber%></td> <td><%number%></td> As for displaying the part number or not. I'd suggest you include the part number in your description and remove the <%number%> label from the invoice form. Dieter Simader http://www.sql-ledger.org (780) 472-8161 DWS Systems Inc. Accounting Software Fax: 478-5281 =========== On a clear disk you can seek forever =========== On Thu, 1 Mar 2001, Roderick A. Anderson wrote: > At long last I'm REALLY using SQL-Ledger and getting to like it a lot. > Where is used to work there was Quickbooks for a short while and the > Peachtree. Man what a pain. > > But on to my want/need/desire! (Isn't that what this list is about? :-) > > I'd like to have a line number generated in the invoice instead of/in > addition to the part/service number. Is there a predefined variable for > this? Also is there some conditional capability available in the > templates? I mostly do service work so the customer isn't interested in > the service number (I usually itemize by day and type work) but if I sell > parts I'd like to put the part number in the description field but not if > it's a service. I already have to edit each description so thi isn't a > REAL serious need line the line number is. > > > TIA, > Rod > |