unzip frontend
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user