@extends('layouts.master') @section('title') {{ __('receive_payment') }} @endsection @section('content')
| {{ __('user') }} | {{ __('charges') }} | {{ __('total_user') }} | {{ __('total_amount') }} ({{ $systemSettings['currency_symbol'] ?? '' }}) |
|---|---|---|---|
| {{ __('students') }} | {{ $student_charges }} | {{ $subscriptionBill->total_student }} | {{ number_format($student_charges * $subscriptionBill->total_student, 4) }} |
| {{ __('staffs') }}
{{ __('including_teachers_and_other_staffs') }}
|
{{ $staff_charges }} | {{ $subscriptionBill->total_staff }} | {{ number_format($staff_charges * $subscriptionBill->total_staff, 4) }} |
| {{ __('Total User Charges') }} | {{ $systemSettings['currency_symbol'] ?? '' }} {{ $total_user_charge }} | ||
| {{ __('addon_charges') }} | |||
| {{ __('addon') }} | {{ __('total_amount') }} ({{ $systemSettings['currency_symbol'] ?? '' }}) | ||
| {{ $addon->feature->name }} | {{ number_format($addon->price, 2) }} @if ($subscriptionBill->transaction && $subscriptionBill->transaction->payment_status == "succeed") @php $addon_charges += $addon->price; @endphp @else @php $addon_charges += $addon->price; @endphp @endif | ||
| {{ __('total_addon_charges') }} | {{ $systemSettings['currency_symbol'] ?? '' }} {{ number_format($addon_charges, 2) }} | ||
| {{ __('package_amount') }} | {{ $systemSettings['currency_symbol'] ?? '' }} {{ number_format(ceil(($subscriptionBill->amount) * 100) / 100, 2) }} | ||
| {{ __('total_bill_amount') }} | @if ($subscriptionBill->subscription->package_type == 1) {{ $systemSettings['currency_symbol'] ?? '' }} {{ number_format(ceil(($total_user_charge + $addon_charges) * 100) / 100, 2) }} @else {{ $systemSettings['currency_symbol'] ?? '' }} {{ number_format(ceil(($subscriptionBill->amount + $addon_charges) * 100) / 100, 2) }} @endif | ||