• {{ in_array($history->activity_type, ['paid_for_appointment', 'wallet_deduction']) ? __('frontend.debit') : __('frontend.credit') }}
    {{ __(key: 'frontend.' . strtolower($history->activity_type)) }} #{{ json_decode($history->activity_data, true)['appointment_id'] ?? '' }}
    {{ Currency::format($creditDebitAmount, 2) }}
    {{ formatDate($history->datetime) }}