Update ViewLocationCard to use new combined proof download route
Changed proof of payment download link from old route structure /share/proof-of-payment/[id]/ to new structure /share/proof-of-payment/combined/[id]/ This aligns with the reorganized route structure that separates combined and per-bill proof of payment downloads. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -186,7 +186,7 @@ export const ViewLocationCard: FC<ViewLocationCardProps> = ({ location, userSett
|
|||||||
attachmentFilename ? (
|
attachmentFilename ? (
|
||||||
<div className="mt-3 ml-[-.5rem]">
|
<div className="mt-3 ml-[-.5rem]">
|
||||||
<Link
|
<Link
|
||||||
href={`/share/proof-of-payment/${_id}/`}
|
href={`/share/proof-of-payment/combined/${_id}/`}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
className='text-center w-full max-w-[20rem] text-nowrap truncate inline-block'
|
className='text-center w-full max-w-[20rem] text-nowrap truncate inline-block'
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user