@if(isset($monitor))
Edit Customer Monitor
@else
Add Customer Monitor
@endif
# |
Name |
Days |
Alert To |
By |
Created |
Action |
@foreach ($monitorlist as $key => $item)
@php
$alert = json_decode($item->user_id);
$customer = json_decode($item->customer_id);
@endphp
{{$key+1}} |
{{$item->customer_id}} |
{{$item->days}} |
@foreach($alert as $a)
@php
$user = App\User::find($a);
@endphp
{{$user->name}},
@endforeach
|
{{$item->is_admin ? 'admin' : 'portal'}} |
{{formatYmd($item->created_at)}} |
|
@endforeach
@endsection
@push('js')
@endpush