StocksNew/Modules/Training/resources/views/trainer/show.blade.php
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

62 lines
2.1 KiB
PHP

@extends('layouts.app')
@section('content')
<div class="page-content">
<div class="container-fluid">
@include('layouts.partials.breadcrumb', ['title' => $title])
<div class="row">
<div class="col-md-8">
<div class="card card-body p-4">
<div>
<div class="table-responsive">
<table class="table-borderless mb-0 table">
<tbody>
<tr>
<th><span class="fw-medium">Trainer Name</span></th>
<td>{{ $item->first_name }}</td>
</tr>
<tr>
<th><span class="fw-medium">Phone</span></th>
<td> {{ $item->phone }} </td>
</tr>
<tr>
<th><span class="fw-medium">Email </span></th>
<td>{{ $item->email }}</td>
</tr>
<tr>
<th><span class="fw-medium">Shift</span></th>
<td>{{ $item->shift }}</td>
</tr>
<tr>
<th><span class="fw-medium">Start Date</span></th>
<td>{{ Carbon::parse($item->start_date)->format('h:i A') }}</td>
</tr>
<tr>
<th><span class="fw-medium">End Date</span></th>
<td>{{ Carbon::parse($item->end_date)->format('h:i A') }}</td>
</tr>
<tr>
<th><span class="fw-medium">Status</span></th>
<td>{{ Carbon::parse($item->status)->format('h:i A') }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="mb-3 text-end">
<a href="{{ route('meeting.index') }}" class="btn btn-secondary w-sm">Back</a>
</div>
</div>
</div>
</div>
</div>
@endsection
@push('js')
<script src="{{ asset('assets/js/pages/form-validation.init.js') }}"></script>
@endpush