@extends('layouts.light.master') @section('title', 'Stock Check Menu') @section('css') @endsection @section('style') @endsection {{-- @section('breadcrumb-title')

Stock CheckDetails

@endsection @section('breadcrumb-items') @endsection --}} @section('content')

Bill To :

Name :   {{ ucfirst($stock_check_request->user->name) }}
Address :   {{ $stock_check_request->user_address }}
Email :   {{ ucfirst($stock_check_request->user_email) }}
Phone :   {{ $stock_check_request->user_phone }}

Ship To :

Name : {{ ucfirst($stock_check_request->user->name) }}
Address : {{ $stock_check_request->user_address }}
Email : {{ ucfirst($stock_check_request->user_email) }}
Phone : {{ $stock_check_request->user_phone }}


Job Name : {{ $stock_check_request->job_name }}
@foreach ($rooms as $room) @if (isset($room['products']) && count($room['products']) > 0) @foreach ($room['products'] as $each) @php $productData = \App\Models\Product::with('doorColor')->find($each['product_id']); $productWeight = $productData ? $productData->weight : 0; $productPrice = $productData ? $productData->price : 0; $productAssembleCost = $productData ? $productData->assemble_cost : 0; // Calculate total for each product $totalProductWeight = $productWeight * $each['quantity']; $totalProductPrice = $productPrice * $each['quantity']; $totalProductAssembleCost = $productAssembleCost * $each['quantity']; @endphp @php $productAssembleCost = $productData->cost * $each['quantity']; @endphp @php $eachProductCost = $productData->assemble_cost * $each['quantity']; @endphp @endforeach @else

No products found for this room.

@endif @endforeach
Double Check Work Cabinet Name Cabinet Description Weight Unit Price Total Price Quantity Assemble Cost Item Notes
Room: {{ $room['room_name'] }}
@if($productData->checkbox_status = 1)    {{ $productData->label }} {{ $productData->sku }} + {{ $productData->doorColor->product_label }} {{ $productData->weight }} lbs ${{ number_format($productData->cost, 2) }}${{ number_format($productAssembleCost, 2) }} {{ $each['quantity'] }}${{ number_format($eachProductCost, 2) }}
Sub Total $ lbs $0.00 $0.00
Fuel Charges (2%) $0.00
Cabinetry Assembly Cost $0.00
Shipping Charges
Pallets Cost (Total Pallets = 1) $
Delivery Cost (Residential) $0.00
Liftgate Cost $0.00
Unload Cost (By Forklift) $150.00
Miscellaneous Charges $0.00
Total (Excluding Sales Tax And Payment Charges) 7 lbs $0.00
Comment :

{{ $stock_check_request->comment }}

@endsection @section('script') {{-- sweet alert start --}} @if (session('success')) @elseif(session('error')) @endif {{-- sweet alert end --}} @endsection {{-- sweet alert link start --}} {{-- --}} {{-- sweet alert link end --}}