@if(getModuleActivationStatus() == 'dsc')
@endif
{{--
--}}
@php
$id = 'company_name';
$comp = [
'label' => 'Receipt Name/Legal Entity Name',
];
@endphp
@component('admin.components.form_field', [
'class' => 'row ' . transform_if($errors->has($id), 'has-validation'),
'label' => $comp['label'],
'required' => data_get($comp, 'req'),
'description' => data_get($comp, 'descr'),
'ff_classes' => [
'label' => 'col-sm-2',
'slot' => 'col-sm-10 d-flex-center',
],
])
@if ($errors->has($id))
{{ $errors->first($id) }}
@endif
@endcomponent
@php
$id = 'full_address';
$comp = [
'label' => 'Receipt Full Address',
'placeholder' => '',
];
@endphp
@component('admin.components.form_field', [
'class' => 'row ' . transform_if($errors->has($id), 'has-validation'),
'label' => $comp['label'],
'required' => data_get($comp, 'req'),
'description' => data_get($comp, 'descr'),
'ff_classes' => [
'label' => 'col-sm-2',
'slot' => 'col-sm-10 d-flex-center',
],
])
{!! $asset[$id] ?? old($id) !!}
@if ($errors->has($id))
{{ $errors->first($id) }}
@endif
@endcomponent
@php
$id = 'location_keywords';
$comp = [
'label' => 'Smart Receipt Custom Keywords',
'placeholder' => '',
];
@endphp
@component('admin.components.form_field', [
'class' => 'row ' . transform_if($errors->has($id), 'has-validation'),
'label' => $comp['label'],
'required' => data_get($comp, 'req'),
'description' => data_get($comp, 'descr'),
'ff_classes' => [
'label' => 'col-sm-2',
'slot' => 'col-sm-10 d-flex-center',
],
])
@endcomponent
@component('admin.components.date_format', ['date_format' => $date_format ?? []])
@endcomponent
@php
$id = 'is_smart_receipt_accepted';
$comp = [
'label' => 'Accepted By Smart Receipt?',
];
@endphp
@component('admin.components.form_field', [
'class' => 'row ' . transform_if($errors->has($id), 'has-validation'),
'label' => $comp['label'],
'required' => data_get($comp, 'req'),
'description' => data_get($comp, 'descr'),
'ff_classes' => [
'label' => 'col-sm-2',
'slot' => 'col-sm-10 d-flex-center',
],
])
@if ($errors->has($id))
{{ $errors->first($id) }}
@endif
@endcomponent