@extends('layouts.app') @section('title', 'Edit Shift Entry') @section('content') @php // Receptionist must NOT see locum pay information — they record // shifts but the rate and earnings are confidential to HR/Admin. $canSeePay = Auth::user()->activeRoleName() !== 'Receptionist'; $canOverridePay = in_array(Auth::user()->actualRoleName(), ['Hospital Admin', 'Super Admin'], true); $shiftRole = strtolower((string) $shift->locum->role_designation); $shiftIsSono = str_contains($shiftRole, 'sonograph') || str_contains($shiftRole, 'ultrasound'); @endphp
{{ $shift->locum->full_name }} — {{ $shift->work_date->format('d M Y') }} · @php $sc = ['draft'=>'badge-gray','submitted'=>'badge-info','verified'=>'badge-info','approved'=>'badge-success','rejected'=>'badge-danger']; @endphp {{ ucfirst($shift->approval_status) }}