feat/encounter: wip

This commit is contained in:
Andrian Roshandy
2025-10-13 06:26:30 +07:00
parent f7c53fc4e5
commit 6bdee66cc6
7 changed files with 130 additions and 74 deletions
+4 -3
View File
@@ -50,19 +50,20 @@ function checkOutSubmit(values: CheckOutFormData) {
<template>
<div class="lg:grid grid-cols-2">
<div class="border-r lg:pe-4 xl:pe-5">
<div class="border-r lg:pe-4 xl:pe-5 mb-10">
<div class="mb-4 xl:mb-5 text-base text-center font-semibold">Informasi Masuk</div>
<Checkin
:schema="CheckInSchema"
:doctors="doctors"
:encounter="encounter"
:values="checkInValues"
:is-loading="checkOutIsLoading"
:is-readonly="checkOutIsReadonly"
:is-loading="checkInIsLoading"
:is-readonly="checkInIsReadonly"
@submit="checkInSubmit"
/>
</div>
<div class="lg:ps-4 xl:ps-5">
<Separator class="lg:hidden my-4 xl:my-5" />
<div class="mb-4 xl:mb-5 text-base text-center font-semibold">Informasi Keluar</div>
<Checkout
:schema="CheckOutSchema"