+
+
@@ -236,10 +238,12 @@ export default function InventoryLog(props: any) {
Item: {data?.results[0].item_object.name}{data?.results && data.results[0].current_stock > 0 && (
-
- Deletes the last transaction by creating an
- equivalent undo transaction and marks both the transactions
- as accident.
+
+ Deletes the last transaction
+
+ It does by creating an equivalent undo transaction + + and marks both the transactions as accident.
-
+ {["StateAdmin", "StateReadOnlyAdmin"].includes(
+ authUser.user_type,
+ ) && (
+
+
+ )}
+ {/* */}
+
+
+ No Consultation History Available
+
+
+
+
+ No Sample Test History Available
+
+
+
+ )}
{consultation?.last_daily_round && (
+
+
+ IP Days
+
+
+
+ {dayjs(consultation.discharge_date || undefined).diff(
+ consultation.encounter_date,
+ "day",
+ )}
+
+
+
-
{
label="Emergency contact number"
required
types={["mobile", "landline"]}
+ disabled={isEmergencyNumberEnabled}
/>
@@ -1446,6 +1506,20 @@ export const PatientRegister = (props: PatientRegisterProps) => {
required
label="Gender"
options={genderTypes}
+ onChange={(e) => {
+ field("gender").onChange(e);
+ if (e.value !== "2") {
+ field("is_antenatal").onChange({
+ name: "is_antenatal",
+ value: "false",
+ });
+
+ field("is_postpartum").onChange({
+ name: "is_postpartum",
+ value: "false",
+ });
+ }
+ }}
optionLabel={(o: any) => o.text}
optionValue={(o: any) => o.id}
/>
@@ -1457,7 +1531,7 @@ export const PatientRegister = (props: PatientRegisterProps) => {
+
+ }
+ Set Average weekly working hours ++ Set Average weekly working hours + |
---|