{{ __('common.sr-no') }} {{ __('item.image') }} {{ __('item.name') }} @include('up-down') {{ __('category.category') }} @include('up-down') {{ __('item.regular_price') }} @include('up-down') {{ __('item.offer_price') }} @include('up-down') {{ __('item.status') }} {{ __('common.action') }} @php $startIndex = ($data->currentPage() - 1) * $data->perPage() + 1; @endphp @forelse($data as $key => $detail) @php $scheduleText = ''; $checked = $detail->is_active == '1' ? 'checked' : ''; $scheduleTextInside = ($detail->is_schedule == 1) ? (dateFormat($detail->start_date, 'd-m-Y H:i') . " - " . dateFormat($detail->end_date, 'd-m-Y H:i')) : ""; if ($detail->is_schedule == 1) { $scheduleText .= ''; } @endphp {{ $startIndex++ }} {{ $detail->name }} ({{ $detail->id }}) {!! $scheduleText !!} {{ $detail->categoryName }} {{ numberFormat($detail->regular_price) }} {{ numberFormat($detail->offer_price) }} | | @empty {{__('common.no_records')}} @endforelse @include('pagination', ['data' => $data])