From 0ab8ec85d32bd156353e075df05ec75410be9710 Mon Sep 17 00:00:00 2001 From: Tb Fajri Date: Wed, 16 Oct 2024 10:52:29 +0700 Subject: [PATCH] filter dan flag file di inpatient monitoring --- .../InpatientMonitoring/List.tsx | 89 +++++++++++++++++-- 1 file changed, 80 insertions(+), 9 deletions(-) diff --git a/frontend/dashboard/src/pages/CaseManagement/InpatientMonitoring/List.tsx b/frontend/dashboard/src/pages/CaseManagement/InpatientMonitoring/List.tsx index 028a10af..6567af1d 100755 --- a/frontend/dashboard/src/pages/CaseManagement/InpatientMonitoring/List.tsx +++ b/frontend/dashboard/src/pages/CaseManagement/InpatientMonitoring/List.tsx @@ -15,9 +15,12 @@ import { Stack, Menu, ButtonGroup, + FormControl, + Select, Link, Chip, TableHead, + InputLabel, Grid, } from '@mui/material'; import KeyboardArrowDownIcon from '@mui/icons-material/KeyboardArrowDown'; @@ -61,6 +64,13 @@ export default function List() { const navigate = useNavigate() + const fileOptions = { + kondisi: 'Dokumen Billing', + diagnosa: 'Dokumen Diagnosa', + result: 'Dokumen Penduk Medis', + none: 'Belum ada Dokumen' + }; + function SearchInput(props: any) { // SEARCH const searchInput = useRef(null); @@ -199,15 +209,48 @@ export default function List() { /> {!currentImportFileName && ( - - + + + + + + File + + + + + + {row.service_name} {row.payment_type_name} + + {row.files_by_type?.final_log_diagnosis?.length > 0 && ( + <> + +
+ + )} + + {row.files_by_type?.final_log_kondisi?.length > 0 && ( + <> + +
+ + )} + + {row.files_by_type?.final_log_result?.length > 0 && ( + + )} +
{ row.status_final_log == "requested" ? () : @@ -500,6 +568,9 @@ export default function List() { Claim Method + + File Upload + Status