@extends('layouts.admin') @section('content')
@can(['shift_no_create','shift_no_edit'])
@if (isset($shift)) {{ trans('global.edit') }} {{ trans('cruds.shiftNo.title_singular') }} @else {{ trans('global.add') }} {{ trans('cruds.shiftNo.title_singular') }} @endif {{-- --}}
@if (isset($shift))
@method('PUT') @else @endif @csrf
@if($errors->has('title'))
{{ $errors->first('title') }}
@endif {{ trans('cruds.shiftNo.fields.title_helper') }}

@if (isset($shift)) @else @endif
@endcan
{{ trans('global.list') }} {{ trans('cruds.shiftNo.title_singular') }}
{{-- --}} @if (count($shift_list) == 0) @else @php $i = 1; @endphp @foreach ($shift_list as $sl) {{-- --}} @php $i++; @endphp @endforeach @endif
{{__('ID')}} {{ trans('cruds.shiftNo.fields.title') }} {{ trans('cruds.shiftNo.fields.remarks') }} {{ trans('cruds.shiftNo.fields.status') }}
Records not found
{{$i}} {{$sl->title}} {{$sl->remarks}} {!!$sl->status == 1 ? 'Active' : 'Inactive'!!}
@can('shift_no_edit') @endcan @can('shift_no_delete') @endcan
@endsection @section('scripts') @endsection