Order Details
| Order ID# | {{$order->order_number}} | ||||||||||
| Customer Name: | {{$order->customer_name}} | ||||||||||
| Customer Email: | {{$order->customer_email}} | ||||||||||
| Customer Phone: | {{$order->customer_phone}} | ||||||||||
| Customer Address: | {{$order->customer_address}} | ||||||||||
| Customer City: | {{$order->customer_city}} | ||||||||||
| Customer Postal Code: | {{$order->customer_zip}} | ||||||||||
| Total Product: | {{array_sum($order->quantities)}} | ||||||||||
| Total Cost: | ${{$order->pay_amount}} | ||||||||||
| Ordered Date: | {{$order->booking_date}} | ||||||||||
| Payment Method: | {{$order->method}} | ||||||||||
| {{$order->method}} Charge ID: | {{$order->charge_id}} | ||||||||||
| {{$order->method}} Transection ID: | {{$order->txnid}} |
| Product ID# | Product Title | Quantity | Size | Vendor | Status | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{$product->productid}} | {{\App\Product::findOrFail($product->productid)->title}} | {{$product->quantity}} | {{$product->size}} | @if($product->owner == "vendor") {{\App\Vendors::findOrFail($product->vendorid)->shop_name}} @else Admin @endif | {{$product->status}} | @else{{$product->productid}} | Product Deleted | {{$product->quantity}} | {{$product->size}} | @if($product->owner == "vendor") {{\App\Vendors::findOrFail($product->vendorid)->shop_name}} @else Admin @endif | {{$product->status}} | @endif
| {{$order->products[$i]}} | --}} {{--{{\App\Product::findOrFail($order->products[$i])->title}} | --}} {{--{{$order->quantities[$i]}} | --}} {{--{{explode(',',$order->sizes)[$i]}} | --}} {{--@else--}} {{--{{$order->products[$i]}} | --}} {{--Product Deleted | --}} {{--{{$order->quantities[$i]}} | --}} {{--{{explode(',',$order->sizes)[$i]}} | --}} {{--@endif--}} {{--