115 lines
3.4 KiB
TypeScript
115 lines
3.4 KiB
TypeScript
import { AccountTypeEnum, FiCurrentAccount, RiskGroupEnum } from "../types/fi";
|
||
import { mockBusinessParties } from "./mockBusinessParties";
|
||
|
||
export const mockCurrentAccounts: FiCurrentAccount[] = [
|
||
{
|
||
id: "1",
|
||
accountCode: "CA001",
|
||
businessPartyId: "1",
|
||
businessParty: mockBusinessParties.find((bp) => bp.id === "1"),
|
||
type: AccountTypeEnum.Supplier,
|
||
taxNumber: "1234567890",
|
||
taxOffice: "Beylikdüzü V.D.",
|
||
contactPerson: "Ahmet Yılmaz",
|
||
phone: "+90 212 555 1234",
|
||
email: "info@abctedarik.com",
|
||
address: "Beylikdüzü Organize Sanayi Bölgesi, İstanbul",
|
||
creditLimit: 50000,
|
||
balance: -15000,
|
||
currency: "TRY",
|
||
riskGroup: RiskGroupEnum.Low,
|
||
paymentTerm: 30,
|
||
isActive: true,
|
||
creationTime: new Date("2024-01-15"),
|
||
lastModificationTime: new Date("2024-01-20"),
|
||
lastTransactionDate: new Date("2024-11-01"),
|
||
},
|
||
{
|
||
id: "2",
|
||
accountCode: "CA002",
|
||
businessPartyId: "2",
|
||
businessParty: mockBusinessParties.find((bp) => bp.id === "2"),
|
||
type: AccountTypeEnum.Customer,
|
||
taxNumber: "9876543210",
|
||
taxOffice: "Kadıköy V.D.",
|
||
contactPerson: "Fatma Demir",
|
||
phone: "+90 216 888 5678",
|
||
email: "satis@xyzmuster.com",
|
||
address: "Kadıköy, İstanbul",
|
||
creditLimit: 100000,
|
||
balance: 25000,
|
||
currency: "TRY",
|
||
riskGroup: RiskGroupEnum.Medium,
|
||
paymentTerm: 45,
|
||
isActive: true,
|
||
creationTime: new Date("2024-02-01"),
|
||
lastModificationTime: new Date("2024-02-10"),
|
||
lastTransactionDate: new Date("2024-11-02"),
|
||
},
|
||
{
|
||
id: "3",
|
||
accountCode: "CA003",
|
||
businessPartyId: "3",
|
||
businessParty: mockBusinessParties.find((bp) => bp.id === "3"),
|
||
type: AccountTypeEnum.Both,
|
||
taxNumber: "5555666677",
|
||
taxOffice: "Ümraniye V.D.",
|
||
contactPerson: "Mehmet Kaya",
|
||
phone: "+90 216 333 4455",
|
||
email: "info@definsaat.com",
|
||
address: "Ümraniye, İstanbul",
|
||
creditLimit: 75000,
|
||
balance: 8500,
|
||
currency: "TRY",
|
||
riskGroup: RiskGroupEnum.Low,
|
||
paymentTerm: 30,
|
||
isActive: true,
|
||
creationTime: new Date("2024-03-10"),
|
||
lastModificationTime: new Date("2024-03-15"),
|
||
lastTransactionDate: new Date("2024-11-03"),
|
||
},
|
||
{
|
||
id: "4",
|
||
accountCode: "CA004",
|
||
businessPartyId: "4",
|
||
businessParty: mockBusinessParties.find((bp) => bp.id === "4"),
|
||
type: AccountTypeEnum.Customer,
|
||
taxNumber: "1111222233",
|
||
taxOffice: "Beşiktaş V.D.",
|
||
contactPerson: "Ayşe Özkan",
|
||
phone: "+90 212 777 8899",
|
||
email: "info@ghiteknoloji.com",
|
||
address: "Beşiktaş, İstanbul",
|
||
creditLimit: 200000,
|
||
balance: -32000,
|
||
currency: "TRY",
|
||
riskGroup: RiskGroupEnum.Low,
|
||
paymentTerm: 60,
|
||
isActive: true,
|
||
creationTime: new Date("2024-04-05"),
|
||
lastModificationTime: new Date("2024-04-12"),
|
||
lastTransactionDate: new Date("2024-11-04"),
|
||
},
|
||
{
|
||
id: "5",
|
||
accountCode: "CA005",
|
||
businessPartyId: "5",
|
||
businessParty: mockBusinessParties.find((bp) => bp.id === "5"),
|
||
type: AccountTypeEnum.Supplier,
|
||
taxNumber: "9999888877",
|
||
taxOffice: "Maltepe V.D.",
|
||
contactPerson: "Ali Öz",
|
||
phone: "+90 216 555 1122",
|
||
email: "info@jklgida.com",
|
||
address: "Maltepe, İstanbul",
|
||
creditLimit: 30000,
|
||
balance: 45000,
|
||
currency: "TRY",
|
||
riskGroup: RiskGroupEnum.High,
|
||
paymentTerm: 15,
|
||
isActive: true,
|
||
creationTime: new Date("2024-05-20"),
|
||
lastModificationTime: new Date("2024-05-25"),
|
||
lastTransactionDate: new Date("2024-10-28"),
|
||
},
|
||
];
|