Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
a5dd9244d3
commit
e80fe61178
@@ -21,9 +21,10 @@ import {
|
||||
SelectTrigger,
|
||||
SelectValue,
|
||||
} from "@/components/ui/select";
|
||||
import { Wallet, Plus, ArrowDownToLine, ArrowUpFromLine, Trash2, Loader2, Briefcase } from "lucide-react";
|
||||
import { Wallet, Plus, ArrowDownToLine, ArrowUpFromLine, Trash2, Loader2, Briefcase, Upload } from "lucide-react";
|
||||
import { formatCurrency, formatDate } from "@/lib/format";
|
||||
import { toast } from "sonner";
|
||||
import Papa from "papaparse";
|
||||
|
||||
interface Entry {
|
||||
id: string;
|
||||
@@ -218,6 +219,13 @@ export function TrustAccountPanel({
|
||||
<Button size="sm" variant="outline" onClick={() => setAdjustOpen("withdrawal")}>
|
||||
<ArrowUpFromLine className="h-3.5 w-3.5 mr-1" /> Withdraw
|
||||
</Button>
|
||||
<ImportTrustCsvButton
|
||||
clientId={clientId}
|
||||
defaultCaseId={caseId ?? null}
|
||||
cases={cases}
|
||||
userId={user?.id ?? null}
|
||||
onImported={load}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user