NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Devan on December 21, 2011, 03:53:25 PM
-
I've got a browse (a list of invoice items) working on an app, and I have use the 'Totaling' tab on the invoice values to give a nice total of customer invoices at the bottom of the browse.
Now, my client has requested that BEFORE the total amount, I place the text 'Total of all Current Invoices:' and AFTER the total amount, I place the text '(Inc. GST)'.
Any easy easy way to add text to the total line via the templates?
-
yes, there is.
there are 2 crucial facts to know, after that you can get creative.
a) A "total column" can span multiple browse columns. thus, say your amount column is column 4, then you can have a total (in column 1) which spans 3 columns, and thus gives you space to put whatever you want.
b) The _contents_ of the total column can vary. From the drop-down are the obvious, Sum, Average and Count, but there's also "Custom". And that does exactly what it implies. So if your total for column 1, spanned 3 columns, and was set to custom and the custom total was set to
'Total of all Current Invoices:'
then you're on your way.
Obviously you can repeat for column 5 to put stuff after the total. (Hopefully there is a column 5...)
Cheers
Bruce
-
Outstanding! Worked perfectly!
Scroo Ruby on Rails... in comparison and productivity, NetTalk kicks it's a** !!!