mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
feat(FE-272): adding DO PDF export
This commit is contained in:
@@ -32,6 +32,7 @@ import { useRouter } from 'next/navigation';
|
||||
import { useState } from 'react';
|
||||
import toast from 'react-hot-toast';
|
||||
import SalesOrderExport from '@/components/pages/marketing/pdf/SalesOrderExport';
|
||||
import DeliveryOrderExport from '../pdf/DeliveryOrderExport';
|
||||
|
||||
const MarketingDetail = ({
|
||||
initialValues,
|
||||
@@ -386,10 +387,10 @@ const MarketingDetail = ({
|
||||
/>
|
||||
</Card>
|
||||
<div className='flex flex-row gap-3 my-3'>
|
||||
<Button className='py-2 px-3 font-medium text-md'>
|
||||
<Icon icon='mdi:file-pdf' width={16} height={16} />
|
||||
{delivery.do_number}
|
||||
</Button>
|
||||
<DeliveryOrderExport
|
||||
data={initialValues}
|
||||
deliveryOrder={delivery}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user