@extends('layouts.layout_index') @section('style') @endsection @section('modal') @endsection @section('lpage') Department - new edit @endsection @section('rpage') Administrator @endsection @section('rppage') Department @endsection @section('content')
DEPARTMENT
@php $i = 0; @endphp @foreach ($department as $dpm) {{-- change to tab --}} @php $color_class = 'light'; if(isset($rtn_dep) && ($rtn_dep == $dpm->department_id) ){ $color_class = 'primary'; } @endphp @php $i += 1; @endphp @endforeach

  • Endo
  • Doctor
  • Anes
  • Nurse
  • Register
  • Procedure
  • Room
  • Scope
  • Reprocess

@isset($data) @foreach ($data as $d) @php $set_name = ''; if(isset($d->name)){ $set_name = $d->name; } else if (isset($d->user_firstname)){ $set_name = isset($d->user_lastname) ? $d->user_firstname : $d->user_firstname.' '.$d->user_lastname; } else { $set_name = '-'; } @endphp @endforeach @endisset
{{-- old here --}} {{--
@foreach ($department as $dpm) @endforeach
Endo
Doctor
Anes
Nurse
Register
Procedure
Room
Scope
Reprocess
--}} @endsection @section('script') @endsection