diff --git a/admin_reports_shippers.php b/admin_reports_shippers.php new file mode 100644 index 0000000..b7a3105 --- /dev/null +++ b/admin_reports_shippers.php @@ -0,0 +1,254 @@ +
View and print financial statements for shippers.
+= e(get_setting('company_name', 'Logistics Platform')) ?>
+= date('F j, Y') ?>
+| Date التاريخ |
+ Ref # رقم الشحنة |
+ Route المسار |
+ Status الحالة |
+ Amount (OMR) المبلغ |
+
|---|---|---|---|---|
| No completed shipments found for this period. | ||||
| = date('Y-m-d', strtotime($row['created_at'])) ?> | +#= $row['id'] ?> | +
+ = e($row['origin_city']) ?> = e($row['destination_city']) ?>
+ = e($row['cargo_description']) ?>
+ |
+ + = e(ucfirst(str_replace('_', ' ', $row['status']))) ?> + | ++ = number_format((float)$row['total_price'], 2) ?> + | +
| Total Balance / الإجمالي | += number_format($totalAmount, 2) ?> OMR | +|||
View and print financial statements for truck owners.
+= e(get_setting('company_name', 'Logistics Platform')) ?>
+= date('F j, Y') ?>
+| Date التاريخ |
+ Ref # رقم الشحنة |
+ Route المسار |
+ Status الحالة |
+ Earnings (OMR) المبلغ |
+
|---|---|---|---|---|
| No completed shipments found for this period. | ||||
| = date('Y-m-d', strtotime($row['created_at'])) ?> | +#= $row['id'] ?> | +
+ = e($row['origin_city']) ?> = e($row['destination_city']) ?>
+ = e($row['cargo_description']) ?>
+ |
+ + = e(ucfirst(str_replace('_', ' ', $row['status']))) ?> + | ++ = number_format((float)$row['offer_price'], 2) ?> + | +
| Total Earnings / الإجمالي | += number_format($totalEarnings, 2) ?> OMR | +|||