- Apple MacBook Pro 17
+ {{ data.ticket_category }}
- | Silver |
- Laptop |
- $2999 |
+ {{ data.subject }} |
+ {{ data.created_at }} |
+ {{ data.status }} |
-
+
-
+
+
+
+
+
diff --git a/frontend/types/global.d.ts b/frontend/types/global.d.ts
index 49d5f98..16ca7f9 100644
--- a/frontend/types/global.d.ts
+++ b/frontend/types/global.d.ts
@@ -165,4 +165,13 @@ declare global {
iconClass?: string;
onClick?: () => void;
};
+
+ type Ticket = {
+ id: number;
+ subject: string;
+ ticket_category: string;
+ status: string;
+ created_at: string;
+ updated_at: string;
+ };
}
|