Bug fixes

This commit is contained in:
Hillel Coren 2014-03-19 10:49:33 +02:00
parent bd108353fd
commit dcc68a6c38

View File

@ -14,10 +14,8 @@
@if ($accountGateway)
{{ Former::populateField('gateway_id', $accountGateway->gateway_id) }}
@foreach ($accountGateway->fields as $field => $junk)
@if ($field == 'testMode' || $field == 'developerMode')
@if ($config->$field)
{{-- Former::populateField($accountGateway->gateway_id.'_'.$field, true ) --}}
@endif
@if (in_array($field, ['solutionType', 'landingPage', 'headerImageUrl', 'brandName']))
{{-- do nothing --}}
@else
{{ Former::populateField($accountGateway->gateway_id.'_'.$field, $config->$field) }}
@endif