mirror of
https://github.com/metallicgloss/WHMCS-Discord-Notifications.git
synced 2025-12-19 14:59:18 +00:00
Correction of URL in invoice notifications.
Changed orders.php to invoices.php in two hooks.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
'username' => $companyName,
|
||||
'embeds' => array(
|
||||
array(
|
||||
'url' => $whmcsAdminURL . 'orders.php?action=view&id=' . $vars['invoiceid'],
|
||||
'url' => $whmcsAdminURL . 'invoices.php?action=view&id=' . $vars['invoiceid'],
|
||||
'timestamp' => date(DateTime::ISO8601),
|
||||
'description' => '',
|
||||
'color' => '5653183',
|
||||
@@ -50,7 +50,7 @@
|
||||
'username' => $companyName,
|
||||
'embeds' => array(
|
||||
array(
|
||||
'url' => $whmcsAdminURL . 'orders.php?action=view&id=' . $vars['invoiceid'],
|
||||
'url' => $whmcsAdminURL . 'invoices.php?action=view&id=' . $vars['invoiceid'],
|
||||
'timestamp' => date(DateTime::ISO8601),
|
||||
'description' => '',
|
||||
'color' => '5653183',
|
||||
|
||||
Reference in New Issue
Block a user