I am using phprunner 6.0. I have two tables for accounting purpose.
one is expense. the db structure is
-expense_amount $
-invoice_date (format : yyyy-mm-dd)
other is income. the db structure is
-income_amount $
-invoice_date (format : yyyy-mm-dd)
I want to calculate the profit over period. report will show :
Year 2010
total expense : $xxxx (sum of expense_amount for period of 2010)
total income : $xxxxx (sum of invoice_amount for period of 2010)
net profit : $xxxx (calculated by total income - total expense)
Year 2011
total expense : $xxxx
total income : $xxxxx
net profit : $xxxx
How can I use your report function ?