diff --git a/app/ui/ViewLocationCard.tsx b/app/ui/ViewLocationCard.tsx index 97a7a60..c06a526 100644 --- a/app/ui/ViewLocationCard.tsx +++ b/app/ui/ViewLocationCard.tsx @@ -8,6 +8,8 @@ import { useTranslations } from "next-intl"; import { ViewBillBadge } from "./ViewBillBadge"; import { Pdf417Barcode } from "./Pdf417Barcode"; import { PaymentParams } from "hub-3a-payment-encoder"; +import Link from "next/link"; +import { DocumentIcon } from "@heroicons/react/24/outline"; export interface ViewLocationCardProps { location: BillingLocation; @@ -75,6 +77,17 @@ export const ViewLocationCard:FC = ({location, userSettin : null } + + + potvrda-o-uplati.pdf + {/*decodeURIComponent(attachment.fileName)*/} + +
+ + +
); }; \ No newline at end of file diff --git a/messages/en.json b/messages/en.json index 89a7ebd..ec106d6 100644 --- a/messages/en.json +++ b/messages/en.json @@ -67,7 +67,8 @@ "payment-model-label": "Payment model:", "payment-reference-label": "Reference number:", "payment-purpose-code-label": "Purpose code:", - "payment-description-label": "Payment description:" + "payment-description-label": "Payment description:", + "upload-proof-of-payment-label": "Upload proof of payment:" }, "month-card": { "payed-total-label": "Total monthly expenditure:", diff --git a/messages/hr.json b/messages/hr.json index e625404..d0edbb2 100644 --- a/messages/hr.json +++ b/messages/hr.json @@ -67,7 +67,8 @@ "payment-model-label": "Model plaćanja:", "payment-reference-label": "Poziv na broj:", "payment-purpose-code-label": "Šifra namjene:", - "payment-description-label": "Opis plaćanja:" + "payment-description-label": "Opis plaćanja:", + "upload-proof-of-payment-label": "Priložite potvrdu o uplati:" }, "month-card": { "payed-total-label": "Ukupni mjesečni trošak:",