@extends('layouts.modals.modal-base.index') {{-- @section('title', 'View WholeSale Request') --}} @section('modal-class', 'modal-lg') @section('content')
{{--
@foreach ($wholesaleRequests as $wr)

Product

{{ $wr->productVariant->product->title }}

Quantity

{{ $wr->quantity }}

Price

{{ !empty($wr->price) ? $wr->price : 0.0 }}
--}}
@php $total = 0; foreach ($wholesaleRequests as $wr) { echo ""; $total = $total + $wr->price * $wr->quantity; } @endphp @if ($wholesaleRequests[0]->WholesaleRequest->status == 1)
@endif
@endsection