@extends('layouts.admin.app') @section('content') {{-- --}}

Order

{{ $order->unique_order_id }}

@csrf @php $agentIndex = 0; @endphp
@foreach($tableItem as $tableItems) @php $productIndex = 0; @endphp {{-- --}} {{-- --}}
Agent Details
Remove
@php $addBtnRmv = 0; @endphp @forelse($tableItems['products'] as $product) @php $addBtnRmv++; @endphp @php $productIndex++; @endphp @empty @endforelse
Product Price QTY Image Text Action
Rs.
@if($product['imagePath']) @php $imagePathDecoded = json_decode($product['imagePath'], true); $flatImages = collect($imagePathDecoded)->flatten(); // In case it's nested arrays @endphp @endif @if($product['imageText']) @endif @if($addBtnRmv > 0) @else
@endif
Delivery Type Delivery Charge Total Price
@if($tableItems['delivery_type'] == 's_delivery') @php $value = $tableItems['delivery_price']->s_delivery; @endphp @elseif($tableItems['delivery_type'] == 's_delivery') @php $value = $tableItems['delivery_price']->e_delivery; @endphp @else @php $value = $tableItems['delivery_price']->m_delivery; @endphp @endif
Rs.
Rs.
Delivery Date Delivery Time Any Instructions
Remove
@php $agentIndex++; @endphp @endforeach
@endsection @section('script') @endsection