@section('title', get_setting('site_name') . ' | Staff Branch Transfer') @push('css') @endpush

Staff Branch Transfer

Transfer Employees Between Branches While Keeping Users And Audit History Aligned.

@if (session()->has('message'))
{{ session('message') }}
@endif @if (session()->has('error'))
{{ session('error') }}
@endif
New Transfer
@error('staffId') {{ $message }} @enderror
@error('toWarehouseId') {{ $message }} @enderror
@error('reason') {{ $message }} @enderror
Transfer History
@forelse($history as $row) @empty @endforelse
Recorded Effective Employee From To Transfer Reason By
{{ $row->created_at?->format('Y-m-d H:i') }} {{ $row->effective_date?->format('Y-m-d') ?? '—' }} @if($row->staff) {{ $row->staff->user?->name ?? 'Staff #'.$row->staff->id }}({{ $row->staff->user_id }}) @else — @endif {{ $row->fromBranch?->name ?? '—' }} {{ $row->toBranch?->name ?? '—' }} {{ $row->reason ? \Illuminate\Support\Str::limit($row->reason, 220) : '—' }} {{ $row->createdBy?->name ?? '—' }}
No Records Yet
@section('script') @endsection