mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:54:41 -04:00
Bug fixes
This commit is contained in:
parent
bd108353fd
commit
dcc68a6c38
@ -14,10 +14,8 @@
|
|||||||
@if ($accountGateway)
|
@if ($accountGateway)
|
||||||
{{ Former::populateField('gateway_id', $accountGateway->gateway_id) }}
|
{{ Former::populateField('gateway_id', $accountGateway->gateway_id) }}
|
||||||
@foreach ($accountGateway->fields as $field => $junk)
|
@foreach ($accountGateway->fields as $field => $junk)
|
||||||
@if ($field == 'testMode' || $field == 'developerMode')
|
@if (in_array($field, ['solutionType', 'landingPage', 'headerImageUrl', 'brandName']))
|
||||||
@if ($config->$field)
|
{{-- do nothing --}}
|
||||||
{{-- Former::populateField($accountGateway->gateway_id.'_'.$field, true ) --}}
|
|
||||||
@endif
|
|
||||||
@else
|
@else
|
||||||
{{ Former::populateField($accountGateway->gateway_id.'_'.$field, $config->$field) }}
|
{{ Former::populateField($accountGateway->gateway_id.'_'.$field, $config->$field) }}
|
||||||
@endif
|
@endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user