Files
shomal-hospital-ticketing-f…/core/constant/index.ts

110 lines
2.1 KiB
TypeScript

export const API_URL = "http://localhost:8000/api/v1";
export const requestType = [
{
id: "1",
name: "software",
displayName: "نرم افزار",
},
{
id: "2",
name: "hardware",
displayName: "سخت افزار",
},
{
id: "3",
name: "his",
displayName: "HIS",
},
{
id: "4",
name: "general",
displayName: "عمومي",
},
];
export const ticketStatuses = [
{
id: "open",
displayName: "باز",
bgClass: "bg-blue-50 text-blue-700 ring-blue-200",
dotClass: "bg-blue-600",
},
{
id: "in_progress",
displayName: "در حال بررسی",
bgClass: "bg-amber-50 text-amber-700 ring-amber-200",
dotClass: "bg-amber-600",
},
{
id: "resolved",
displayName: "حل شده",
bgClass: "bg-emerald-50 text-emerald-700 ring-emerald-200",
dotClass: "bg-emerald-600",
},
{
id: "closed",
displayName: "بسته شده",
bgClass: "bg-slate-100 text-slate-700 ring-slate-300",
dotClass: "bg-slate-500",
},
];
export const ticketPriorities = [
{
id: "low",
displayName: "پایین",
bgClass: "bg-slate-50 text-slate-700 ring-slate-200",
dotClass: "bg-slate-500",
},
{
id: "medium",
displayName: "متوسط",
bgClass: "bg-sky-50 text-sky-700 ring-sky-200",
dotClass: "bg-sky-600",
},
{
id: "high",
displayName: "بالا",
bgClass: "bg-orange-50 text-orange-700 ring-orange-200",
dotClass: "bg-orange-600",
},
{
id: "critical",
displayName: "بحرانی",
bgClass: "bg-rose-50 text-rose-700 ring-rose-200",
dotClass: "bg-rose-600",
},
];
export const hospitalSoftwares = [
{
id: "1",
name: "rahkaran",
displayName: "راهكاران",
},
{
id: "2",
name: "timex",
displayName: "تايمكس",
},
{
id: "3",
name: "automation",
displayName: "اتوماسيون",
},
{
id: "4",
name: "pacs",
displayName: "پكس",
},
{
id: "5",
name: "kasra",
displayName: "كسري",
},
{
id: "6",
name: "ican",
displayName: "ican",
},
];