Add debugging to saveAccountingEntries method
- Add debug log to track user parameter in saveAccountingEntries - Help identify where user parameter is getting lost in the chain
This commit is contained in:
parent
9afecbbac0
commit
2cb63406b9
@ -1212,6 +1212,8 @@ class DeclarationTVA
|
||||
*/
|
||||
private function saveAccountingEntries($entries, $declaration, $user)
|
||||
{
|
||||
error_log("DEBUG: saveAccountingEntries called with user: " . ($user ? "VALID" : "NULL"));
|
||||
|
||||
if (empty($entries)) {
|
||||
return true; // No entries to save
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user