@extends('layouts.default_layout') @section('stylesheet') @endsection @section('content')

Order Details


Notice: Undefined variable: order_details in C:\xampp\htdocs\iglooapp\resources\views\site\customer\order_details.blade.php on line 62

Notice: Trying to access array offset on value of type null in C:\xampp\htdocs\iglooapp\resources\views\site\customer\order_details.blade.php on line 62

Notice: Trying to get property 'product_details' of non-object in C:\xampp\htdocs\iglooapp\resources\views\site\customer\order_details.blade.php on line 62
@foreach($product_details as $row)
Notice: Undefined variable: row in C:\xampp\htdocs\iglooapp\resources\views\site\customer\order_details.blade.php on line 80

Notice: Trying to get property 'qty' of non-object in C:\xampp\htdocs\iglooapp\resources\views\site\customer\order_details.blade.php on line 80

Notice: Undefined variable: row in C:\xampp\htdocs\iglooapp\resources\views\site\customer\order_details.blade.php on line 80

Notice: Trying to get property 'price' of non-object in C:\xampp\htdocs\iglooapp\resources\views\site\customer\order_details.blade.php on line 80
@endforeach
# Product Name Quantity Price Subtotal
{{ $i++ }} {{ $row->name }} ( @foreach($row->options as $key => $value) @if($key != 'image') {{ $value }} @endif @endforeach ) {{ $row->qty }} {{ $row->price }} Tk {{ $row->qty * $row->price }}
Subtotal Tk {{ $subtotal }}
Discount ({{ $order_details[0]->discount }}%) Tk {{ ($order_details[0]->discount/100) * $subtotal }}
Delivery charge Tk {{ $deliveryCharge }}
Total Tk {{ $subtotal + $deliveryCharge - (($order_details[0]->discount/100) * $subtotal) }}

Payment Details

@foreach($payment_details as $row) @endforeach
# Payment Date Method Amount Status
{{ $i++ }} {{ $row->created_at }} {{ $row->type }} {{ $row->amount }} {{ $row->status }}
@endsection @section('script') @endsection