2025-09-17 09:46:58 +00:00
|
|
|
|
import { FiCheck, CheckStatusEnum, TypeEnum } from '../types/fi'
|
|
|
|
|
|
import { mockCurrentAccounts } from './mockCurrentAccounts'
|
2025-09-15 09:31:47 +00:00
|
|
|
|
|
|
|
|
|
|
export const mockChecks: FiCheck[] = [
|
|
|
|
|
|
{
|
2025-09-17 09:46:58 +00:00
|
|
|
|
id: '1',
|
|
|
|
|
|
checkNumber: 'CHK-001',
|
|
|
|
|
|
bankName: 'İş Bankası',
|
|
|
|
|
|
branchName: 'Levent Şubesi',
|
|
|
|
|
|
accountNumber: '1234567890',
|
|
|
|
|
|
type: TypeEnum.Received,
|
|
|
|
|
|
drawerName: 'XYZ Müşteri A.Ş.',
|
|
|
|
|
|
payeeName: 'ABC Şirket',
|
|
|
|
|
|
issueDate: new Date('2024-01-15'),
|
|
|
|
|
|
dueDate: new Date('2024-02-15'),
|
2025-09-15 09:31:47 +00:00
|
|
|
|
amount: 25000,
|
2025-09-17 09:46:58 +00:00
|
|
|
|
currency: 'TRY',
|
2025-09-15 09:31:47 +00:00
|
|
|
|
status: CheckStatusEnum.InHand,
|
2025-09-17 09:46:58 +00:00
|
|
|
|
currentAccountId: '1',
|
|
|
|
|
|
currentAccount: mockCurrentAccounts.find((ca) => ca.id === '1'),
|
|
|
|
|
|
creationTime: new Date('2024-01-15'),
|
|
|
|
|
|
lastModificationTime: new Date('2024-01-15'),
|
2025-09-15 09:31:47 +00:00
|
|
|
|
},
|
|
|
|
|
|
{
|
2025-09-17 09:46:58 +00:00
|
|
|
|
id: '2',
|
|
|
|
|
|
checkNumber: 'CHK-002',
|
|
|
|
|
|
bankName: 'Garanti BBVA',
|
|
|
|
|
|
branchName: 'Şişli Şubesi',
|
|
|
|
|
|
accountNumber: '9876543210',
|
|
|
|
|
|
type: TypeEnum.Issued,
|
|
|
|
|
|
drawerName: 'ABC Şirket',
|
|
|
|
|
|
payeeName: 'Tedarikçi Ltd.',
|
|
|
|
|
|
issueDate: new Date('2024-01-10'),
|
|
|
|
|
|
dueDate: new Date('2024-02-10'),
|
2025-09-15 09:31:47 +00:00
|
|
|
|
amount: 15000,
|
2025-09-17 09:46:58 +00:00
|
|
|
|
currency: 'TRY',
|
2025-09-15 09:31:47 +00:00
|
|
|
|
status: CheckStatusEnum.Deposited,
|
2025-09-17 09:46:58 +00:00
|
|
|
|
bankingDate: new Date('2024-01-20'),
|
|
|
|
|
|
currentAccountId: '2',
|
|
|
|
|
|
currentAccount: mockCurrentAccounts.find((ca) => ca.id === '2'),
|
|
|
|
|
|
creationTime: new Date('2024-01-10'),
|
|
|
|
|
|
lastModificationTime: new Date('2024-01-20'),
|
2025-09-15 09:31:47 +00:00
|
|
|
|
},
|
2025-09-17 09:46:58 +00:00
|
|
|
|
]
|