add suppliers

This commit is contained in:
Aya
2026-05-03 15:25:50 +03:00
parent 287401f1da
commit 8621096a82
10 changed files with 564 additions and 170 deletions

View File

@@ -337,15 +337,14 @@ export default function ManagedExpenseClaimsPage() {
<div className="space-y-1">
{claim.attachments.map((attachment) => (
<a
<button
key={attachment.id}
href={`${process.env.NEXT_PUBLIC_API_URL}/hr/portal/expense-claims/attachments/${attachment.id}/view`}
target="_blank"
rel="noreferrer"
className="block rounded-lg border bg-white px-3 py-2 text-sm text-blue-600 hover:underline"
type="button"
onClick={() => openAttachment(attachment)}
className="block w-full text-right rounded-lg border bg-white px-3 py-2 text-sm text-blue-600 hover:underline"
>
{attachment.originalName}
</a>
</button>
))}
</div>
</div>