@extends('Admin.Components.layout') @section('title') Admin @endsection @section('subtitle') Add Commissioner @endsection @section('css') @endsection @section('content')
@if ($errors->any())
{!! implode('', $errors->all('
:message
')) !!}
@endif
{{ csrf_field() }} @if (isset($data)) @endif
{{-- Cancel --}}
@if (isset($data))
@foreach ($history as $k => $v) @php $a = $k + 1; if ($a % 2 == 0) { $class = 'left-aligned'; $bg = 'bg-secondary'; } else { $class = ''; $bg = 'bg-success'; } $surgeryname = \App\Models\Admin\Surgery::where('id', '=', $v->surgery_id)->first(); if ($v->action == 'Add') { $str = 'Join This Surgery'; } else { $str = 'Change This Surgery'; } @endphp @endforeach
@endif
@endsection @section('js') {{-- --}} {{-- --}} @endsection