diff --git a/accounting-ng-nuttakit/src/app/component/interfaces/dashboard.interface.ts b/accounting-ng-nuttakit/src/app/component/interfaces/dashboard.interface.ts new file mode 100644 index 0000000..a5a51b3 --- /dev/null +++ b/accounting-ng-nuttakit/src/app/component/interfaces/dashboard.interface.ts @@ -0,0 +1,44 @@ +export interface IDropAct { + dtlnam?: string, + dtlcod?: string +} + +// ข้อมูลสินค้าหลัก +// export interface IProduct { +// id: string; +// name: string; +// price: number; +// category: string; +// inStock: boolean; +// description?: string; // optional +// imageUrl?: string; +// tags: string[]; +// createdAt: Date; +// updatedAt: Date; +// } + +// // ข้อมูลสินค้าแบบย่อ (ใช้ในรายการ) +// export interface IProductSummary { +// id: string; +// name: string; +// price: number; +// imageUrl?: string; +// inStock: boolean; +// } + +// // ข้อมูลสำหรับฟอร์ม +// export interface IProductForm { +// name: string; +// price: number; +// category: string; +// description?: string; +// inStock: boolean; +// } + +// // ข้อมูลการจัดหมวดหมู่ +// export interface IProductCategory { +// id: string; +// name: string; +// parentId?: string; +// productCount: number; +// } diff --git a/accounting-ng-nuttakit/src/app/component/main-dashboard/main-dashboard.component.html b/accounting-ng-nuttakit/src/app/component/main-dashboard/main-dashboard.component.html index dd50ebc..9990b96 100644 --- a/accounting-ng-nuttakit/src/app/component/main-dashboard/main-dashboard.component.html +++ b/accounting-ng-nuttakit/src/app/component/main-dashboard/main-dashboard.component.html @@ -77,7 +77,13 @@