unzip frontend

This commit is contained in:
2025-08-16 14:41:12 +02:00
parent b60af66732
commit 598774bca6
87 changed files with 9676 additions and 0 deletions
+58
View File
@@ -0,0 +1,58 @@
export interface Product {
id: string
name: string
category: string
description: string
buyPrice: number
sellPrice: number
stock: number
minStock: number
supplier: string
sku: string
createdAt: string
updatedAt: string
}
export interface Client {
id: string
name: string
email: string
phone: string
address: string
creditLimit: number
outstandingAmount: number
paymentTerms: string
contactPerson: string
businessType: string
notes: string
createdAt: string
}
export interface Supplier {
id: string
name: string
email: string
phone: string
address: string
paymentTerms: string
amountOwed: number
contactPerson: string
businessType: string
notes: string
taxId: string
createdAt: string
}
export interface Transaction {
id: string
type: "sale" | "purchase"
clientId?: string
supplierId?: string
productId: string
quantity: number
unitPrice: number
totalAmount: number
status: "paid" | "pending" | "overdue"
date: string
dueDate?: string
}