erp-platform/ui/src/mocks/mockChecks.ts
2025-09-17 12:46:58 +03:00

44 lines
1.3 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { FiCheck, CheckStatusEnum, TypeEnum } from '../types/fi'
import { mockCurrentAccounts } from './mockCurrentAccounts'
export const mockChecks: FiCheck[] = [
{
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'),
amount: 25000,
currency: 'TRY',
status: CheckStatusEnum.InHand,
currentAccountId: '1',
currentAccount: mockCurrentAccounts.find((ca) => ca.id === '1'),
creationTime: new Date('2024-01-15'),
lastModificationTime: new Date('2024-01-15'),
},
{
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'),
amount: 15000,
currency: 'TRY',
status: CheckStatusEnum.Deposited,
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'),
},
]