Opening Stock
@php $base64Image = base64_encode(file_get_contents(public_path('assets/images/tyres_logo.png'))); @endphp Logo Tyres Planet PTY LTD

209 Mcroyle St, Wacol 4076
CALL: 07 3144 3131
CALL: 0488 413 131
E-mail: cst@tyresplanet.com.au

Opening Stock No: {{ $stockData['opening_stock_no'] }} Date: {{ $stockData['date'] }}
Total Items: {{ $stockData['total_item'] }} Total Price: ${{ number_format($stockData['total_price'], 2) }}
{{-- --}} @php $totalQty = 0; $totalAmount = 0; @endphp @foreach ($products as $index => $product) @php $totalQty += $product['quantity']; $totalAmount += $product['amount']; @endphp {{-- --}} @endforeach @for ($i = count($products); $i < 22; $i++) {{-- --}} @endfor
Sr Product NameHSNQuantity Price Amount
{{ $index + 1 }} {{ $product['name'] }}{{ $product['hsn'] }}{{ number_format($product['quantity'], 0) }} ${{ number_format($product['price'], 2) }} ${{ number_format($product['amount'], 2) }}
         
Total {{ $totalQty }} - ${{ number_format($totalAmount, 2) }}
@if($stockData['remark']) @endif
Amount in Words Total Amount: ${{ number_format($stockData['total_price'], 2) }}
{{ convert_number_to_words((int)$stockData['total_price']) }} Only
Remarks: {{ $stockData['remark'] }}
Thank You!