@extends('Admin.layout.app') @section('title','Order Details') @section('page-title','Order Details') @section('content')

Order #{{ $order->id }}

Back
Customer Information
Name {{ $order->customer->name }}
{{ $order->customer->urdu_name ?? ''}}
Phone {{ $order->customer->phone }}
Address {{ $order->customer->address }}
{{ $order->customer->urdu_address ?? ''}}
Order Information
Order Date {{ $order->order_date->format('d M Y h:i A') }}
Payment Status {{ $order->payment_status }}
Paid Amount Rs. {{ number_format($order->paid_amount,2) }}

Products
@foreach($order->details as $item) @endforeach
# Product Description Price Qty Discount Total
{{ $loop->iteration }} {{ $item->product->name }} @if($item->product->category==2) ({{$item->days}}days) @endif
{{ $item->product->name_urdu ?? ''}}
{{ $item->description }} Rs. {{ number_format($item->price,2) }} {{ $item->qty }} Rs. {{ number_format($item->discount,2) }} Rs. {{ number_format($item->total,2) }}
Subtotal Rs. {{ number_format($order->subtotal,2) }}
Cariage Rs. {{ number_format($order->carriage,2) }}
Grand Total Rs. {{ number_format($order->grand_total,2) }}
Advance Rs. {{ number_format($order->paid_amount,2) }}
Remaining Rs. {{ number_format($order->balance,2) }}
Print Bill
@endsection