@extends('layouts.main') @section('page-title') {{__('Customer Statement')}} @endsection @push('scripts') @endpush @section('page-breadcrumb') {{__('Customer')}}, {{$customer['name']}}, {{__('Customer Statement')}} @endsection @section('page-action')
@endsection @section('content'){{__('Date')}} | {{__('Invoice')}} | {{__('Payment Type')}} | {{__('Amount')}} | ||
---|---|---|---|---|---|
{{company_date_formate($payment->date)}} | {{\App\Models\Invoice::invoiceNumberFormat($payment->invoice_id)}} | {{$payment->payment_type}} | {{currency_format_with_sym(($payment->amount))}} | ||
{{__('No Data Found')}} |
|||||
{{__('TOTAL :')}} | @foreach($invoice_payment as $key=>$payment) @php $total += $payment->amount; @endphp @endforeach | {{currency_format_with_sym($total)}} |