@extends('layouts/pos_layout') @section('title', '| '.$moduleTitle) @section('content') @include('successMsg')
{{ $moduleLinkTitle }}    
{{ $moduleTitle }}
Transfer No : PTB{{$data->transferBillNo}} Transfer Date : {{date('d-m-Y', strtotime($data->transferDate))}}
Total Quantity : {{$data->totlaTransferQuantity}} Total Amount : {{number_format($data->totalTransterAmount, 2)}}
Transfer From : {{$data->fromBranch->name}} Transfer To : {{$data->toBranch->name}}


@if($isBarcodeStatus == 'false') @endif @php $no=0; $t_qty = $t_amount = 0; @endphp @foreach($data->transfer_details as $details) @php if($isBarcodeStatus == 'true'){ $transferQuantity = App\Models\pos\Transaction\PosProductTransferDetails::where('transferProductId',$details->transferProductId)->where('transferId',$details->transferId)->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 @if($isBarcodeStatus == 'false') @endif
SL No. Product Name Barcode Product Information
Qty Unit Price Total Price PID No.
{{++$no}} {{$details->product->name}} @if(isset($details->product->barcode)) {{ $details->product->barcode }} @endif {{ $transferQuantity }} {{number_format($details->costPrice, 2)}} {{number_format($transferQuantity*$details->costPrice, 2)}} @if(isset($details->barcode->barcode_serial)) {{ $details->barcode->barcode_serial }} @endif
Total {{$t_qty}} Total {{number_format($t_amount, 2)}}
@endsection