@extends('Admin.layout.app') @section('title','Update Order') @section('page-title','Update Order') @section('content')
@csrf
Customer Information
Order Items
@forelse($order->details as $detail) @if( $detail->product->category ==2 ) @php $pri=$detail->price * $detail->qty @endphp @else @endif @empty @endforelse
Product Price Qty Discount Days Total Action
{{ $detail->product->name }}
@if( $detail->product->category ==2 ) @else @endif {{ number_format(($pri * $detail->days) - $detail->discount,2) }} {{ number_format(($detail->price * $detail->qty) - $detail->discount,2) }}
No products found.
Order Summary
Subtotals Rs. {{ $order->subtotal }}
Discount Rs. {{ $order->discount ?? 0 }}

Grand Total
Rs. {{ $order->grand_total }}
equipment_returned ? 'checked' : '1' }}>
Cancel
@endsection @push('js') @endpush