I made this a while ago and while it cold do with some improvement it works ok for now. Some things are coded to suit my own needs but it should act as a good basis for anyone wanting to keep some sort of record of your expenses.
It tracks 2 currencies British Pounds (GBP) and US Dollars (USD) as I have clients from both. It doesnt deal with Eroros but it would be simple to add
It basically allows you to record and list all your day to day expenses and then give you an idea of how your business is doing. Its not in anyway automated etc
First up create your new database table
DROP TABLE IF EXISTS `mod_expenses`;
CREATE TABLE `mod_expenses` (
`exp_id` int(10) NOT NULL auto_increment,
`exp_date` date default '0000-00-00',
`exp_supplier` varchar(75) default NULL,
`exp_desc` varchar(255) default NULL,
`exp_ref` varchar(25) default NULL,
`exp_pay_meth` varchar(75) default NULL,
`exp_resale` char(3) default 'No',
`exp_total_usd` decimal(10,2) default '0.00',
`exp_total_gbp` decimal(10,2) default '0.00',
PRIMARY KEY (`exp_id`),
KEY `exp_resale` (`exp_resale`)
) TYPE=MyISAM ;
expenses.php
drop this file into - /modules/admin/expenses
This creates a new addon module in your admin area so follow the utilities link in the header and then choose addon modules where youll then find the expenses link
tax_year_report.php
Drop this file in - /modules/reports
This next file is what I uses to get an idea of how things are looking for the tax year. Again this could do with quite a bit of work but its ok for now. One problem I had was getting it to work from april to april (Uk tax year) so hacked it to fit
WHMCS - Expenses & Tax Year Reports Addons.zip