@extends('layouts/pos_layout') @section('title', '| '.$moduleTitle) @section('content') @include('successMsg')
Order List    


Warning: Undefined variable $ordBillNo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/viewOrderDetails.blade.php on line 35

Warning: Undefined variable $data in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/viewOrderDetails.blade.php on line 36

Warning: Attempt to read property "toSupplier" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/viewOrderDetails.blade.php on line 36

Warning: Undefined variable $data in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/viewOrderDetails.blade.php on line 37

Warning: Attempt to read property "toSupplier" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/viewOrderDetails.blade.php on line 37

Warning: Undefined variable $data in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/viewOrderDetails.blade.php on line 38

Warning: Attempt to read property "toSupplier" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/viewOrderDetails.blade.php on line 38

Warning: Undefined variable $data in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/viewOrderDetails.blade.php on line 39

Warning: Attempt to read property "toSupplier" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/viewOrderDetails.blade.php on line 39

Warning: Undefined variable $data in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/viewOrderDetails.blade.php on line 40

Warning: Attempt to read property "toSupplier" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/viewOrderDetails.blade.php on line 40

Warning: Undefined variable $data in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/viewOrderDetails.blade.php on line 41

Warning: Attempt to read property "toSupplier" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/viewOrderDetails.blade.php on line 41

Ref No: N/A/2026/

July 22,2026

{{ $supplierCompanyName }}
{{ $supplierCompanyAddress }}
E-mail: {{ $supplierEmail }}

{{--
Atten: N/A
Atten: N/A

--}}

Sub: Supply order of N/A Product for
Warning: Undefined variable $company in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/viewOrderDetails.blade.php on line 59

Warning: Attempt to read property "name" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/viewOrderDetails.blade.php on line 59
Branches.

Dear Concerned,
Following our recent discussions and in consideration of the contents of you offer letter, we are pleased to issue this work order, which includes the specifications, terms and conditions outlined below. {{-- Pursuant to the discussion between ourselves and also taking into cognizance the contents of your offer letter we are pleased to place here with this work order with the specifications and terms and conditions as appended here under:- --}}
@php $groupedData = []; foreach ($data->posOrderDetails as $orderDetail) { $branchId = $orderDetail->requisition_from_branch_id; $subCategoryId = $orderDetail->posProductModel->sub_category_id ?? 'N/A'; $groupedData[$branchId][$subCategoryId][] = $orderDetail; } @endphp @php $sl = 1; $qty = $companyPrice = $mrp = $amount = $t_qty = $t_amount = 0;@endphp @foreach($groupedData as $branchId => $subCategories) @foreach($subCategories as $subCategoryId => $orderDetails) @php $firstRow = true; @endphp @foreach($orderDetails as $orderDetail) @php $posService = new \App\Service\PosService(); // Create an instance of PosService $activeDate = $posService->branchActiveDate($orderDetail->requisition_from_branch_id); // $productPrice = $orderDetail->posProductModel->productCostSalesPricesWithModel($orderDetail->model_id)->where('pos_product_pricings.effected_date', '<=', date('Y-m-d',strtotime($activeDate)))->first(); $productPrice = $orderDetail->posProductModel->productCostSalesPricesWithModel($activeDate)->first(); // dd($productPrice,$activeDate); $qty = $orderDetail->quantity; $companyPrice = $productPrice->costprice ?? 0; // dd($companyPrice); $mrp = ($productPrice) ? (($productPrice->saleprice == '0.00') ? $productPrice->pro_sales_price : $productPrice->saleprice) : 0; $amount = ($qty * $companyPrice ?? '0'); $t_qty += $orderDetail->quantity; $t_amount += $amount; @endphp @if ($firstRow) @endif @php $firstRow = false; @endphp @endforeach @endforeach @endforeach
SL Product Model Qty {{ $company->name }} Price MRP Amount Category Delivery Address & Contact No.
{{ $sl++ }} {{ $orderDetail->posProductModel->name ?? 'N/A' }} {{ $orderDetail->posProductModel->id ?? 'N/A' }} {{ $orderDetail->quantity }} {{ number_format($companyPrice, 2) }} {{ number_format($mrp, 2) }} {{ number_format($amount, 2) }}{{ $orderDetail->posSubCategory->name ?? 'N/A' }} {{ $orderDetail->fromRequisitionBranch->branchCode ?? '' }}-{{ $orderDetail->fromRequisitionBranch->name ?? 'N/A' }}
{{ $orderDetail->fromRequisitionBranch->address ?? '' }}
{{ $orderDetail->fromRequisitionBranch->phone ?? '' }}
Total : {{ $t_qty }} {{ number_format($t_amount, 2) }}