update status waiting dan update post data pasien
This commit is contained in:
No files matched your search
@@ -190,7 +190,7 @@ const props = defineProps({
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
waitingCount: {
|
||||
anjunganCount: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
@@ -289,12 +289,12 @@ const statusOptions = computed(() => {
|
||||
});
|
||||
}
|
||||
|
||||
// Tambahkan kategori "Menunggu" (pasien yang sudah dipanggil tapi belum check-in)
|
||||
if (props.waitingCount > 0) {
|
||||
// Tambahkan kategori "Anjungan" (pasien yang sudah dipanggil tapi belum check-in)
|
||||
if (props.anjunganCount > 0) {
|
||||
baseOptions.push({
|
||||
value: 'waiting',
|
||||
label: 'Menunggu',
|
||||
count: props.waitingCount,
|
||||
value: 'anjungan',
|
||||
label: 'Anjungan',
|
||||
count: props.anjunganCount,
|
||||
icon: 'mdi-clock-outline'
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user