@include('Admin.Emails.partials.email-styles')
@if(!empty($settings['logo'])) {{ $settings['business_name'] ?? 'Speedy Move' }} @else

{{ $settings['business_name'] ?? 'Speedy Move' }}

@endif

@if(isset($isRemainingPayment) && $isRemainingPayment) Remaining Amount Payment Received @else New Order Received @endif

Dear Admin,

@if(isset($isRemainingPayment) && $isRemainingPayment)

The remaining amount payment has been received and successfully processed. The order is now fully paid. Please review the updated order details below.

@else

A new order has been received and payment has been successfully processed. Please review the order details below.

@endif
Order Number: {{ $quote->order_number ?? $quote->quote_number }}
Order Date: {{ $quote->created_at->format('F d, Y h:i A') }}
Payment Type: {{ ucfirst($paymentType) }} Payment
Payment Status: @if($paymentStatus === 'succeeded') ✓ Succeeded @else {{ ucfirst($paymentStatus) }} @endif

Customer Information

@if($user->phone) @endif
Customer Name: {{ $user->name ?? 'N/A' }}
Email: {{ $user->email }}
Phone: {{ $user->phone }}

Order Details

@if($paymentType === 'deposit') @php $jobType = $depositSettings['job_type'] ?? ($quote->job_type ?? ($quote->raw_data['job_type'] ?? 'local_job')); if ($jobType === 'interstate_job') { $depositPercentage = $depositSettings['interstate_job_deposit_percentage'] ?? 20; $depositLabel = "Deposit Paid ({$depositPercentage}%):"; } else { $depositAmount = $depositSettings['local_job_deposit_amount'] ?? 100; $depositLabel = "Deposit Paid (\${$depositAmount}):"; } @endphp @else @endif @if($quote->total_cubic_meters) @endif @if($quote->number_of_movers) @endif
Total Amount: ${{ number_format($quote->total_cost, 2) }}
{{ $depositLabel }} ${{ number_format($quote->deposit_amount ?? 0, 2) }}
Remaining Amount: ${{ number_format($quote->remaining_amount ?? 0, 2) }}
Remaining Payment Status: {{ ucfirst($quote->remaining_payment_status ?? 'pending') }}
Full Payment: ${{ number_format($quote->deposit_amount ?? $quote->total_cost, 2) }}
Remaining Amount: $0.00
Remaining Payment Status: Succeeded
Total Cubic Meters: {{ number_format($quote->total_cubic_meters, 2) }} m³
Number of Movers: {{ $quote->number_of_movers }}
@if($paymentType === 'deposit' && !empty($quote->remaining_payment_url))
Remaining Payment Link:
{{ $quote->remaining_payment_url }}

This link has been sent to the customer. They can use it to complete the remaining payment.

@endif
Action Required:
  • Review the order details
  • Contact the customer to confirm move date and time
  • Prepare for the move
  • @if($paymentType === 'deposit')
  • Monitor remaining payment status
  • @endif

Best regards,
{{ $settings['business_name'] ?? 'Speedy Move' }} System

@include('Admin.Emails.partials.email-footer')