@extends('layouts.app') @section('title', 'Order Confirmation - MiMSMS Voter System') @section('content')

Order Confirmed!

Your order has been successfully created and submitted to WHMCS.

Order Details

Order ID: #{{ $order->id }}

WHMCS Order ID: {{ $order->whmcs_order_id ?? 'Processing...' }}

Status: {{ ucfirst($order->order_status) }}

Order Date: {{ $order->created_at->format('M d, Y H:i A') }}


Customer Information

Name: {{ $order->customer_name }}

Email: {{ $order->customer_email }}

Phone: {{ $order->customer_phone }}


Service Details

Electoral Area: {{ $order->electoralArea->name }}

Package Type: {{ ucfirst(str_replace('_', ' ', $order->package_type)) }}

Quantity: {{ number_format($order->quantity) }} SMS

Total Voters: {{ number_format($order->total_voters) }}


Voter Breakdown by Operator

Grameenphone

{{ number_format($order->operator_breakdown['grameenphone'] ?? 0) }}

Robi / Airtel

{{ number_format($order->operator_breakdown['robi'] ?? 0) }}

Banglalink

{{ number_format($order->operator_breakdown['banglalink'] ?? 0) }}

@if($order->additional_notes)

Additional Notes

{{ $order->additional_notes }}

@endif

📧 Confirmation Email: A confirmation email has been sent to {{ $order->customer_email }} with your order details and WHMCS order ID.

View All Orders Back to Home

⏱️ What's Next?

  1. Your order has been submitted to WHMCS for processing
  2. You will receive a confirmation email with your WHMCS order ID
  3. Our team will review and activate your service shortly
  4. You can track your order status in your account dashboard
@endsection