Archived
Events can allow sponsorships: a "Sponsor a spot" button lets anyone (guests included) pay through Yoco for whole spots or a custom amount, anonymously or with a name and message. Payments land as event donations in a sponsorship pool that supervisors assign with the existing donation flow. Adds optional public progress towards a goal, a sponsor receipt and Automations thank-you, pool columns in the Donations report, and sponsorship labels/filter in Payments. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
49 lines
2.4 KiB
TypeScript
49 lines
2.4 KiB
TypeScript
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: (
|
|
<div className="space-y-4">
|
|
<div className="space-y-4">
|
|
<GuideItem icon={Wallet} title="Payment" tone="brand">
|
|
Record a manual payment against a registration or a donation, with amount, method, and an optional backdated time.
|
|
</GuideItem>
|
|
<GuideItem icon={RotateCcw} title="Refund" tone="rose">
|
|
Refund a specific payment or a registration — pick the user, target, amount and method, and a reason.
|
|
</GuideItem>
|
|
<GuideItem icon={HandHeart} title="Donations" tone="rose">
|
|
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.
|
|
</GuideItem>
|
|
<GuideItem icon={ScanLine} title="Reconcile" tone="green">
|
|
Match unreconciled Yoco card transactions to a registration, log them as a donation, or ignore them.
|
|
</GuideItem>
|
|
<GuideItem icon={Link2} title="Payment Link" tone="violet">
|
|
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.
|
|
</GuideItem>
|
|
</div>
|
|
</div>
|
|
),
|
|
},
|
|
{
|
|
key: "sidebar",
|
|
label: "Today panel",
|
|
icon: Wallet,
|
|
content: (
|
|
<div className="space-y-4">
|
|
<p>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.</p>
|
|
</div>
|
|
),
|
|
},
|
|
],
|
|
};
|