@foreach ($inventoryVouchers as $inventoryVoucher)
@if ($pageLogo != null) Logo @endif

Stock Entry

Company Details
Company Name : {{ $company->name }}
Mobile No : {{ $company->phone }}
Address : {{ $company->address }}
GST No : {{ $company->gst }}
Voucher Details
Date : {{ \Carbon\Carbon::parse($inventoryVoucher->voucher_date)->format('d M Y') }}
Voucher No : {{ $inventoryVoucher->voucher_number }}
Stock Location : {{ $inventoryVoucher->destinationLocation->name }}
@if ($company->show_remarks && $inventoryVoucher->remarks != null)
Remarks : {{ $inventoryVoucher->remarks }}
@endif

Items

@php $destinationItems = \App\Models\InventoryVoucherItem::where([ 'inventory_voucher_id' => $inventoryVoucher->id, 'flow' => 1, ])->get(); @endphp @foreach ($destinationItems as $key => $item) @endforeach
SN Item Qty Unit Price Total
{{ $key + 1 }} {{ $item->stockItem->name }} {{ $item->quantity }} {{ $item->unit->symbol }} {{ $item->price }} {{ $item->total }}
Total {{ number_format($destinationItems->sum('total'), 2) }}
@if ($inventoryVouchers->last() != $inventoryVoucher)
@endif @endforeach