find in /osclass_pay/admin/log.php
(line 57)
if($l['fk_i_user_id'] <> '' && $l['fk_i_user_id'] > 0) {
delete everything until:
} else {
replace with:
// @SUDO MOD to display credits bal
$wallet = osp_get_wallet($l['fk_i_user_id']);
$credit = $wallet['formatted_amount'];
// @SUDO MOD to display credits bal
$user = User::newInstance()->findByPrimaryKey($l['fk_i_user_id']);
// @SUDO MOD to display credits bal
$utitle = osc_esc_html(@$user['s_name'] . '<br/>' . @$user['s_email'] . '<br/>' . __('Reg. date', 'osclass_pay') . ': ' . @$user['dt_reg_date']." Credit Bal ".$credit);
// $utitle = osc_esc_html(@$user['s_name'] . '<br/>' . @$user['s_email'] . '<br/>' . __('Reg. date', 'osclass_pay') . ': ' . @$user['dt_reg_date']);
// ENDOF @SUDO MOD to display credits bal
Figured it out and added. Hit me up if you want the MOD.
Would be good in admin panel (when displaying LOG for payments plugin) to add users wallet balance if any and membership level (if any) to tool tip displayed when hover over 'User ID' entry in row. If I figure out how to do it, will post MOD. It currently shows userID, email and reg date.
Cheers!
@Sudo