Current File : /home/tradevaly/prioyshi.com/project/resources/views/admin/staff/show.blade.php |
@extends('layouts.load')
@section('content')
<div class="content-area no-padding">
<div class="add-product-content">
<div class="row">
<div class="col-lg-12">
<div class="product-description">
<div class="body-area" id="modalEdit">
<div class="table-responsive show-table">
<table class="table">
<tr>
<th>{{ __("Staff ID#") }}</th>
<td>{{$data->id}}</td>
</tr>
<tr>
<th>{{ __("Staff Photo") }}</th>
<td>
<img src="{{ $data->photo ? asset('assets/images/admins/'.$data->photo):asset('assets/images/noimage.png')}}" alt="{{ __("No Image") }}">
</td>
</tr>
<tr>
<th>{{ __("Staff Name") }}</th>
<td>{{$data->name}}</td>
</tr>
<tr>
<th>{{ __("Staff Role") }}</th>
<td>{{ $data->role_id == 0 ? 'No Role' : $data->role->name }}</td>
</tr>
<tr>
<th>{{ __("Staff Email") }}</th>
<td>{{$data->email}}</td>
</tr>
<tr>
<th>{{ __("Staff Phone") }}</th>
<td>{{$data->phone}}</td>
</tr>
<tr>
<th>{{ __("Joined") }}</th>
<td>{{$data->created_at->diffForHumans()}}</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection