diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/molecules/Expenditure/Search.js b/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/molecules/Expenditure/Search.js index b7e1477c97..2c097a968e 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/molecules/Expenditure/Search.js +++ b/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/molecules/Expenditure/Search.js @@ -239,7 +239,7 @@ export const BillsSearch = { asSectionHeader: true, values: [ { title: "WORKS_BILL_NUMBER", value: billData?.billNumber || "NA"}, - { title: "WORKS_BILL_DATE", value: Digit.Utils.pt.convertEpochToDate(billData?.billDate) || "NA"}, + { title: "WORKS_BILL_DATE", value: Digit.Utils.pt.convertEpochToDate(billData?.auditDetails?.createdTime) || "NA"}, { title: "WORKS_ORDER_NO", value: WOData?.contractNumber || "NA"}, { title: "WORKS_PROJECT_ID", value: WOData?.additionalDetails?.projectId || "NA"}, { title: "PROJECTS_DESCRIPTION", value: WOData?.additionalDetails?.projectDesc || "NA"}, diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/Estimate/src/pageComponents/searchSor.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/Estimate/src/pageComponents/searchSor.js index 55d5fb040a..76816abf77 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/Estimate/src/pageComponents/searchSor.js +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/Estimate/src/pageComponents/searchSor.js @@ -69,7 +69,7 @@ const fetchData = async (sorid, state, setState, setShowToast) => { const searchSor = (props) => { const { t } = useTranslation(); - const [stateData, setStateData] = useState({}); + const [stateData, setStateData] = useState({SORType:"W"}); const [selectedSOR, setSelectedSOR] = useState(null); const [showToast, setShowToast] = useState({show : false, label : "", error : false}); const { register, setValue, watch } = props;