2025-09-17 09:46:58 +00:00
|
|
|
import { NoteStatusEnum, PromissoryNote, TypeEnum } from '../types/fi'
|
|
|
|
|
import { mockCurrentAccounts } from './mockCurrentAccounts'
|
2025-09-15 09:31:47 +00:00
|
|
|
|
|
|
|
|
export const mockPromissoryNotes: PromissoryNote[] = [
|
|
|
|
|
{
|
2025-09-17 09:46:58 +00:00
|
|
|
id: '1',
|
|
|
|
|
noteNumber: 'NOT-001',
|
|
|
|
|
type: TypeEnum.Received,
|
|
|
|
|
drawerName: 'Müşteri A.Ş.',
|
|
|
|
|
payeeName: 'ABC Şirket',
|
|
|
|
|
issueDate: new Date('2024-01-20'),
|
|
|
|
|
dueDate: new Date('2024-03-20'),
|
2025-09-15 09:31:47 +00:00
|
|
|
amount: 50000,
|
2025-09-17 09:46:58 +00:00
|
|
|
currency: 'TRY',
|
2025-09-15 09:31:47 +00:00
|
|
|
status: NoteStatusEnum.InHand,
|
2025-09-17 09:46:58 +00:00
|
|
|
location: 'Ana Kasa',
|
|
|
|
|
currentAccountId: '1',
|
|
|
|
|
currentAccount: mockCurrentAccounts.find((acc) => acc.id === '1'),
|
|
|
|
|
creationTime: new Date('2024-01-20'),
|
|
|
|
|
lastModificationTime: new Date('2024-01-20'),
|
2025-09-15 09:31:47 +00:00
|
|
|
},
|
|
|
|
|
{
|
2025-09-17 09:46:58 +00:00
|
|
|
id: '2',
|
|
|
|
|
noteNumber: 'NOT-002',
|
|
|
|
|
type: TypeEnum.Issued,
|
|
|
|
|
drawerName: 'ABC Şirket',
|
|
|
|
|
payeeName: 'Kefil A.Ş.',
|
|
|
|
|
issueDate: new Date('2024-01-05'),
|
|
|
|
|
dueDate: new Date('2024-03-05'),
|
2025-09-15 09:31:47 +00:00
|
|
|
amount: 30000,
|
2025-09-17 09:46:58 +00:00
|
|
|
currency: 'TRY',
|
2025-09-15 09:31:47 +00:00
|
|
|
status: NoteStatusEnum.Collected,
|
2025-09-17 09:46:58 +00:00
|
|
|
location: 'Banka',
|
|
|
|
|
collectionDate: new Date('2024-01-25'),
|
|
|
|
|
currentAccountId: '2',
|
|
|
|
|
currentAccount: mockCurrentAccounts.find((acc) => acc.id === '2'),
|
|
|
|
|
creationTime: new Date('2024-01-05'),
|
|
|
|
|
lastModificationTime: new Date('2024-01-25'),
|
2025-09-15 09:31:47 +00:00
|
|
|
},
|
2025-09-17 09:46:58 +00:00
|
|
|
]
|