@extends('layouts.dashboard') @section('content')
@csrf

Customer Info

Product Info

@foreach ($orderproduct as $orderpro) @if ($orderpro->rel_to_product != null) @else @endif @endforeach
SKU Product Name Qty Price
{{ $orderpro->rel_to_product->sku }} {{ $orderpro->rel_to_product->product_discount*$orderpro->quantity }} Remove
Null {{ $orderproduct->first()->product_id }} {{ $orderproduct->first()->quantity }} {{ $orderproduct->first()->price }}
@if ($orderproducts->rel_to_product != null) @else @endif
{{--
--}} {{-- ===================== --}}
{{-- ===================== --}}
@endsection @section('footer_script') @endsection