diff --git a/app/Views/predispatch.php b/app/Views/predispatch.php
index 9f3c09e..c02dfe7 100644
--- a/app/Views/predispatch.php
+++ b/app/Views/predispatch.php
@@ -77,12 +77,16 @@ body {
border-radius: 6px;
}
+/* sembunyikan di layar */
+.ttd-print-only {
+ display: none;
+}
+
@keyframes blinkAnim {
0% { opacity: 1; }
50% { opacity: 0.4; }
100% { opacity: 1; }
}
-
/* ================= PRINT SETTING ================= */
@media print {
@@ -99,7 +103,10 @@ body {
.no-print {
display: none !important;
}
-
+ .ttd-print-only {
+ display: block !important;
+ }
+
.container-a4 {
width: 100%;
min-height: auto;
@@ -117,6 +124,26 @@ body {
b {
font-weight: 600;
}
+
+.kv {
+ display: flex;
+ align-items: flex-start;
+ margin-bottom: 4px;
+}
+
+.label {
+ width: 140px;
+ font-weight: 600;
+}
+
+.colon {
+ width: 10px;
+}
+
+.value {
+ flex: 1;
+ word-break: break-word; /* biar alamat panjang tetap rapi */
+}
@@ -124,112 +151,189 @@ b {
-
+
+ ✏️ Edit
+
+
+
+
+
+
+
+
+
📄 FORM PERMINTAAN PASIEN AMBULANS 119
-
+
+
+ 🚫 ORDER DIBATALKAN
+ = $pasien['alasan_batal'] ?? '-' ?>
+
+
Data tidak ditemukan
-
-
-
-
-
-
👤 IDENTITAS PASIEN
-
-
-
Nama:
- = trim(($pasien['atribut'] ?? '') . ' ' . ($pasien['nama'] ?? '')) ?>
+
Identitas Pasien
+
+
+
Nama
+
:
+
+ = ucwords(strtolower(trim(($pasien['atribut'] ?? '') . ' ' . ($pasien['nama'] ?? '-')))) ?>
-
Tgl Lahir: = $pasien['tgl_lahir'] ?? '-' ?>
-
Usia: = esc($pasien['umur'] ?? '-') ?>
-
Jenis Kelamin: = $pasien['gender'] ?? '-' ?>
-
Alamat: = $pasien['alamat'] ?? '-' ?>
+
+
+
Tgl Lahir
+
:
+
= $pasien['tgl_lahir'] ?? '-' ?>
+
+
+
+
Usia
+
:
+
= esc($pasien['umur'] ?? '-') ?>
+
+
+
+
Jenis Kelamin
+
:
+
= $pasien['gender'] ?? '-' ?>
+
+
+
+
Alamat
+
:
+
+ = ucwords(strtolower($pasien['alamat'] ?? '-')) ?>
+
+
+
+
+
+
Data Registrasi
+
+
+
+
Nomor Rekam Medik
+
:
+
= $pasien['rm'] ?? '-' ?>
+
+
+
+
Register Ambulans
+
:
+
= $pasien['register'] ?? '-' ?>
+
+
+
+
Nama Penelpon
+
:
+
+ = ucwords(strtolower($pasien['nama_penelpon'] ?? '-')) ?>
-
-
-
+
+
No Penelpon
+
:
+
= $pasien['no_penelpon'] ?? '-' ?>
+
-
📋 REGISTRASI
+
-
No RM: = $pasien['rm'] ?? '-' ?>
-
Register Ambulans: = $pasien['register'] ?? '-' ?>
-
Nama Penelpon: = $pasien['nama_penelpon'] ?? '-' ?>
-
No Penelpon: = $pasien['no_penelpon'] ?? '-' ?>
+
Status Permintaan
+
+
+
Tanggal & Jam Order
+
:
+
+ = !empty($pasien['created_at'])
+ ? date('d-m-Y H:i', strtotime($pasien['created_at']))
+ : '-' ?>
-
-
-
-
-
🚑 STATUS ORDER
-
-
- Tanggal & Jam Order:
- = !empty($pasien['created_at'])
- ? date('d-m-Y H:i', strtotime($pasien['created_at']))
- : '-' ?>
-
-
-
- Status Order:
-
-
-
-
- Status Fase Ambulans:
- = 6) {
- echo 'Selesai';
- } else {
- echo 'Predispatch';
- }
- ?>
-
+
+
Status Kegawatan
+
:
+
+
+
+
+
Status Fase Ambulans
+
:
+
+ = 6) {
+ echo 'Selesai';
+ } else {
+ echo 'Predispatch';
+ }
+ ?>
+
+
+
+
Kondisi Awal Pasien (Pre Dispatch)
+
+
+