Expense Management Download 2.2

This component/theme works with latest OSSN version.
5.0
Indonesian Arsalan Shah 4 years ago

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.

  • You may add/remove items from current month, year.
  • You can not change future months or year sheet.

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.

Sheet view Page

Sheet dashboard view

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.

Comments
Indonesian Arsalan Shah Replied 11 months ago

Fixed in 2.2,

German Michael Zülsdorff Replied 11 months ago

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)
Indonesian Arsalan Shah Replied 11 months ago

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.

Hungarian Tamás Varga Replied 11 months ago

The 2.1 version.

No result.
enter image description here

It only allows opening in February.
enter image description here

OSSN 6.6

Uigur Mpata ashiraf Replied 11 months ago

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

Indonesian Arsalan Shah Replied 2 years ago

Try version 2.0

in Santhosh kumar Replied 2 years ago

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}
us Allon Prooit Replied 3 years ago

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

us Mary Greg Replied 4 years ago

Ok thank you!

Indonesian Arsalan Shah Replied 4 years ago

All core files this includes all OSSN files excluding themes and components in case you have not modified files outside components and themes.

Component

Developer: Arsalan
License ossnv3
Type: Tools
Requires Ossn Version : 5.2
Latest Version: 2.2
Last Updated 11 months ago
Repository Url View Repository

Versions