@extends('layouts.client-app') @section('page-title')

{{ __($pageTitle) }}

@endsection @push('head-script') @endpush @section('content')
@lang('app.product') @lang('app.purchase')
@csrf

@if(sizeof($products) == 0)
@lang("messages.addItem")
@endif
@lang('modules.invoices.item')
@if($invoiceSetting->hsn_sac_code_show)
@lang('modules.invoices.hsnSacCode')
@endif
@lang('modules.invoices.qty')
@lang('modules.invoices.unitPrice')
@lang('modules.invoices.tax')
@lang('modules.invoices.amount')
 
@foreach($products as $key => $items)
{{ $items->name }}
{{ $items->description }}
@if($invoiceSetting->hsn_sac_code_show)
@endif
{{ $items->price }}
@php $flag = 0; @endphp @foreach($taxes as $tax) @if (isset($items->taxes) && array_search($tax->id, json_decode($items->taxes)) !== false) {{ $tax->tax_name }}: {{ $tax->rate_percent }}% @php $flag = 1; @endphp @endif @endforeach @if ($flag == 0) NA @endif

0

@endforeach
@lang('modules.invoices.subTotal')

@lang('modules.invoices.tax')

@lang('modules.invoices.total')

{{--Ajax Modal--}} {{--Ajax Modal Ends--}} @endsection @push('footer-script') @if (request()->get('product') != "") @endif @endpush