Refactor API endpoints and update invoice generation
- Updated API calls in equipment.php, equipment_manage.php, and equipments_mass_update.php to use v2 endpoints. - Changed payload decoding from decode_payload to json_decode for consistency. - Enhanced invoice generation in factuur.php and webhook files to use a new email template and PDF structure. - Added new email and PDF templates for invoices to improve formatting and readability. - Improved marketing folder handling in marketing.php with better payload management. - Updated CSS for marketing to enhance UI interactions. - Added JavaScript checks for browser compatibility in softwaretool.php. - Adjusted user permissions in settingsprofiles.php to reflect new features.
This commit is contained in:
@@ -269,10 +269,10 @@ $view .= '
|
||||
<td>'.$response->license_key.'</td>
|
||||
<td>'.$response->version_name.'</td>
|
||||
<td>'.$status_text.'</td>
|
||||
<td>'.($response->transaction_id ?? '-').'</td>
|
||||
<td>'.(isset($response->transaction_id) && strpos($response->transaction_id, 'SC') === 0 ? '<a href="index.php?page=order&txn_id='.$response->transaction_id.'" class="link-with-icon">'.$response->transaction_id.' <i class="fa-solid fa-up-right-from-square"></i></a>' : ($response->transaction_id ?? '-')).'</td>
|
||||
<td>'.$starts_display.'</td>
|
||||
<td>'.$expires_display.'</td>
|
||||
<td>'.($response->assigned_serial ?? '-').'</td>
|
||||
<td>'.(isset($response->assigned_serial) ? '<a href="index.php?page=equipment&serialnumber='.$response->assigned_serial.'" class="link-with-icon">'.$response->assigned_serial.' <i class="fa-solid fa-up-right-from-square"></i></a>' : ($response->assigned_serial ?? '-')).'</td>
|
||||
</tr>
|
||||
';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user