Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.53k stars 2.81k forks source link

Bug: Paiement des salaires #25749

Closed fpav closed 2 months ago

fpav commented 1 year ago

Instructions

This is a template to help you report good issues. You may use Github Markdown syntax to format your issue report. Please:

Bug

When salary payment is done, there is errors in the payment section for line 300, 301, 302. This bug does not prevent operation to be done and stored. and undefined property for salary on page 163

Warning: Undefined property: Salary::$paiementtype in /home/clients/75b383e1e32cfcb0a1b615c70a4bac17/erp/salaries/paiement_salary.php on line 163

Warning: Undefined property: Salary::$total in /home/clients/75b383e1e32cfcb0a1b615c70a4bac17/erp/salaries/paiement_salary.php on line 300 Warning: Undefined variable $total_ttc in /home/clients/75b383e1e32cfcb0a1b615c70a4bac17/erp/salaries/paiement_salary.php on line 301 Warning: Undefined property: Salary::$am in /home/clients/75b383e1e32cfcb0a1b615c70a4bac17/erp/salaries/paiement_salary.php on line 302

Environment

Expected and actual behavior

SUpposed to have no errors as it was before in version 17.0.1

Steps to reproduce the behavior

Perform payment of salary, it is displayed on the payment page.

Attached files (Screenshots, screencasts, dolibarr.log, debugging informations…)

[Files]

Report

2023-08-31_11-10-06

fpav commented 1 year ago

SOlved problem if PHP version is downscaled to 7.4 so please tell me when you think that 18.0.0 will be fully compliant with 8.0 version of PHP as 7.4 will not be maintained

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 1 year with no activity. If this is a bug, please comment to confirm it is still present on latest stable version. if this is a feature request, please comment to notify the request is still relevant and not yet covered by latest stable version. This issue may be closed automatically by stale bot in 10 days (you should still be able to re-open it if required).