1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 05:32:39 +01:00

Merge templates fix

This commit is contained in:
Hillel Coren 2016-11-27 17:02:07 +02:00
parent 682ce02995
commit 3a65c8905c

View File

@ -153,8 +153,10 @@
@if (count($account->account_gateways) > 1)
@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