Skip to content

Implemented record_service_billing_entry function

Vlad Chevdar requested to merge record-service-billing into main

This function enables service providers to record billing entries for services provided to members in the ChocAn system.

Usage:

  • Arguments: provider's ID and member's ID

Functionality:

  • Member Validation: Validates member ID and checks for suspension.
  • Service Information: Collects service details, including date, code, and optional comments.
  • Record Creation: Creates a structured record with relevant data.
  • Service Fee Display: Calculates and displays service fees.
  • Record Saving: Saves the billing entry to the service log.

Note:

  • Further testing will be implemented later.

Merge request reports

Loading