'use client';

// import { dayjs } from 'dayjs';
import type { Payment } from '@/types/Payment';
import { dayjs } from '@/lib/dayjs';

export const SamplePayments: Payment[] = [
  {
    currency: 'USD',
    amount: 500,
    invoiceId: 'INV-005',
    status: 'completed',
    createdAt: dayjs().subtract(5, 'minute').subtract(1, 'hour').toDate(),
  },
  {
    currency: 'USD',
    amount: 324.5,
    invoiceId: 'INV-004',
    status: 'refunded',
    createdAt: dayjs().subtract(21, 'minute').subtract(2, 'hour').toDate(),
  },
  {
    currency: 'USD',
    amount: 746.5,
    invoiceId: 'INV-003',
    status: 'completed',
    createdAt: dayjs().subtract(7, 'minute').subtract(3, 'hour').toDate(),
  },
  {
    currency: 'USD',
    amount: 56.89,
    invoiceId: 'INV-002',
    status: 'completed',
    createdAt: dayjs().subtract(48, 'minute').subtract(4, 'hour').toDate(),
  },
  {
    currency: 'USD',
    amount: 541.59,
    invoiceId: 'INV-001',
    status: 'completed',
    createdAt: dayjs().subtract(31, 'minute').subtract(5, 'hour').toDate(),
  },
];
