Files
crosscode-platform/apps/events/frontend/src/content/help/dashboard-admin-cashup.tsx
T
joshuaandClaude Opus 5.5 6725005c86 Take cash deposit fees out of the counted cash
A bank charge on a cash deposit comes out of cash that was counted and
banked, so cash on hand is now the count less what reached the bank and
any bank-charge write-off. Before, a deposit fee showed as money "more
than expected".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 13:29:17 +02:00

80 lines
4.3 KiB
TypeScript

import React from "react";
import { Wallet, DollarSign, ClipboardCheck, FileBarChart, Lock } from "lucide-react";
import { GuideItem } from "@/components/shared/GuideItem";
import type { HelpContent } from "./types";
/** Help content for /dashboard/admin/cashup (the event list). */
export const dashboardAdminCashupHelpContent: HelpContent = {
title: "Event cashup help",
subtitle: "Set costs, reconcile takings, and close out an event.",
tabs: [
{
key: "overview",
label: "Overview",
icon: Wallet,
content: (
<div className="space-y-4">
<p>This list shows every event you can run a cashup on. Search, or toggle Past, Inactive, and Closed events (closed ones are hidden by default). Each row shows an Open or Closed badge — tap a row to open its cashup.</p>
</div>
),
},
],
};
/** Help content for /dashboard/admin/cashup/[id] (the cashup detail page). */
export const dashboardAdminCashupDetailHelpContent: HelpContent = {
title: "Cashup help",
subtitle: "Costs, reconciliation, and the final report — one event at a time.",
tabs: [
{
key: "costs",
label: "Costs",
icon: DollarSign,
content: (
<div className="space-y-4">
<p>Add every cost for the event — a label, whether it&apos;s a once-off amount or charged per ticket sold, an amount, and optionally which payment method it was paid from. A running total is shown as you go.</p>
<p className="text-xs text-gray-500">Costs lock once the event is closed.</p>
</div>
),
},
{
key: "reconciliation",
label: "Reconciliation",
icon: ClipboardCheck,
content: (
<div className="space-y-4">
<p>For each payment method (cash, card, EFT, other) you say where the expected money ended up. Expected is what was taken, less any costs paid out of that method.</p>
<ul className="list-disc pl-5 space-y-1">
<li><strong>In bank</strong>: card settlements, EFTs on the statement, cash that was deposited.</li>
<li><strong>Cash on hand</strong>: cash not deposited yet.</li>
<li><strong>Pending</strong>: on the card machine or Yoco report, or you have a proof of payment, but it isn&apos;t in the bank yet. Add the report or POP reference.</li>
<li><strong>Write-offs</strong>: money that&apos;s gone, such as card fees, bank charges or a cash shortfall. Write-offs come off net profit and show as &quot;Bank &amp; card charges&quot; in the reports.</li>
</ul>
<p>Each method shows what&apos;s still <strong>unaccounted</strong>. You can close with an unaccounted amount, but you&apos;ll be warned and it comes off profit.</p>
<div className="space-y-4">
<GuideItem icon={ClipboardCheck} title="Cash accountability" tone="amber">
Counted cash comes from the staff cash-count panel below, where each staff member enters their physical cash by denomination. When counts are entered, cash on hand is the count less what reached the bank and any deposit fee (written off as a bank charge).
</GuideItem>
<GuideItem icon={Wallet} title="Pending money after closing" tone="blue">
Once the event is closed, pending money shows as outstanding. When it reaches the bank, use Mark received; if it never will, use Write off. You don&apos;t need to reopen the event.
</GuideItem>
<GuideItem icon={Lock} title="Closing the event" tone="rose">
Save draft keeps working on it later; Quick close skips the settlement; Close event with cashup locks everything in. A closed event can be Reopened if something needs fixing, and the next cashup starts from the last one. Both actions are logged in the History panel.
</GuideItem>
</div>
</div>
),
},
{
key: "report",
label: "Report",
icon: FileBarChart,
content: (
<div className="space-y-4">
<p>A read-only summary of where the money ended up by method (in bank, on hand, pending, written off, unaccounted), write-offs, denomination breakdown, staff cash accountability, costs, donations, and net profit. This becomes the default view automatically once the event is closed.</p>
</div>
),
},
],
};