@extends('layouts.printzak') @section('pageSize','A4') @section('content') @foreach($company as $com => $c)
TAX INVOICE
@endforeach @foreach($data as $k => $v) @php $slno = 1 @endphp
@php $stringvalue =$v['customer_details']['address']; $str_arr = explode (",", $stringvalue); $result = count($str_arr); @endphp
Cust Details الزبون:
{{$v['customer_details']['name']}}
PO No: {{$v['ponumber']}}
رقم /Invoice No : {{$v['bill_no']}}
@for ($i = 0; $i < $result; $i++) {{$str_arr[$i]}}
@endfor
PO Date: {{$v['po_date']}}
تاريخ /Invoice Date : {{$v['bill_date']}}
VAT No : {{$v['customer_details']['gstin']}}
نوع /Payment Mode : {{$v['payment_mode']}}
SL.No
رقم
Description
اسم المنتج
Qty
كمية
Unit
وحدة
Price
اسعر الوحده
Total Price
اسعر الإجمالي
@foreach($v['sold_items'] as $vv)
@php echo $slno @endphp
@php $myString = $vv['item_details']['name']; $myArray = explode('?', $myString); $result = count($myArray); @endphp @for ($i = 0; $i < $result; $i++) {{$myArray[$i]}}
@endfor
{{$vv['quantity']}}
{{$vv['mesuring_details']['name']}}
{{$vv['price_per_quantity']}}
{{$vv['total']}}
@php $slno++ @endphp @endforeach
For MY COMPANY

Authorised Signatory

@endforeach