@extends('layouts.dmapp') @section('content') {{-- Pickup Details --}}

Orders No. {{$Order->id}}

@php $Slno=0; @endphp @foreach($Order->order_products as $order_product) @php $Amount*=$order_product->quantity; @endphp @endforeach
Slno Product Services Quantity Amount
{{++$Slno}} {{$order_product->product->title}} @php $Amount=0; @endphp @foreach($order_product->order_product_services as $order_product_services) {{$order_product_services->product_service->servicetype->title}} @php $Amount+=$order_product_services->product_service->serviceprice; @endphp @endforeach {{$order_product->quantity}}{{$Amount}}
@endsection