@extends('layouts.app') @section('content')
# | Title | Read Status | Status |
---|---|---|---|
{{ $key+1 }} | {{ $user->title }} | @php if($user->read_status == 1) { $readstatus = 'Read'; $color = 'success'; } else{ $readstatus = 'Unread'; $color = 'danger'; } @endphp{{ $readstatus }} | @php if($user->status == 1) { $status = 'Active'; $color = 'success'; } else{ $status = 'InActive'; $color = 'danger'; } @endphp
{{ $status }}
|