feat(inquiries): add sidebar nav item, icon, and API endpoint

- Add "Inquiries" nav item to sidebar data with `/inquiries` URL and BriefcaseTimer icon
- Implement BriefcaseTimer SVG icon component
- Add `INQUIRIES` base endpoint to API_ENDPOINTS
- Cleanup: remove commented details button in CmsTable, reorder imports
This commit is contained in:
AmirReza Jamali
2025-11-25 12:03:12 +03:30
parent 2389ad1bbf
commit 6d4016af5e
13 changed files with 346 additions and 16 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ export const unixToDate = ({
unix: number;
hasTime?: boolean;
}) => {
return moment.unix(unix).format(`YYYY/MM/DD ${hasTime ? "HH:MM" : ""}`);
return moment.unix(unix).format(`YYYY/MM/DD - ${hasTime ? "HH:MM" : ""}`);
};
export const msToDate = (ms: number) => {
return moment.default(ms).format("YYYY/MM/DD");