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