@extends('layouts/pos_layout') @section('title', '| '.$moduleTitle) @section('content') @include('successMsg')
{{$moduleTitle}}
Requisition No : {{$reqBillNo}} Requisition Date : {{date('d-m-Y', strtotime($data->requisition_date))}} From : {{$data->fromBranch->name}}
Supplier : {{$data->posRequisitionSupplier->name}}({{ $data->posRequisitionSupplier->company_name }}) Total Quantity : {{$data->total_quantity}} To : {{$data->toBranch->name}}


{{-- --}} @php $no=0; $t_qty = $t_amount = 0;$iRow = 0;@endphp @foreach($data->posRequisitionDetails as $details) @php $iRow++; $purchaseBarcodeQuantity = 0; $purchaseBarcodeQuantity = $details->quantity; @endphp @php $t_qty += $purchaseBarcodeQuantity;@endphp @endforeach
SL No. Product Name Model Name Current StockBarcodeQty
{{++$no}} @php $productAll = \App\Models\pos\ProductConfig\PosProduct::whereIntegerInRaw('id',json_decode($details->product_id))->groupBy('name')->get(); //dd($productAll); @endphp @foreach($productAll as $keyProduct => $productData) {{ $productData->name }}
@endforeach
{{$details->posProductModel->name}} {{ $details->current_stock }} @if($isEditAccess == true) @else {{$details->quantity}} @endif
Total {{$t_qty}}
@include('gnr.tools.approvalConfig.approvalLogs') @if($data->authStatus != 'approved' && $data->authStatus != 'rejected') @include('pos.config.approvalSystem.posApprove') @endif
@endsection