Refactor invoice creation in webhooks to include accounthierarchy field. Update SQL statements in both PayPal and Mollie webhooks for consistency.

This commit is contained in:
“VeLiTi”
2026-01-30 15:44:04 +01:00
parent 9d33b37b8b
commit 0bec809940
10 changed files with 39 additions and 21 deletions

View File

@@ -2127,7 +2127,7 @@ function serviceEvents ($messages,$page){
$service_status = '<span class="status warranty">'.$service_report_outcome_good.'</span>';
}
$view_data .= '<tr onclick="window.location.href=\'index.php?page=servicereport&equipmentID='.$message->equipmentID.'&historyID='.$message->historyID.'\'" style="cursor: pointer;">
$view_data .= '<tr onclick="window.location.href=\'index.php?page=servicereport&historyID='.$message->historyID.'\'" style="cursor: pointer;">
<td>'.$TETS->serialnumber.'</td>
<td>'.$service_date.'</td>
<td>'.$service_renewal_date.'</td>