All Work
Case Study/quotation-crm-system
2026·ERP / Internal

Quotation & CRM System

Bilingual quotation & CRM platform for a Saudi energy contractor

RoleArchitect · Full-Stack
Year2026
CategoryERP / Internal
Stack
PHPMySQLvanilla CSS with logical properties
012026
erp
sada-crm-cover.svg
01

An energy contracting, operations, and maintenance company in Saudi Arabia was managing its contract pricing through traditional spreadsheets and scattered email threads. This resulted in a severely sluggish quotation cycle, conflicting contract terms across different revisions, and a complete absence of audit trails during financial disputes. The primary challenge was architecting a highly efficient, fully bilingual system (Arabic/English) under a strict technical constraint: deploying the entire solution on a Shared Hosting environment.

02

Developed a comprehensive, custom web application (Vanilla PHP 8.1 / PDO) featuring an advanced database architecture and a strict Role-Based Access Control (RBAC) system spanning four distinct operational roles. Engineered meticulous Audit Logging for every system action alongside a Soft-delete (recycle bin) feature for safe data recovery. Implemented CSS Logical Properties to guarantee flawless bilingual design compatibility (LTR/RTL). The solution integrated the mPDF library to export professional, dual-language quotation PDFs in a unified layout, and featured a Kanban-style sales pipeline board. Delivered a dedicated client-sharing portal, fortifying the entire system with a testing environment running over 71 integration test cases to ensure rock-solid stability.

03·Value & Metrics

Manual friction, automated away.

Each row contrasts the manual bottleneck against the optimized pipeline — the real efficiency gain, not a generic claim.

Quotation Turnaround
The Manual Bottleneck

15–20 min per quote via Word

The TFM·HQ Solution

Under 5 min, fully automated

Quote Approval Visibility
The Manual Bottleneck

Email chains, no status tracking

The TFM·HQ Solution

Real-time pipeline + portal view alerts

Commission Calculation
The Manual Bottleneck

Manual spreadsheet, error-prone

The TFM·HQ Solution

Auto-locked on win, zero math errors

Quote Follow-up Rate
The Manual Bottleneck

Reps forget stale leads

The TFM·HQ Solution

Automated 3-day + 48-hr alerts

Core capabilities.

The specific features that make the difference — built in, not bolted on.

01

Bilingual Quote Engine

Generates Arabic/English PDF quotations with RTL-aware layouts and a dynamic tfoot totals system that never orphans across pages.

02

Interactive Client Portal

Secure tokenized links let clients view quotes online and accept them with a legally-tracked e-signature that auto-updates status to Won.

03

Lead Assignment & Pipeline

Managers assign quotes to reps from an unassigned queue; reps get instant reminders and see only their own pipeline.

04

Smart Reminder Automation

Cron-driven alerts flag pending quotes over 3 days old, quotes expiring within 48 hours, and the moment a client opens a portal link.

05

Commission & Margin Tracking

Auto-calculates rep commission from real profit margin when a quote is won, with locked figures for payroll accuracy.

06

Visual Analytics Dashboard

Chart.js dashboard showing revenue trends, pipeline-by-stage, win/loss reasons, and a rep performance leaderboard.

05·Outcomes

Files delivered

79

ETA-compliant

yes

Initiate · Direct

Direct Contact

Send a message. Replies within 24 hours, in any timezone.

No mailing list. No follow-up sequences. Direct reply only.