Posts

Showing posts from August, 2025

ReimbursmentForm>index.tsx

  import React from "react" ; import { useScreen } from "@ebh/capsule/hooks" ; import { useFetchMasterData } from "../../../api/hooks/opd-reimbursement-replica-hooks/fetch-master-data" ; import { useFetchPolicyDetails } from "../../../api/hooks/opd-reimbursement-replica-hooks/fetch-policy-details" ; import { useFetchBankDetails } from "../../../api/hooks/opd-reimbursement-replica-hooks/fetch-bank-details" ; import { FormContainer , FormTopHeaderView } from "../styles" ; import { useFieldArray , useForm , useWatch } from "react-hook-form" ; import { Text } from "@ebh/capsule" ; import { ISuccessBankDetailsResponse , IMembers } from "../api-req-res" ; interface ReimbursmentFormProps { formInputsDisabled ?: boolean ; defaultValues ?: FormData ; } const isPhone = ! useScreen ( "md" ); const ReimbursmentForm : React . FC < ReimbursmentFormProps > ...

ask-query>medicaldetailsform>index.tsx

  // import { FormProvider, UseFormReturn } from "react-hook-form"; // import { useNavigate } from "react-router-dom"; // import { useRef } from "react"; // import { // DietPayloadI, // MedicalPayloadI, // useSubmitQuery, // } from "../../../api/hooks/corporate-benfits/second-opinion/submit-second-medical-details"; // import { margin } from "@ebh/capsule/theme"; // import FormFields from "./partials/form-fields"; // import DietFormFields from "./partials/diet-and-nutrition-form-fields"; // import { ASK_QUERY_ROUTES } from "../../../routes"; // import { useSecondOpinionContext } from "../../../context/second-opinion-context"; // import PatientInfoCard from "../../second-opinion/second-medical-patient-detail/partials/patient-info-card"; // import SubmitFooter from "../../second-opinion/second-medical-patient-detail/partials/submit-footer"; // import { SECOND_MEDICAL_OPINION...

creds

  For parking only :  User id :EMISHA500 Password: 500 user id : EMIFUEfuelemp02 password: fuelemp02   for UAT fuel policy User name: EMISURTestEMI121 Password : TestEMI121 yarn nx run homepage:dev AJAAKS876543-1 Vidal@123

slugquickask

    const patient_slug = "iwE6ncUipKeP4GdueS3ueSzI"; const patient_slug = "iwE6ncUipKeP4GdueS3ueSzI"; Phone-consultation:— // patient_slug_id:"iwE6ncUipKeP4GdueS3ueSzI",

quick-consultation-index.tsx

  import { background , flex } from "@ebh/capsule/theme" ; import { padding , gap , border , margin , screen } from "@ebh/capsule/theme" ; import { useToast } from "@ebh/capsule" ; import { useNavigate } from "react-router-dom" ; import { useScreen } from "@ebh/capsule/hooks" ; import { FormProvider } from "react-hook-form" ; import { yupResolver } from "@hookform/resolvers/yup" ; import { useForm } from "react-hook-form" ; import { Button } from "@ebh/capsule" ; import { css } from "@emotion/react" ; import { useEffect , useRef } from "react" ; import { defaultQuickConsultationValues , QuickConsultationFormData , QuickConsultationSchema , } from "./schema.ts" ; import LoadingScreen from "../loading-screen.tsx" ; import QuickConsultationForm from "./quick-consultation-form/index.tsx" ; import { useSta...