LogoLogo
v1.0
v1.0
  • mGramSeva
    • Technology
    • Architecture
    • Demo video
    • Product Docs
      • Functional Docs
        • Login & Forgot Password
        • User Roles & Home Screen
        • Create Consumer
        • Search Consumer
        • Edit Consumer
        • View Consumer
        • Billing - Bulk Demand Generation
        • Billing - Metered Connection
        • Revenue Collection - Offline
        • Expenditure - Add Expense
        • Expenditure - Modify Expense
        • User Onboarding - Bulk Upload
        • User Onboarding/Walkthrough
        • Feedback - Post Payment
        • SMS Notifications
        • Home Page Notifications
        • Edit User Profile
        • Bill and Receipt PDF
        • Update Expense Search
        • Bulk Demand Generation For Non-Metered Connection
        • Demand/Bill Generation For Metered Connection
        • Household Register
        • Tabular Dashboard - Expense
        • Tabular Dashboard - Collection
        • Download Bills & Receipt
      • Technical User Docs
        • Application Structure
        • Firebase Analytics Integration
        • Integration Testing
        • Integration Testing With Github Actions
        • Backend Services
          • mGramSeva - Water Services
          • mGramSeva - Water Service Calculator
          • mGramSeva e-Challan Service
          • mGramSeva - User Service
          • mGramSeva - Billing Service
          • mGramSeva - User OTP
          • iFix Adapter Integration Service
          • mGramSeva - Rollout Dashboard
          • mGramSeva Scheduler
          • mGramSeva- Services Re-Indexing
          • mGramSeva Dashboard
        • Tech User Manual
          • Language Selection
          • Login
          • Change Password
          • Edit Profile
          • Home Page
          • Forgot Password
          • Update Password FTL
          • Generate Bill
          • Search Connection
          • Consumer Details
            • Create Consumer
            • Update Consumer
          • Expenses
            • Add Expenses
            • Search Expense Bills
            • Modify Expenses
          • Dashboards
            • Monthly Dashboard
            • Collections Dashboard
            • Expenditure Dashboard
          • Collect Payment
          • Consumer Feedback
          • Household Register
          • Bluetooth Thermal Printer Integration
        • Application Permissions & Dependencies
        • mGramSeva UI
          • UI Mockups
          • mGramSeva UI
      • User Docs
        • User Manual
    • Installation
    • Configuration
  • ๐ŸšปCommunity
    • Roadmap
    • Source Code
    • Discussion
    • Events
    • Training & Certification
Powered by GitBook

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

On this page
  • User Interaction On Screen
  • Logic Implemented For Arrears Breakup
  • Files Path
  • Field Validations
  • API Details
  • Stack
  1. mGramSeva
  2. Product Docs
  3. Technical User Docs
  4. Tech User Manual

Collect Payment

PreviousExpenditure DashboardNextConsumer Feedback

Last updated 2 years ago

After the demand is generated for Metered and non-metered connections or if any arrears are present, the Revenue collector uses this screen to collect payments.

Collect Payment card is available on the home screen to the user role having COLLECTION_OPERATOR permission.

Link โ†’ {base url}/mgramseva/household/details/collectPayment

User Interaction On Screen

  • Users can pay the total due amount by selecting the Full Amount option below Payment Amount.

  • Or, Users can also pay a partial amount by selecting Partial Amount from the Payment Amount options. If Partial Amount is selected, users have to provide the amount that he wants to pay.

  • Clicking on Collect Payment navigates the user to the Payment Success screen. The user can download the receipt or share the receipt for the collected amount.

  • Users can also print mini receipts with the help of Bluetooth thermal printers by selecting the option.

Logic Implemented For Arrears Breakup

The Arrears is broken into 'BL_(TaxHeadCode)' which we get from Bill details-->Bill Account details ---> Tax Head Code and the amount of particular arrears is similar to the Bill details--> amount from the Fetch Bill API.

(Eg. if there are two bills with tax head codes is 10101 and 10102, then Arrears break up is represented as BL_10101(Water Charges) with the corresponding amount and BL_10102(Water Charges-Arrears) with the corresponding amount)

Files Path

Field Validations

Fields
Validations

Payment Amount: Full Amount or Partial Amount

None

Partial Amount (If Partial Amount is selected)

r'^[0-9]+$' , Can not be 0 or greater than Full Amount

Payment Method

None

API Details

End Point
Input Params (Modules)
Description

egov-mdms-service/v1/_search

[{"moduleName":"BillingService","masterDetails":[{"name":"BusinessService","filter":"[?(@.code=='WS')]"}]}]

To get the billGeneiURL, Calculation of Water services and collectionModesNotAllowed

billing-service/bill/v2/_fetchbill

consumerCode : {}

businessService : WS

tenantId : {}

To fetch the bills of the connection/Consumer

Stack

1 โ†’ Home Screen. + Search Connection Screen + Household Results + Household Details Screen + Collect Payment Screen

Pop โ†’ Household Details Screen

Widgets Utilised from Library

Widgets
File Path
Description

BuildTextField

Text Field

BottomButtonBar

Button

RadioButtonField

Radio Buttons for options

Primary Files:

All content on this page by is licensed under a .

https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/widgets/TextFieldBuilder.dart
https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/widgets/BottonButtonBar.dart
https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/widgets/RadioButtonFieldBuilder.dart
Print mini receipt
punjab-mgramseva/collect_payment.dart at develop ยท egovernments/punjab-mgramseva
โ€‹
eGov Foundation
Creative Commons Attribution 4.0 International License
Creative Commons License