@extends('admin.admin_master') @section('admin')

Customer Payment Report

Invoice No # {{ $payment['invoice']['invoice_no'] }}

logo Kalyani's Solvex Pvt. Ltd.


Kalyani's Solvex Pvt. Ltd.:
Kolkata
support@kalyani.com
Invoice Date:
{{ date('d-m-Y', strtotime($payment['invoice']['date'])) }}

Customer Invoice

Customer Name Customer Mobile Address
{{ $payment['customer']['name'] }} {{ $payment['customer']['mobile_no'] }} {{ $payment['customer']['email'] }}
@php $total_sum = '0'; $invoice_details = App\Models\InvoiceDetail::where('invoice_id', $payment->invoice_id)->get(); @endphp @foreach ($invoice_details as $key => $details) @php $total_sum += $details->selling_price; @endphp @endforeach @php $payment_details = App\Models\PaymentDetail::where('invoice_id', $payment->invoice_id)->get(); @endphp @foreach ($payment_details as $item) @endforeach
Sl Category Product Name Current Stock Quantity Unit Price Total Price
{{ $key + 1 }} {{ $details['category']['name'] }} {{ $details['product']['name'] }} {{ $details['product']['quantity'] }} {{ $details->selling_qty }} {{ $details->unit_price }} {{ $details->selling_price }}
Subtotal ₹ {{ $total_sum }}
GST (5%) ₹ {{ $payment->discount_amount }}
Paid Amount ₹ {{ $payment->paid_amount }}
Due Amount ₹ {{ $payment->due_amount }}
Grand Amount

₹ {{ $payment->total_amount }}

Paid Summary
Date Amount
{{ date('d-m-Y', strtotime($item->date)) }} {{ $item->current_paid_amount }}
@endsection