@extends('layouts.public') @section('title', 'Pendaftaran MCU Korporat - ' . $invitation->company->name) @section('header-subtitle', $invitation->company->name) @push('head') @endpush @section('content')
@csrf

Informasi Pendaftaran

Perusahaan: {{ $invitation->company->name }}

Tanggal MCU: {{ \App\Helpers\DateHelper::formatShort( $invitation->mcu_date, ) }}

@if ($invitation->mcuPackage)

Paket MCU: {{ $invitation->mcuPackage->name }}

@endif

Status: {{ ucfirst($invitation->status) }}

{{ $invitation->employees->count() }}

Karyawan Terdaftar

Silakan tambahkan data karyawan yang akan mengikuti MCU pada tanggal {{ \App\Helpers\DateHelper::formatShort( $invitation->mcu_date, ) }}. Setelah selesai, klik tombol "Selesaikan Pendaftaran".
Tambah Karyawan
@csrf
Anda dapat langsung mengisi form di bawah untuk menambahkan data baru Cari karyawan perusahaan ini berdasarkan nama, NIK, atau nomor rekam medis. Untuk pasien mandiri, masukkan NIK atau nomor rekam medis lengkap.
{{-- Notifikasi perpindahan perusahaan --}}

@error ('name')
{{ $message }}
@enderror
@error ('nik')
{{ $message }}
@enderror
@error ('gender')
{{ $message }}
@enderror
@error ('birth_date')
{{ $message }}
@enderror
@error ('position')
{{ $message }}
@enderror
{{-- Informasi Tambahan Opsional --}}
Informasi Tambahan (Opsional)
@error ('religion')
{{ $message }}
@enderror
@error ('birth_place')
{{ $message }}
@enderror
@error ('marital_status')
{{ $message }}
@enderror
@error ('phone')
{{ $message }}
@enderror
@error ('email')
{{ $message }}
@enderror
@error ('address')
{{ $message }}
@enderror
Daftar Karyawan
{{ $invitation->employees->count() }} Karyawan
@if ($invitation->employees->isEmpty())

Belum ada karyawan yang didaftarkan

Mulai tambahkan karyawan menggunakan form di sebelah kiri

@else
@foreach ($invitation->employees as $index => $employee) @endforeach
No. Nama Jenis Kelamin Tanggal Lahir NIK Jabatan Data Tambahan Aksi
{{ $index + 1 }} {{ $employee->name }} {{ $employee->gender == 'male' ? 'Laki-laki' : 'Perempuan' }} {{ $employee->birth_date->format('d/m/Y') }} {{ $employee->nik ?? '-' }} {{ $employee->position }} @php $hasOptional = $employee->religion || $employee->birth_place || $employee->marital_status || $employee->phone || $employee->email || $employee->address; @endphp @if ($hasOptional) Terisi @else — @endif
@foreach ($invitation->employees as $index => $employee)
{{ $index + 1 }}
{{ $employee->name }}
Jenis Kelamin:
{{ $employee->gender == 'male' ? 'Laki-laki' : 'Perempuan' }}
Tanggal Lahir:
{{ $employee->birth_date->format('d/m/Y') }}
NIK:
{{ $employee->nik ?? '-' }}
Jabatan:
{{ $employee->position }}
Data Tambahan:
@if ($employee->religion) {{ $employee->religion }} @endif @if ($employee->birth_place) {{ $employee->birth_place }} @endif @if ($employee->marital_status) {{ ucfirst($employee->marital_status) }} @endif @if ($employee->phone) {{ $employee->phone }} @endif @if ($employee->email) {{ $employee->email }} @endif @if ($employee->address) {{ \Illuminate\Support\Str::limit($employee->address, 30) }} @endif @if (!( $employee->religion || $employee->birth_place || $employee->marital_status || $employee->phone || $employee->email || $employee->address )) Kosong @endif
@endforeach
@endif
@push('styles') @endpush @push('scripts') @endpush @endsection