diff --git a/admin_dashboard.php b/admin_dashboard.php index 7620bb7..6f2753a 100644 --- a/admin_dashboard.php +++ b/admin_dashboard.php @@ -43,7 +43,7 @@ render_header(t('admin_dashboard'), 'admin', true);
Overview of your platform's performance and recent activity.
+= e(t('overview_performance')) ?>
Total Shipments
+= e(t('total_shipments')) ?>
Active Shipments
+= e(t('active_shipments')) ?>
Total Shippers
+= e(t('total_shippers')) ?>
Truck Owners
+= e(t('total_truck_owners')) ?>
| Shipment | -Route | += e(t('shipment')) ?> | += e(t('route')) ?> | = e(t('status')) ?> | -Action | += e(t('action')) ?> | = e(status_label($row['status'])) ?> | - + | @@ -147,47 +147,47 @@ render_header(t('admin_dashboard'), 'admin', true);|
|---|---|---|---|---|---|---|---|---|---|
| Date التاريخ |
Ref # رقم الشحنة |
- Route المسار |
- Status الحالة |
- Amount (OMR) المبلغ |
+ = e(t('route')) ?> المسار |
+ = e(t('status')) ?> الحالة |
+ = e(t('amount')) ?> المبلغ |
||
|---|---|---|---|---|---|---|---|---|---|
| No completed shipments found for this period. | |||||||||
| = e(t('no_completed_shipments')) ?> | |||||||||
| - = e(ucfirst(str_replace('_', ' ', $row['status']))) ?> + = e(status_label($row['status'])) ?> | - = number_format((float)$row['total_price'], 2) ?> + = format_currency((float)$row['total_price']) ?> | ||||||||
| Total Balance / الإجمالي | -= number_format($totalAmount, 2) ?> OMR | += e(t('total_balance')) ?> / الإجمالي | += format_currency($totalAmount) ?> | ||||||
+ = e(get_setting('company_address')) ?>
+ = e(get_setting('company_email')) ?> | = e(get_setting('company_phone')) ?>
+
+ = e(t('generated')) ?>: = date('d M Y, H:i') ?> +
+Analyze shipment performance, revenue, and profits.
+= e(t('analyze_performance')) ?>
No paid shipments found for this period.
+= e(t('no_paid_shipments')) ?>
| Name | -Shipments | -Total Amount | -Profit | += e(t('name')) ?> | += e(t('stats_shipments')) ?> | += e(t('total_amount')) ?> | += e(t('profit')) ?> |
|---|---|---|---|---|---|---|---|
| = e($row['name']) ?> | = number_format((int)$row['shipment_count']) ?> | -$= number_format((float)$row['total_amount'], 2) ?> | -$= number_format((float)$row['total_profit'], 2) ?> | += format_currency((float)$row['total_amount']) ?> | += format_currency((float)$row['total_profit']) ?> | ||
| TOTAL | += e(t('total_label')) ?> | = number_format($totalShipments) ?> | -$= number_format($grandTotalAmount, 2) ?> | -$= number_format($grandTotalProfit, 2) ?> | += format_currency($grandTotalAmount) ?> | += format_currency($grandTotalProfit) ?> |
View and print financial statements for truck owners.
+= e(t('view_print_owner_statements')) ?>
= date('F j, Y') ?>
| Date التاريخ |
Ref # رقم الشحنة |
- Route المسار |
- Status الحالة |
- Earnings (OMR) المبلغ |
+ = e(t('route')) ?> المسار |
+ = e(t('status')) ?> الحالة |
+ = e(t('earnings')) ?> المبلغ |
||
|---|---|---|---|---|---|---|---|---|---|
| No completed shipments found for this period. | |||||||||
| = e(t('no_completed_shipments')) ?> | |||||||||
| - = e(ucfirst(str_replace('_', ' ', $row['status']))) ?> + = e(status_label($row['status'])) ?> | - = number_format((float)$row['offer_price'], 2) ?> + = format_currency((float)$row['offer_price']) ?> | ||||||||
| Total Earnings / الإجمالي | -= number_format($totalEarnings, 2) ?> OMR | += e(t('total_earnings')) ?> / الإجمالي | += format_currency($totalEarnings) ?> | ||||||
Update shipment details and status.
+= t('update_shipment_details') ?>