Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Employee will be able to open “View Consumption Details” page from “Connection Details” page for the Metered Reading Connection. Consumption details page will provide more options like adding details of the consumed water charges. TBD - details about View Consumption Details.

...

the hook used here :

Code Block
const { isLoading, isError, data: response } = Digit.Hooks.ws.useWSConsumptionSearch({ filters: filter1 }, { filters: filter1 });

user will have an option to add new meter reading, once clicking on it, a pop up will appear, in which user can fill the asked details and click on submit to add new meter reading for the connection.
File Path : https://github.com/egovernments/DIGIT-Dev/blob/master/frontend/micro-ui/web/micro-ui-internals/packages/modules/ws/src/pages/employee/connectionDetails/ConsumptionDetails.js

...

File Path: https://github.com/egovernments/DIGIT-Dev/blob/develop/frontend/micro-ui/web/micro-ui-internals/packages/modules/ws/src/pages/employee/connectionDetails/connectionDetails.js

...

File Path: https://github.com/egovernments/DIGIT-Dev/blob/develop/frontend/micro-ui/web/micro-ui-internals/packages/modules/ws/src/pages/employee/connectionDetails/connectionDetails.js

  1. Download Receipt Method:

Code Block
const appFeeDownloadReceipt = {    order: 1,    label: t("DOWNLOAD_RECEIPT_HEADER"),    onClick: () => getRecieptSearch(reciept_data?.Payments?.[0]),  };

...