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.
Match unreconciled Yoco card transactions to a registration, log them as a donation, or ignore them.
Generate a Yoco checkout link for a user to pay online — copy it or send by email/WhatsApp. 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.
),
},
],
};