@@ -57,7 +59,7 @@ export const BillEditForm:FC
= ({ locationID, bill: { id, nam
//
attachment ?
-
+
{decodeURIComponent(attachment.fileName)}
diff --git a/app/ui/LocationCard.tsx b/app/ui/LocationCard.tsx
index 2961902..00bfa1a 100644
--- a/app/ui/LocationCard.tsx
+++ b/app/ui/LocationCard.tsx
@@ -3,11 +3,11 @@
import { Cog8ToothIcon, PlusCircleIcon } from "@heroicons/react/24/outline";
import { FC } from "react";
import { BillBadge } from "./BillBadge";
-import { Bill, Location } from "../lib/db-types";
+import { BillingLocation } from "../lib/db-types";
import { formatYearMonth } from "../lib/format";
export interface LocationCardProps {
- location: Location
+ location: BillingLocation
}
export const LocationCard:FC = ({location: { _id, name, yearMonth, bills }}) =>
@@ -19,9 +19,9 @@ export const LocationCard:FC = ({location: { _id, name, yearM
{
bills.map(bill => )
}
-
+