Core PHP ERP Inventory

Inventory & Business Management System

Wholesale T-Shirt Printing ERP

A centralized web-based business management system developed for a wholesale T-shirt printing company to streamline inventory management, sales tracking, invoicing, expense monitoring, and profitability analysis across multiple locations.

Client / Industry
Safar Printing (Pakistan)
Wholesale T-Shirt Printing & Custom Printing Services
My Role
Full Stack Developer & Business Systems Architect
Timeline
4 Weeks
Tech Stack
Core PHP, MySQL, AJAX

Manual Inventory & Financial Tracking Was Limiting Growth.

Safar Printing operates two retail and production locations in Karachi. The company was managing inventory, invoices, customer records, expenses, and profit calculations manually through spreadsheets and paper records.

As the business grew, it became increasingly difficult to:

  • Track stock levels across both locations
  • Monitor sales and profitability accurately
  • Manage customer invoices and payment status
  • Calculate printing costs consistently
  • Identify low-stock products before shortages occurred
  • Generate business performance reports

The lack of a centralized system led to inventory discrepancies, delayed reporting, and limited visibility into the company's overall financial health.

The Strategy & Solution

I developed a custom web-based ERP and inventory management system that centralized all business operations into a single platform.

The software allows administrators and staff to manage products, categories, stock quantities, sales, expenses, invoices, and printing operations in real time. Each location maintains independent inventory records while the owner can switch between branches and monitor overall business performance from one dashboard.

The system automatically calculates profit margins, tracks unpaid invoices, monitors stock levels, and provides visual business analytics through interactive charts and reports.

Product Creation
Category Assignment
Stock Allocation by Location
Customer Sale Entry
Invoice Generation
Payment Status Tracking
Expense Recording
Profit Calculation
Stock Monitoring
Low Stock Notifications
Business Analytics Dashboard
Portal Video Demo

▶ Watch: Walkthrough of the inventory tracking and branch-switching capabilities.

HOW IT WORKS.

Multi-Location Inventory Management

The platform supports separate inventory tracking for both Safar Printing locations while allowing centralized management by the business owner.

Role-Based Access Control

Different permission levels were implemented for the Owner, Managers, and Staff Members to ensure secure data access.

Product & Stock Management

Users can:

  • Add products and categories
  • Manage stock quantities
  • Activate or deactivate products
  • Monitor inventory movement by branch

Sales & Invoice Management

Every customer sale is recorded inside the system with automatic invoice generation and payment tracking. The company can easily identify Paid invoices, Pending invoices, and Outstanding customer balances.

Expense Tracking & Cost Calculation

Daily operational expenses are recorded and categorized to provide accurate profit and loss calculations. A custom module calculates printing costs based on dimensions and printing area (inches), enabling accurate pricing and profitability tracking for custom printing jobs.

Business Intelligence & Automation

Interactive charts provide real-time visibility into Sales performance, Expenses, Profit & Loss, Inventory movement, and Outstanding invoices. The system automatically notifies users when product quantities fall below predefined minimum stock levels.

KEY FEATURES SUMMARY

  • Multi-Location Inventory Management
  • Role-Based User Access
  • Product & Category Management
  • Active / Inactive Product Control
  • Customer Sales Management
  • Invoice Generation & Tracking
  • Paid & Unpaid Invoice Monitoring
  • Expense Tracking System
  • Profit Calculator
  • Printing Cost Calculator (By Inches)
  • Profit & Loss Reporting
  • Stock Reminder Notifications
  • Interactive Analytics Dashboard
  • Branch Switching for Owners
  • Real-Time Business Insights
// Snippet: Calculate profit and trigger stock alerts
// Calculate profit on sale
$profit = (
    $sellingPrice -
    $purchasePrice -
    $printingCost
) * $quantity;

return $profit;

// Trigger stock alert
if($currentStock <= $minimumStock){
    sendStockNotification($productId);
}
100%
Centralized Control Across 2 Locations
75%
Reduction in Manual Record Keeping
90%
Improved Visibility Into Profit & Loss
Real-Time
Stock Monitoring & Invoice Tracking

The Result

Safar Printing successfully transitioned from manual inventory and financial management to a centralized ERP platform. The company can now manage stock, invoices, expenses, printing costs, and profitability across multiple locations from a single system. This improved operational efficiency, reduced inventory errors, and provided management with real-time insights into business performance and financial health.

Need an ERP system?

Let's discuss how we can streamline your operations.

Book a Consultation → Back to Portfolio