Record the outflow for your money. You can maintain the history for the money is being used. In the end of month you may print the expense sheet. You can also able to search any specific item in the list.
This is a basic version and in future it may be improved. I created for my personal use though but decided to make it public.
1.1
- [B] Same name items are excluded from the list during adding them same time.
2.0
- [B] php 8 fixes
- [B] bug fixes with error messages
2.1
- [B] Removed unwanted code.
2.2
- [B] Fixed PHP errors
- [B] Wrong active month showing on dashboard.
Fixed in 2.2,
Just installed 2.1 without entering any data.
At expensemanagement/dashboard I get
Undefined variable $febg" in file components/ExpenseManagement/plugins/default/expensemanagement/pages/dashboard.php (line 109)
at expensemanagement/view/04/2023 I get
Undefined variable $prices" in file components/ExpenseManagement/plugins/default/expensemanagement/pages/add.php (line 54)
2.1 have only change one line and it have nothing to do with that. and it only ossn_register_menu_item
if 2.0 works for you can continue using it.
The 2.1 version.
No result.
It only allows opening in February.
OSSN 6.6
Hi guys am new here, and today I added this component on my OSSN networks and worked fine but i think it could be best when it has both income and expenditure section... otherwise the component is good
Try version 2.0
Dear Shah ,,
This is not working..
TypeError: array_sum(): Argument #1 ($array) must be of type array, null given in /home/bindiain/public_html/components/ExpenseManagement/plugins/default/expensemanagement/pages/add.php:54
Stack trace:
#0 /home/bindiain/public_html/components/ExpenseManagement/plugins/default/expensemanagement/pages/add.php(54): array_sum(NULL)
#1 /home/bindiain/public_html/libraries/ossn.lib.views.php(27): include('/home/bindiain/...')
#2 /home/bindiain/public_html/libraries/ossn.lib.views.php(50): ossn_include('/home/bindiain/...', Array)
#3 /home/bindiain/public_html/libraries/ossn.lib.plugins.php(75): ossn_view('/home/bindiain/...', Array)
#4 /home/bindiain/public_html/components/ExpenseManagement/ossn_com.php(68): ossn_plugin_view('expensemanageme...', Array)
#5 /home/bindiain/public_html/libraries/ossn.lib.page.php(79): expensemanagement_page_handler(Array, 'expensemanageme...')
#6 /home/bindiain/public_html/index.php(22): ossn_load_page('expensemanageme...', Array)
#7 {main}
There is a typo on line 217 of dashboard.php. It is causing the month of February to stay highlighted, as the picture above shows.
<div class="expense-month<?php echo $febg;?>" data-year="<?php echo $year;?>" data-month='02'>
Needs to be changed to...
<div class="expense-month<?php echo $febf;?>" data-year="<?php echo $year;?>" data-month='02'>
This fixes the issue! This is in ExpenseManagement/plugins/default/expensemanagement/pages/dashboard.php
Ok thank you!
All core files this includes all OSSN files excluding themes and components in case you have not modified files outside components and themes.