@extends('layouts/pos_layout') @section('title', '| ' . $moduleTitle) @section('content')
{{ $moduleTitle }}
Bill No : PTB{{ $data->requisitionBillNo }} Bill Date : {{ date('d-m-Y', strtotime($data->requisitionDate)) }}
Total Quantity : {{ $data->totalQuantity }} Total Amount : {{ number_format($data->totalAmount, 2) }}


{!! Form::open(['url' => '', 'role' => 'form', 'class' => 'form-horizontal form-groups', 'id' => 'approveForm']) !!}
@if ($isBarcodeStatus == 'false') @endif @php $no = 0; $t_qty = $t_amount = 0; $BranchID = 0; @endphp @foreach ($productDetailsCollection as $details) @php $BranchID = $details->requisitionFrom; @endphp @if ($isBarcodeStatus == 'false') @endif @php $requisitonQuantity = 0; if ($isBarcodeStatus == 'true') { $requisitonQuantity = App\Models\pos\Transaction\PosTransferRequisitionDetails::where( 'transfer_requisition_id', $details->transfer_requisition_id, ) ->where('product_id', $details->product_id) ->whereNull('deleted_at') ->sum('quantity'); } else { $requisitonQuantity = $details->quantity; } @endphp @if ($isBarcodeStatus == 'false') @else {{-- @php dd($isAccessAllowAreaZonalManager,$roletype); @endphp --}} @if ( ($roletype == 'Branch User' && $BranchID != $log_branch_id && $data->status == null) || (Auth::user()->id == 1 && $data->status == null)) @elseif($isAccessAllowAreaZonalManager == true || $roletype == 'Admin User') @if (($data->status != 1 && $data->manager_approved != 1) || ($data->status != 0 && $data->manager_approved != 0)) @else @endif @else @endif @endif @php $t_qty += $requisitonQuantity; $t_amount += $requisitonQuantity * $details->costPrice; @endphp @endforeach
SL No. Product Name Brand Model BarcodePID Number Product Information
Qty Unit Price Total Price @if ($roletype == 'Branch User' || $roletype == 'Head Office') Status @endif
{{ ++$no }} {{ $details->product->name }} {{ $details->product->brand->name }} {{ $details->product->model->name }} @if (isset($details->product->barcode)) {{ $details->product->barcode }} @endif @if (($roletype == 'Branch User' || $roletype == 'Head Office') && $details->transfer_status != 1) @if (isset($details->barcode->barcode_serial)) {{ $details->barcode->barcode_serial }} @else @if ($BranchID != $log_branch_id) @endif @endif @else @if (isset($details->barcode->barcode_serial)) {{ $details->barcode->barcode_serial }} @endif @endif {{ $requisitonQuantity }}/home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 179
,
Warning: Undefined variable $details in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 179

Warning: Attempt to read property "product_id" on null in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 179
,
Warning: Undefined variable $details in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 179

Warning: Attempt to read property "requisitionTo" on null in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 179
)" /> /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 183
" min="1" readonly /> /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 188
" min="1" readonly /> /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 194

Warning: Undefined variable $requisitonQuantity in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 194
0" min="1" readonly />
/home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 203
,
Warning: Undefined variable $details in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 203

Warning: Attempt to read property "product_id" on null in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 203
,
Warning: Undefined variable $details in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 203

Warning: Attempt to read property "requisitionTo" on null in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 203
)" /> /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 208
" min="1" readonly /> /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 214
" min="1" readonly /> /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 220

Warning: Undefined variable $requisitonQuantity in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 220
0" min="1" readonly />
{{ $requisitonQuantity }} {{ $requisitonQuantity }} /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 234
"> {{ number_format($details->costPrice, 2) }}
/home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 237
"> {{ number_format($requisitonQuantity * $details->costPrice, 2) }}
@if (($roletype == 'Branch User' && $details->transfer_status != 1) || $roletype == 'Head Office') @if ($details->requisitionFrom != $log_branch_id && $details->status == null) Warning: Undefined variable $details in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 245

Warning: Attempt to read property "status" on null in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 245
/> @else @php if ($details->status == null): echo ''; elseif ($details->status == 1): echo ''; else: echo ''; endif; @endphp @endif @endif
Total {{ $t_qty }} Total {{ number_format($t_amount, 2) }}
{{-- {{dd($roletype)}} --}} @if ( ($roletype == 'Branch User' && $BranchID != $log_branch_id && $data->status == null) || (Auth::user()->id == 1 && $data->status == null))
Warning: Undefined variable $data in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 317

Warning: Attempt to read property "status" on null in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 317
required /> Approve    Warning: Undefined variable $data in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 319

Warning: Attempt to read property "status" on null in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 319

Warning: Undefined variable $data in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 319

Warning: Attempt to read property "status" on null in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 319
/> Reject
Close
@elseif($isAccessAllowAreaZonalManager == true || $roletype == 'Admin User') @if (($data->status != 1 && $data->manager_approved != 1) || ($data->status != 0 && $data->manager_approved != 0))
Warning: Undefined variable $data in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 368

Warning: Attempt to read property "manager_approved" on null in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 368
required /> Approve    Warning: Undefined variable $data in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 370

Warning: Attempt to read property "manager_approved" on null in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 370

Warning: Undefined variable $data in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 370

Warning: Attempt to read property "manager_approved" on null in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transferRequisition/approve.blade.php on line 370
/> Reject
Close
@endif @endif {!! Form::close() !!}