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