@extends('layouts/inventory_layout') @section('title', '| '.$moduleTitle) @section('content') @include('successMsg')
Transfer List    
{{$moduleTitle}}
Bill No : {{'TR'.$data->transfer_no}} Bill Date : {{date('d-m-Y', strtotime($data->transfer_date))}} From Branch : {{($data->inv_branch) ? $data->inv_branch->name : 'N/A'}}
Total Quantity : {{$data->total_quantity}} To Branch : {{($data->inv_to_branch) ? $data->inv_to_branch->name : 'N/A'}}


@php $no=0; $t_qty = $t_amount = 0; @endphp @foreach($data->inv_transfer_details as $details) @php $purchaseBarcodeQuantity = 0; $purchaseBarcodeQuantity = $details->quantity; @endphp {{-- --}} {{-- --}} @php $t_qty += $purchaseBarcodeQuantity; $t_amount += ($purchaseBarcodeQuantity * $details->cost_price); @endphp @endforeach {{-- --}}
SL No. Product Name Model Name Uom Name Quantity
{{++$no}} {{$details->inv_product->name}} {{$details->inv_product->inv_model->name}} {{$details->inv_product->inv_uom->name}} {{$purchaseBarcodeQuantity}}{{number_format($details->cost_price, 2)}}{{number_format($purchaseBarcodeQuantity * $details->cost_price, 2)}}
Total {{$t_qty}}Total {{number_format($t_amount, 2)}}
@endsection