mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
commit
b420a5dd92
@ -259,7 +259,7 @@ class ContactMailer extends Mailer
|
|||||||
foreach (Gateway::$paymentTypes as $type) {
|
foreach (Gateway::$paymentTypes as $type) {
|
||||||
$camelType = Gateway::getPaymentTypeName($type);
|
$camelType = Gateway::getPaymentTypeName($type);
|
||||||
$type = Utils::toSnakeCase($camelType);
|
$type = Utils::toSnakeCase($camelType);
|
||||||
$variables["\${$camelType}Link"] = $invitation->getLink() . "/{$type}";
|
$variables["\${$camelType}Link"] = $invitation->getLink('payment') . "/{$type}";
|
||||||
$variables["\${$camelType}Button"] = HTML::emailPaymentButton($invitation->getLink('payment') . "/{$type}");
|
$variables["\${$camelType}Button"] = HTML::emailPaymentButton($invitation->getLink('payment') . "/{$type}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user