Pending Points Approvals

get_var("SHOW TABLES LIKE '{$wpdb->prefix}lrwc_pending_points'"); $row_count = $table_check ? $wpdb->get_var("SELECT COUNT(*) FROM {$wpdb->prefix}lrwc_pending_points") : 0; ?>
Debug: Table exists: | Total rows: | Query results: | Filter:
0): ?>
⚠️ request(s) pending approval

📋

No requests found.

When staff submit points requests, they will appear here for approval.

ID Date Customer Staff Invoice # Bill Amount Points Status Actions
#id); ?> created_at))); ?> customer_name); ?>
customer_email); ?>
staff_name); ?> invoice_number); ?> bill_amount, 0)); ?> +points)); ?> '#f59e0b', 'approved' => '#22c55e', 'rejected' => '#ef4444' ]; $color = $status_colors[$req->status] ?? '#6b7280'; ?> status)); ?> status !== 'pending' && $req->admin_name): ?>
by admin_name); ?> admin_note): ?>
Note: admin_note); ?>
status === 'pending'): ?>
status === 'approved'): ?> ✓ Approved
processed_at))); ?> ✕ Rejected
processed_at))); ?>