Add debugging to declaration list query processing
- Added error_log to track each declaration being processed in the list - Shows declaration ID, status, and number for each row - Will help identify if declarations are being processed correctly - Should show what status each declaration has in the list query
This commit is contained in:
parent
6fe9141002
commit
db0432b502
@ -128,6 +128,8 @@ if (empty($declarations)) {
|
||||
print '</tr>';
|
||||
|
||||
foreach ($declarations as $d) {
|
||||
error_log("DeclarationTVA List Query Debug - Processing declaration ID: " . $d['rowid'] . ", Status: " . $d['status'] . ", Number: " . $d['declaration_number']);
|
||||
|
||||
print '<tr>';
|
||||
print '<td>' . $d['declaration_number'] . '</td>';
|
||||
print '<td class="center">' . dol_print_date($d['start_date'], 'day') . ' - ' . dol_print_date($d['end_date'], 'day') . '</td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user