@include('reports._report_header') @php use App\Models\Setting; $settings = Setting::where('client_id', session('client_id'))->first(); @endphp @php if (!Session::has('lang') || session('lang') == null) { session()->put('lang', 1); } if (session('lang') == 1) { $lang = json_decode(file_get_contents(resource_path('lang/en.json')), true); } elseif (session('lang') == 2) { $lang = json_decode(file_get_contents(resource_path('lang/bn.json')), true); } elseif (session('lang') == 3) { $lang = json_decode(file_get_contents(resource_path('lang/ar.json')), true); } else { $lang = json_decode(file_get_contents(resource_path('lang/en.json')), true); } @endphp @if(session('lang') == 2) @include('reports._css_bangla') @endif
{{ $lang['Name'] }}: @if(session('settings.std_id') == 1 && !empty($student->std_id)) {{ session('lang') == 2 ? e2b($student->std_id) : $student->std_id }} - @endif {{ $student->name }} | {{ $lang['Class'] }}: {{ getClass($student->class) }} | {{ $lang['Roll'] }}: {{ session('lang') == 2 ? e2b($student->roll) : $student->roll }}
@if ($student->father != null){{ $lang['Father Name'] }}: {{ $student->father }} | {{ $lang['Mobile'] }}: {{ $student->mobile }} | {{ $lang['Address'] }}: {{ $student->address ?? '' }}
@endif @if(session('user.super_admin') == 'yes'){{ session('lang') == 2 ? 'বেতন (ছাত্র রেকর্ড)' : 'Tuition Fee (student record)' }}:
@endif|
{{-- Fees Allocated Table --}}
{{ session('lang') == 2 ? 'ফি বরাদ্দ' : 'FEES ALLOCATED' }}
|
{{-- Fees Paid Table --}}
{{ $lang['Fees Paid'] }}
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| {{ $lang['Total Fees'] }}: {{ session('lang') == 2 ? e2b(number_format(floatval($ttl_fee) + floatval($total_refund) + floatval($ob_crebit), 0)) : number_format(floatval($ttl_fee) + floatval($total_refund) + floatval($ob_crebit), 0) }} | {{ $lang['Total Fees Paid'] }}: {{ session('lang') == 2 ? e2b(number_format($total_bill_paid + $ob_debit + $total_return, 0)) : number_format($total_bill_paid + $ob_debit + $total_return, 0) }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| {{ session('lang') == 2 ? 'মোট বকেয়া' : 'Total Due' }}: {{ session('lang') == 2 ? e2b(number_format($total_due, 0)) : number_format($total_due, 0) }} | |||||||||||||||||||||||||||||||||||||||||||||||||||||