@php $count = $promotions->count ?? 0; $total = $promotions->total ?? 0; $promotions = $promotions->items ?? []; @endphp
@if($count > 0) @endif @include('components.elements.locale-th') @if($count > 0) @foreach($promotions as $item) @include('promotions.elements.promotion') @endforeach @else @endif
 ID {{trans('admin::promotion.name.label')}} {{__('admin::message.date.starts_at.label')}} {{__('admin::message.date.ends_at.label')}} {{__('admin::promotion.happy_hours.label')}} {{__('admin::promotion.dayofmonth.label')}}{{trans('admin::message.status.label')}}
{{trans('admin::message.no_data')}}
@if($count > 0) @include('components.elements.paging') @endif