Overview
The Delivery Boy system enables you to manage your own fleet of delivery personnel. Track deliveries, manage earnings, handle collections, and monitor delivery performance all from one centralized system.Features
- Delivery Personnel Management: Add, edit, and manage delivery staff
- Order Assignment: Assign orders to specific delivery boys
- Delivery Tracking: Track real-time delivery status
- Collection Management: Handle cash on delivery collections
- Earnings & Payments: Commission-based or fixed payment system
- Cancellation Requests: Handle delivery cancellation requests
- Performance Analytics: Track delivery metrics
- Mobile App Integration: Delivery boy mobile app support
Configuration
Accessing Delivery Boy Management
Controller Location
Database Model
Model Implementation
app/Models/DeliveryBoy.php
Creating a Delivery Boy
app/Http/Controllers/DeliveryBoyController.php
Required Fields
- Name: Full name of delivery person
- Email: Unique email for login
- Phone: Contact number
- Country: Country of operation
- State: State/Province
- City: City of operation
- Address: Residential address
- Avatar: Profile photo (optional)
- Password: Login password
Updating Delivery Boy
app/Http/Controllers/DeliveryBoyController.php
Ban/Unban Delivery Boy
Temporarily disable delivery boy accounts:app/Http/Controllers/DeliveryBoyController.php
Payment Configuration
Payment Types
Configure in business settings:- Commission: Fixed commission per delivery
- Percentage: Percentage of order value
Commission Amount
Collection Management
For Cash on Delivery (COD) orders, track money collected:Collection Form
app/Http/Controllers/DeliveryBoyController.php
Collect from Delivery Boy
app/Http/Controllers/DeliveryBoyController.php
Earnings Management
Payment Form
app/Http/Controllers/DeliveryBoyController.php
Pay to Delivery Boy
app/Http/Controllers/DeliveryBoyController.php
Delivery History Tracking
Automatically track deliveries and calculate earnings:app/Http/Controllers/DeliveryBoyController.php
Delivery Boy Panel Views
Assigned Deliveries
app/Http/Controllers/DeliveryBoyController.php
Picked Up Deliveries
app/Http/Controllers/DeliveryBoyController.php
On the Way Deliveries
app/Http/Controllers/DeliveryBoyController.php
Completed Deliveries
app/Http/Controllers/DeliveryBoyController.php
Total Collection
app/Http/Controllers/DeliveryBoyController.php
Total Earnings
app/Http/Controllers/DeliveryBoyController.php
Cancel Request System
Delivery boys can request order cancellation:app/Http/Controllers/DeliveryBoyController.php
View Cancel Requests
app/Http/Controllers/DeliveryBoyController.php
Permissions
Delivery boy management requires specific permissions:app/Http/Controllers/DeliveryBoyController.php
API Integration
For mobile app:Delivery Workflow
Best Practices
Payment Histories
View Payment History
app/Http/Controllers/DeliveryBoyController.php
View Collection History
app/Http/Controllers/DeliveryBoyController.php
Database Tables
delivery_boys
- id
- user_id (references users table)
- total_collection
- total_earning
- created_at
- updated_at
delivery_histories
- id
- order_id
- delivery_boy_id
- delivery_status
- payment_type
- collection (COD amount)
- earning (commission amount)
- created_at
- updated_at
delivery_boy_payments
- id
- user_id
- payment
- created_at
- updated_at
delivery_boy_collections
- id
- user_id
- collection_amount
- created_at
- updated_at
Related Documentation
Shipping Carriers
Configure shipping methods
Pickup Points
Setup pickup locations