{{-- resources/views/payment/vieworder.blade.php --}} @extends('layouts.app') @section('title', 'Order #' . $order['id'] . ' - Bargain Book Hut') @push('styles') @endpush @section('content')
← Back to orders

Order #{{ $order['id'] }}

{{-- Order summary + addresses --}}
Order ID#{{ $order['id'] }}
Placed on{{ $order['placedOn'] }}
@if(!empty($order['status']))
Status{{ $order['status'] }}
@endif
Order total₹{{ number_format($order['final_total']) }}
Billing Address
{{ $order['billing'] }}
Shipping Address
{{ $order['shipping'] }}
{{-- Complete order details: one table, channel shown against each product --}}
Order details
@foreach($order['lines'] as $i => $line) @endforeach
# Product Channel ISBN Qty Unit price Amount
{{ $i + 1 }}
{{ $line['title'] }}
@if($line['author'])
{{ $line['author'] }}
@endif
{{ $line['channel'] }} {{ $line['isbn'] }} {{ $line['qty'] }} ₹{{ number_format($line['unit_price'], 2) }} ₹{{ number_format($line['net'], 2) }}
{{-- Overall price summary --}}
Sub Total₹{{ number_format($order['sub_total'], 2) }}
Delivery charges₹{{ number_format($order['delivery'], 2) }}
Gift Charges₹{{ number_format($order['gift'], 2) }}
Coupon Discount− ₹{{ number_format($order['coupon'], 2) }}
BLC Coupon− ₹{{ number_format($order['blc'], 2) }}
Final Total₹{{ number_format($order['final_total'], 2) }}
@endsection