* Remove 'supplier_invoice' from old path array
* Update module path in arrayforoldpath
Sorry Eldy, I was confused. You are absolutely right, it is already corrected.
* Replace localtax2 assignment with get_localtax function
Error when creating an invoice with personal income tax from project times. The rate does not apply
* Refactor localtax1 calculation using get_localtax
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Remove 'supplier_invoice' from old path array
* Update module path in arrayforoldpath
Sorry Eldy, I was confused. You are absolutely right, it is already corrected.
* Replace localtax2 assignment with get_localtax function
Error when creating an invoice with personal income tax from project times. The rate does not apply
* Refactor localtax1 calculation using get_localtax
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* FIX#36961 - not showing financial data related to task times
see detailed description in issue #36961
when users have minimal rights to just record their task times, they should not see the calculated hourly rates
* Minor change
* Update element.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* FIX#36960 - User can access some data (product price, invoice amount) without having the respective rights
See detailed description in issue #36960
Product price and invoice amount was shown to users without checking right to read.
* removed white space
* Minor change
to trigger checks again
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
On the tab Project/Time Spent there is a list of consumed time, spent on the tasks of the project. Each line is showing a pencil icon to allow a modification of the data.
In edit mode, the assigned task can get changed to a different task of the project. Upon saving the edits, this change is getting ignored, the old task is still assigned:
We need to update the fk_element referencing the task, but we also need to adjust the values for duration_effective of both affected tasks (old and new).
* Add condition to exclude unpaid invoices from profit
Only qualify paid invoices to profit calculation
* Fix condition to check invoice status instead of type
Fix condition to check invoice status instead of type.
FIX#36692 issue