@extends('layouts.master')
@section('title', $title)
@section('content')
| # |
Date |
Status |
{{ __('field_action') }} |
@php
$counter = 0;
@endphp
@foreach ($rows as $key => $row)
| {{ ++$counter }} |
{{ \Carbon\Carbon::parse($row->jour_date)->format('M d, Y') }}
|
{{ $row->status }}
|
@can($access . '-update')
@php
$operation = $row->status == 'open' ? 1 : 0;
$bg = $row->status == 'open' ? 'success' : 'danger';
$icon = $row->status == 'open' ? 'lock-open' : 'lock';
@endphp
id }}','{{ $operation }}')>
@endcan
|
@endforeach
@endsection
@section('page_js')
@endsection