diff --git a/src/pages/notification/hooks/ManageNotificationContext.tsx b/src/pages/notification/hooks/ManageNotificationContext.tsx
index 4c1a754..e40e41b 100644
--- a/src/pages/notification/hooks/ManageNotificationContext.tsx
+++ b/src/pages/notification/hooks/ManageNotificationContext.tsx
@@ -8,6 +8,8 @@ import { useCallApi } from '@/hooks';
import moment from 'moment';
interface SelectedNotification {
+ all_customers: string;
+ customer_name: string;
id: string;
content: string;
subject: string;
@@ -62,6 +64,21 @@ const ManageNotifContextProvider = ({ children }: { children: React.ReactNode })
const columns = useMemo[]>(
() => [
+ {
+ accessorFn: (row) => {
+ if (row.all_customers === 'Y') {
+ return 'All Customers';
+ }
+ return row.customer_name || '';
+ },
+ id: 'send',
+ header: ({ column }) => ,
+ enableSorting: false,
+ enableHiding: false,
+ meta: {
+ headerClassName: 'w-[200px]'
+ }
+ },
{
accessorFn: (row) => row.content,
id: 'content',