@php
$profile = app(App\Services\setting\CompanyProfileService::class)->get();
function joinIfNotEmpty(...$parts) {
return collect($parts)->filter()->implode(' - ');
}
@endphp
{{ $profile->name }}
{{ $profile->slogan }}
{{ $profile->email }} | {{ $profile->phone }}
{{ $profile->address }}
@foreach ($data->chunk(2) as $row)
@foreach ($row as $item)
{{ $item['label'] }}
@if(empty($item['value']) || $item['value'] == 'null')
{{ __('general.not_exists')}}
@else
{{ $item['value']}}
@endif
@if ($loop->last && $row->count() === 1)
@elseif ($loop->index === 0)
@endif
@endforeach
@endforeach