feat(FE-208): create PurchaseDetail page with dummy data and integrate PurchaseRequestForm

This commit is contained in:
rstubryan
2025-11-04 11:22:52 +07:00
parent c790180e86
commit 3312a47f38
3 changed files with 127 additions and 13 deletions
@@ -40,7 +40,7 @@ const RowOptionsMenu = ({
return (
<RowOptionsMenuWrapper type={type}>
<Button
href={`/purchase/request/detail/?purchaseId=${props.row.original.id}`}
href={`/purchase/detail/?purchaseId=${props.row.original.id}`}
variant='ghost'
color='primary'
className='justify-start text-sm'
@@ -50,7 +50,7 @@ const RowOptionsMenu = ({
</Button>
<Button
href={`/purchase/request/detail/edit/?purchaseId=${props.row.original.id}`}
href={`/purchase/detail/edit/?purchaseId=${props.row.original.id}`}
variant='ghost'
color='warning'
className='justify-start text-sm'
@@ -294,7 +294,7 @@ const PurchaseTable = () => {
<div className='w-full flex flex-col xl:flex-row justify-between items-end xl:items-center gap-2'>
<div className='w-full sm:w-fit flex flex-col sm:flex-row self-start gap-2'>
<Button
href='/purchase/request/add'
href='/purchase/add'
variant='outline'
color='primary'
className='w-full sm:w-fit'