We are always excited to take on new projects and collaborate with innovative minds.

Address

56-A Commercial Sector C, Bahria Town, Lahore PK 54000

Social Links

Project

Custom Development on Jamaliki Backend

We implemented advanced features including payment gateway integration, order history management, vendor-wise commission settings, dynamic checkout, and automated commission calculations to enhance platform efficiency and scalability.

Client

Jamaliki LLC

Start Date

Aug 01, 2025
Custom Development on Jamaliki Backend

Jamaliki Financial System Work

This document confirms the successful completion of the financial system project, detailing all implemented features and verified functionalities. The solution is robust, accurate, and ready for deployment.

 

1. Project Scope & Accomplishments

The primary objective was to develop a comprehensive financial system for the Jamaliki platform, focusing on transparency, automation, and accurate reconciliation.

All points outlined in the project brief have been met, resulting in a fully functional system that includes:

  • A dedicated financial dashboard for administrators
  • Automated, configurable calculations for profit sharing and taxes
  • A streamlined reconciliation process to manage payments between Jamaliki and its partner salons
  • Robust transaction logging and reporting tools

 

2. Implemented Features and Verified Functionalities

Below is a detailed summary confirming that each requirement has been delivered with accurate logic.

 

2.1. Centralized Admin Dashboard & Reporting

  • Financial Reports Page:
    A new page /admin/financial_report/view_reports was created to serve as a central hub for all financial data.
  • Total Earnings Display:
    Dashboard displays total online and cash payments, with a dynamic footer to sum filtered data.
  • Quick Date Filters:
    Buttons for Daily, Weekly, Monthly, and Yearly reports enable quick report generation.
  • Data Export:
    Receipts and Financial Reports tables support export to CSV, PDF, and Excel using DataTables integration.

 

2.2. Configurable Financials & Automated Calculations

  • Configurable Rates:
    A new platform_settings_tbl allows admins to set jamaliki_profit_share and tax_rate from the database.
    These values are dynamically fetched for real-time use in all transactions.
  • Automated Calculations:
    During each transaction, the payNow() function correctly calculates and records jamaliki_profit_share and tax_amount in the reciept_tbl.
  • Admin Dashboard Summary:
    The main admin dashboard shows real-time summaries like Total Online/Cash Payments, Jamaliki Profit Share, etc., pulled from the reciept_tbl.

 

2.3. Financial Reconciliation and Transfer Logic

The core reconciliation logic, based on the dominant payment method, has been implemented and thoroughly tested:

Scenario 1: Online Payments > Cash Payments

  • Logic: System identifies this scenario and calculates net_amount_to_salon.
  • Result: financial_settlements_tbl records the amount due to the salon, with net_amount_due_to_jamaliki = 0.00.

Scenario 2: Cash Payments ≥ Online Payments

  • Logic: System calculates net_amount_due_to_jamaliki (includes online profit share + cash commission & tax).
  • Result: financial_settlements_tbl records the amount due from the salon, with net_amount_to_salon = 0.00.

 

2.4. Transaction Logging & Reporting

  • Detailed Receipts View:
    Admins can view all transactions, filtered by salon, payment method, and date range.
  • Settlement Reports:
    The generate_and_save_report() function creates official reports in financial_settlements_tbl, summarizing all financial activity per period.
  • Duplicate Prevention:
    Validation ensures no duplicate reports are generated for the same salon and date range.

 

3. Verification of Calculations

Accuracy was confirmed via multiple test cases:

  • Online Transaction Example (100 AED):
    • payNow()jamaliki_profit_share = 15, tax_amount = 5
    • generate_and_save_report() → Scenario 1: net_amount_to_salon = 80
  • Cash Transaction Example (100 AED):
    • payNow()jamaliki_profit_share = 15, tax_amount = 5
    • generate_and_save_report() → Scenario 2: net_amount_due_to_jamaliki = 20

 

4. Code & Database Implementation

  • CodeIgniter Framework:
    All necessary controllers and models were created or updated to maintain a clean, modular structure.
  • Database Enhancements:
    • Tables and columns were added, renamed, and corrected for consistency.
    • Foreign key constraints were established to ensure data integrity.

 

Project Completion

The Jamaliki Financial System is now complete and fully functional, meeting all specified requirements with a high degree of accuracy, automation, and reporting reliability.

Share

Leave a comment

Your email address will not be published. Required fields are marked *

Your experience on this site will be improved by allowing cookies. Cookie Policy