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


@if ($isBarcodeStatus == 'false') @endif @php $no=0; $t_qty = $t_amount = 0; $BranchID = 0; @endphp @foreach($data->transfer_details as $details) @php $BranchID = $details->branchId; @endphp @php $transferQuantity = 0; if ($isBarcodeStatus == 'true') { $transferQuantity = App\Models\pos\Transaction\Pos_transfer_details::where('transferId', $details->transferId) ->where('transferProductId', $details->transferProductId) ->whereNull('deleted_at') ->sum('transferQuantity'); } else { $transferQuantity = $details->transferQuantity; } @endphp @if ($isBarcodeStatus == 'false') @endif @php $t_qty += $transferQuantity; $t_amount += $transferQuantity*$details->costPrice; @endphp @endforeach
SL No. Product Name BarcodePID Number Product Information
Qty Unit Price Total Price
{{++$no}} {{$details->product->name}} @if(isset($details->product->barcode)) {{ $details->product->barcode }} @endif @if(isset($details->barcode->barcode_serial)) {{ $details->barcode->barcode_serial }} @else N/A @endif {{ $transferQuantity }} {{number_format($details->costPrice, 2)}} {{number_format($transferQuantity*$details->costPrice, 2)}}
Total {{$t_qty}} Total {{number_format($t_amount, 2)}}
{!! Form::open(array('url' => '', 'role' => 'form', 'class'=>'form-horizontal form-groups', 'id' => 'approveForm')) !!} {{-- @if( ($roletype == 'Branch User' && $data->transferTo == $log_branch_id && $data->status == '2' ) || (Auth::user()->id == 1)) --}} @if( ($data->transferTo == $log_branch_id && $data->status == '2' ) || (Auth::user()->id == 1))
Warning: Undefined variable $data in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transfer/approve.blade copy.php on line 171

Warning: Attempt to read property "status" on null in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transfer/approve.blade copy.php on line 171
required/>     Warning: Undefined variable $data in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transfer/approve.blade copy.php on line 172

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

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

Warning: Attempt to read property "status" on null in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/pos/transaction/transfer/approve.blade copy.php on line 172
checked/>
Close
@endif {!! Form::close() !!}
@endsection