Bill

Overview

This module is used to handle all billing-related actions such as create, update and view Bills.

This module has 5 associated screens :

  1. Create (Purchase Bill)

  2. Search

  3. View (Wage, Purchase, Supervision)

  4. Modify (Purchase Bill)

  5. Download Bills

MDMS Configurations

Module enablement configuration

  1. Set module code as “Expenditure” in Module.js for Billing Module. Refer CityModule.json

{
            "module": "Expenditure",
            "code": "Expenditure",
            "active": true,
            "order": 7,
            "tenants": [
                {
                    "code": "pg.cityb"
                },
                {
                    "code": "pg.cityc"
                },
                {
                    "code": "pg.citya"
                }
            ]
        }
  1. Enable Module in App.js. Update the object ‘enabledModules’. Use the code “Expenditure”. This code should match with the code of the cityModule.json, mentioned above.

Role-action mapping

Sample object for a sidebar action define in MDMS (containing navigationUrl)

{
      "id": 56,
      "name": "BILLS",
      "url": "url",
      "displayName": "Bill Search",
      "orderNumber": 2,
      "parentModule": "",
      "enabled": true,
      "serviceCode": "BILLS",
      "code": "null",
      "navigationURL": "/works-ui/employee/expenditure/search-bill",
      "path": "BILLS.BillSearch",
      "leftIcon": "dynamic:ExpenditureIcon"
    }

Screen configuration

Localization Configuration and Modules

Workflow Configuration

<details>

Customization

  1. Create Purchase Bill Screen

  • Please use the common Utility “PreProcessMDMSConfig”.

  • Pass the associated dependencies for the config.

  • The utility will return a config which will run through FormComposer.

  • Refer docs for Pre-Process config in Component comments.

  1. Search Bill Screen

  • Please use the common utility “preProcessMDMSConfigInboxSearch”.

  • Pass the associated dependencies for the config.

  • The utility will return a config which will run through RenderFormFields.

  • Refer docs for Pre-Process config in Component comments.

  • All the Inbox and Search Screens throughout the app are rendered using this component Inbox/Search Composer

  • Checkbox selection is added to results table displayed in search screen based on search config passed via MDMS

  1. Download Bill Screen

DownloadBillConfig is used to render table to show bills where download link is provided to download respective bills

Last updated

​​  ​All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.