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

{{ __($pageTitle) }}

@endsection @push('head-script') @endpush @section('content')
@lang('app.product') @lang('app.purchase')
{!! Form::open(['id'=>'storePayments','class'=>'ajax-form','method'=>'POST']) !!}
{{--
--}} {{----}} {{--
--}} {{--
--}} {{--
--}} {{----}} {{--
--}} {{--
--}} {{--
--}} {{--
--}}
{{ $invoiceSetting->invoice_prefix }}#{{ $zero }}

@if(sizeof($products) == 0)
@lang("messages.addItem")
@endif
@lang('modules.invoices.item')
@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) && $items->taxes != "null" && 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')

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