Correction of URL in invoice notifications.

Changed orders.php to invoices.php in two hooks.
This commit is contained in:
William Phillips
2017-11-13 00:03:07 +00:00
committed by GitHub
parent 710c27816e
commit 1aba5a5a41

View File

@@ -29,7 +29,7 @@
'username' => $companyName, 'username' => $companyName,
'embeds' => array( 'embeds' => array(
array( array(
'url' => $whmcsAdminURL . 'orders.php?action=view&id=' . $vars['invoiceid'], 'url' => $whmcsAdminURL . 'invoices.php?action=view&id=' . $vars['invoiceid'],
'timestamp' => date(DateTime::ISO8601), 'timestamp' => date(DateTime::ISO8601),
'description' => '', 'description' => '',
'color' => '5653183', 'color' => '5653183',
@@ -50,7 +50,7 @@
'username' => $companyName, 'username' => $companyName,
'embeds' => array( 'embeds' => array(
array( array(
'url' => $whmcsAdminURL . 'orders.php?action=view&id=' . $vars['invoiceid'], 'url' => $whmcsAdminURL . 'invoices.php?action=view&id=' . $vars['invoiceid'],
'timestamp' => date(DateTime::ISO8601), 'timestamp' => date(DateTime::ISO8601),
'description' => '', 'description' => '',
'color' => '5653183', 'color' => '5653183',