@extends('dashboard.master') @section('title', 'Money Receipt Details') @section('content') @push('css') @endpush
বেতন বিস্তারিত
{{-- Edit --}} Receipt List {{-- Print --}}
Receipt No {{ $data->receipt_no ?? '--' }} Date {{ $data->date ?? '--' }}
নাম/Name {{ $data->student_name ?? '--' }} ক্লাস/Class {{ $data->class_name ?? '--' }}
সেশন/Session {{ $data->session_name ?? '--' }} মাস/Month {{ $data->month ?? '--' }}
মোট টাকা/Total Amount {{ $data->total_amount ?? '--' }} টাকা পরিশোধ করা টাকা/Received Amount {{ $data->receive_amount ?? '--' }} টাকা
ডিসকাউন্ট টাকা/Discount Amount {{ $data->discount_amount ?? '--' }} টাকা বাকি টাকা/Due Amount {{ $data->due_amount ?? '--' }} টাকা
@if (isset($previousPayments) && $previousPayments->count() > 0)
পূর্বে পরিশোধিত / Previously Paid
@foreach ($previousPayments as $key => $prevPayment) @endforeach
SN রসিদ নং / Receipt No তারিখ / Date মোট টাকা / Total Amount পরিশোধিত টাকা / Paid Amount ডিসকাউন্ট / Discount বাকি / Due
{{ $key + 1 }} {{ $prevPayment->receipt_no ?? '--' }} {{ $prevPayment->date ? \Carbon\Carbon::parse($prevPayment->date)->format('d/m/Y') : '--' }} {{ number_format((float)($prevPayment->total ?? 0), 2) }} টাকা {{ number_format((float)($prevPayment->current_receive ?? $prevPayment->amount ?? 0), 2) }} টাকা {{ number_format((float)($prevPayment->discount ?? 0), 2) }} টাকা {{ number_format((float)($prevPayment->due ?? 0), 2) }} টাকা
মোট / Total: {{ number_format($previousPayments->sum(function($p) { return (float)($p->total ?? 0); }), 2) }} টাকা {{ number_format($previousPayments->sum(function($p) { return (float)($p->current_receive ?? $p->amount ?? 0); }), 2) }} টাকা {{ number_format($previousPayments->sum(function($p) { return (float)($p->discount ?? 0); }), 2) }} টাকা {{ number_format($previousPayments->sum(function($p) { return (float)($p->due ?? 0); }), 2) }} টাকা
@endif
বর্তমান পরিশোধের বিস্তারিত / Current Payment Details
@if ($fundDetailType) @foreach ($fundDetailType as $key => $value) @endforeach
SN Type Date Month Total Amount Received Amount Discount Amount Due Amount Action
{{ $key + 1 }} {{ $value->fee_type ?? '--' }} {{ $value->date ?? '--' }} {{ $value->month ?? '--' }} {{ $value->total ?? '--' }} টাকা {{ $value->receive ?? '--' }} টাকা {{ $value->discount ?? '--' }} টাকা {{ $value->due ?? '--' }} টাকা {{-- @dd($value->fundDetail) --}}
@endif
@push('js') @endpush @endsection