mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 06:34:29 -04:00
Fix for #1157: error on templates page
This commit is contained in:
parent
c0679cf197
commit
a8321e2ac3
@ -150,11 +150,13 @@
|
||||
@if ($account->custom_invoice_text_label2)
|
||||
<li>$customInvoice1</li>
|
||||
@endif
|
||||
@if (count($account->account_gateways) > 1)
|
||||
@if (count($account->account_gateways) > 0)
|
||||
@foreach (\App\Models\Gateway::$gatewayTypes as $type)
|
||||
@if ($account->getGatewayByType($type))
|
||||
<li>${{ Utils::toCamelCase(\App\Models\GatewayType::getAliasFromId($type)) }}Link</li>
|
||||
<li>${{ Utils::toCamelCase(\App\Models\GatewayType::getAliasFromId($type)) }}Button</li>
|
||||
@if ($type != GATEWAY_TYPE_TOKEN)
|
||||
<li>${{ Utils::toCamelCase(\App\Models\GatewayType::getAliasFromId($type)) }}Link</li>
|
||||
<li>${{ Utils::toCamelCase(\App\Models\GatewayType::getAliasFromId($type)) }}Button</li>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user