@extends('layouts.app')
@section('content')
# |
Name |
Mobile |
Member Since |
Status |
Action |
@forelse($client as $key=>$user)
{{ $key+1 }} |
{{ $user->seller_name }} |
{{ $user->phone_number }} |
{{ date('d-M-Y h:i ', strtotime($user->created_at)) }} |
@php
if($user->status == 1)
{
$status = 'Active';
$color = 'success';
}
else{
$status = 'InActive';
$color = 'danger';
}
@endphp
{{ $status }}
|
|
@empty
@endforelse
@endsection