@extends('layout') @section('h4-page', __('productService')) @section('contents')
@if (session('success')) @endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@forelse (@$main ?? [] as $key => $item) @empty @endforelse
# {{ __('Name') }} {{ __('Status') }}
{{ $main->currentPage() > 1 ? $main->perPage() * $main->currentPage() - $main->perPage() + $key + 1 : $key + 1 }} {{ $item->product?->name }}
{{ __('NoDataFound') }}
{{ @$main?->appends(request()->query())->links('pagination::bootstrap-5') }}
@endsection @section('scripts') {{-- custom --}} @endsection