import React from "react"; import { Wallet, RotateCcw, HandHeart, ScanLine, Link2 } from "lucide-react"; import { GuideItem } from "@/components/shared/GuideItem"; import type { HelpContent } from "./types"; /** Help content for /dashboard/supervisor/payments. */ export const supervisorPaymentsHelpContent: HelpContent = { title: "Payments help", subtitle: "Record payments, refunds, donations, and reconcile card transactions.", tabs: [ { key: "modes", label: "The five modes", icon: Wallet, content: (
Record a manual payment against a registration or a donation, with amount, method, and an optional backdated time. Refund a specific payment or a registration — pick the user, target, amount and method, and a reason. Assign an unassigned donation to a registration with an outstanding balance. Donations can be partially allocated, leaving the remainder available for another registration. Money from "Sponsor a spot" is marked as a sponsorship. Tick "Only the sponsorship pool" to assign just those, and you'll see the sponsor's message. The Donations breakdown report shows each event's pool: received, assigned and remaining. Match unreconciled online payments (from Yoco, PayFast…) to a registration, log them as a donation, or ignore them. A payment of a different amount from its checkout lands here with a note — check it in the provider's dashboard first. "Waiting for payment" lists online checkouts with no payment yet: if someone paid but it hasn't shown up, press Check status (PayFast) — it's also checked automatically every 15 minutes. Yoco can't be checked automatically: find the payment in the Yoco portal. Generate an online payment link for a user — copy it or send by email/WhatsApp. It uses the default payment provider (Site settings → Payments). Online payments must be at least R15. Generating a new link invalidates the previous one.
), }, { key: "sidebar", label: "Today panel", icon: Wallet, content: (

The sidebar shows today's payment count, revenue, and donation count, plus a recent-payments feed. Internal donation-allocation entries are excluded there to avoid double-counting.

), }, ], };