update nursing
This commit is contained in:
parent
1e9b680250
commit
be2a5f0c3b
17
display.php
17
display.php
@ -3,7 +3,7 @@ declare(strict_types=1);
|
||||
require_once __DIR__ . '/queue_bootstrap.php';
|
||||
qh_boot();
|
||||
|
||||
$activeCalls = qh_fetch_tickets(['called', 'in_progress'], null, 8);
|
||||
$activeCalls = qh_fetch_tickets(['called', 'in_progress', 'nursing_called'], null, 8);
|
||||
$queueOverview = qh_queue_overview();
|
||||
|
||||
$activeVideos = [];
|
||||
@ -98,10 +98,17 @@ qh_page_start(
|
||||
<div class="card shadow-sm h-100 announcement-card <?= $blinkClass ?>" data-announcement-key="<?= qh_h((string) $ticket['id']) ?>-<?= qh_h((string) strtotime((string) $ticket['called_at'])) ?>" data-announcement-en="<?= qh_h($speech['speech_en'] ?? $speech['en']) ?>" data-announcement-ar="<?= qh_h($speech['speech_ar'] ?? $speech['ar']) ?>">
|
||||
<div class="card-body w-100 text-center p-1 d-flex flex-column align-items-center justify-content-center">
|
||||
<div class="fs-3 fw-bold text-primary mb-1"><?= qh_h($ticket['ticket_number']) ?></div>
|
||||
<div class="small text-muted mb-1 text-truncate w-100" title="<?= qh_h(qh_name($ticket, 'doctor_name', qh_t('Doctor', 'الطبيب'))) ?>"><?= qh_h(qh_name($ticket, 'doctor_name', qh_t('Doctor', 'الطبيب'))) ?></div>
|
||||
<div class="bg-primary text-white rounded px-2 py-1 small fw-bold mt-1 mb-2">
|
||||
<?= qh_h(qh_t('Room', 'غرفة')) ?> <?= qh_h($ticket['doctor_room'] ?? '--') ?>
|
||||
</div>
|
||||
<?php if ($ticket['status'] === 'nursing_called'): ?>
|
||||
<div class="small text-muted mb-1 text-truncate w-100" title="<?= qh_h(qh_t('Nursing Station', 'محطة التمريض')) ?>"><?= qh_h(qh_t('Nursing Station', 'محطة التمريض')) ?></div>
|
||||
<div class="bg-warning text-dark rounded px-2 py-1 small fw-bold mt-1 mb-2">
|
||||
<?= qh_h(qh_t('Vitals', 'العلامات الحيوية')) ?>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="small text-muted mb-1 text-truncate w-100" title="<?= qh_h(qh_name($ticket, 'doctor_name', qh_t('Doctor', 'الطبيب'))) ?>"><?= qh_h(qh_name($ticket, 'doctor_name', qh_t('Doctor', 'الطبيب'))) ?></div>
|
||||
<div class="bg-primary text-white rounded px-2 py-1 small fw-bold mt-1 mb-2">
|
||||
<?= qh_h(qh_t('Room', 'غرفة')) ?> <?= qh_h($ticket['doctor_room'] ?? '--') ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="text-muted mt-auto" style="font-size: 0.65rem;">
|
||||
<?= qh_format_datetime($ticket['called_at'] ?? $ticket['updated_at']) ?>
|
||||
</div>
|
||||
|
||||
@ -7,7 +7,7 @@ qh_reception_handle_request();
|
||||
$clinics = qh_fetch_clinics();
|
||||
$doctors = qh_fetch_doctors();
|
||||
$currentTicket = isset($_GET['ticket_id']) ? qh_fetch_ticket((int) $_GET['ticket_id']) : null;
|
||||
$todayTickets = qh_fetch_tickets(['waiting_vitals', 'ready_for_doctor', 'called', 'in_progress', 'done', 'no_show'], null, 12);
|
||||
$todayTickets = qh_fetch_tickets(['waiting_vitals', 'nursing_called', 'ready_for_doctor', 'called', 'in_progress', 'done', 'no_show'], null, 12);
|
||||
|
||||
qh_page_start(
|
||||
'reception',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user