@if (isset($settings->content->custom_fields) && $settings->content->custom_fields)
{{ __('Custom Fields') }}
@t('Use these fields for Function Sheets and Invoices')
@if (isset($data) && $data)
@foreach ($data as $key => $value)
@include('Plugins/Payment/Views/Elements/Order/CustomFields/group', [
'custom_group' => $value,
'custom_fields' => (isset($value['fields']) ? array_values($value['fields']) : []),
'prefix' => $key
])
@endforeach
@endif
@include('Plugins/Payment/Views/Elements/Order/CustomFields/group', ['prefix' => '*'])
@include('Plugins/Payment/Views/Elements/Order/CustomFields/field', ['prefix1' => '*', 'prefix2' => '+'])
@endif