old version placed

This commit is contained in:
2024-12-31 12:22:36 +03:00
parent 08b7ad5c00
commit 00acc8c320
93 changed files with 7481 additions and 1 deletions

View File

View File

@@ -0,0 +1,76 @@
const CompanySelfEndpoints = [
"/company/list",
"/company/create",
"/company/update/{company_uu_id}",
];
const CompanyAllEndpoints = [
"/company/list",
"/company/create",
"/company/update/{company_uu_id}",
"/department/list",
"/department/create",
"/department/update/{department_uu_id}",
"/duties/list",
"/duties/create",
"/duties/update",
"/employee/list",
"/employee/create",
"/employee/update/{employee_uu_id}",
"/employee/employ",
"/employee/fire",
"/staff/list",
"/staff/create",
"/staff/update/{staff_uu_id}",
];
const CompanyPageInfo = {
tr: [
{
title: "Şirket Listesi",
icon: null,
description: "Şirketleri listeyebilirsiniz",
endpoint: "/company/list",
component: "Table",
},
{
title: "Şirket Ekle",
icon: "BadgePlus",
description: "Şirket oluşturma sayfasına hoş geldiniz",
endpoint: "/company/create",
component: "AddCreate2Table",
},
{
title: null,
icon: "Pencil",
description: "Şirket güncelleme sayfasına hoş geldiniz",
endpoint: "/company/update/{company_uu_id}",
component: "AddUpdate2Table",
},
],
en: [
{
title: "Company List",
icon: null,
description: "Welcome to the company update page",
endpoint: "/company/list",
component: "Table",
},
{
title: "Create Company",
icon: "BadgePlus",
description: "Welcome to the company creation page",
endpoint: "/company/create",
component: "AddCreate2Table",
},
{
title: "Update Company",
icon: "Pencil",
description: "Welcome to the company update page",
endpoint: "/company/update/{company_uu_id}",
component: "AddUpdate2Table",
},
],
};
export { CompanyAllEndpoints, CompanySelfEndpoints, CompanyPageInfo };

View File

@@ -0,0 +1,62 @@
const CompanyCategories = [
{
title: {
tr: "Departmanlar",
en: "Departments",
},
icon: "FolderOpenDot",
component: null,
selfEndpoints: [
"/department/list",
"/department/create",
"/department/update/{department_uu_id}",
],
allEndpoints: [],
subCategories: [],
},
{
title: {
tr: "Görevler",
en: "Duties",
},
icon: "BriefcaseMedical",
component: null,
selfEndpoints: ["/duties/list", "/duties/create", "/duties/update"],
allEndpoints: [],
subCategories: [],
},
{
title: {
tr: "Çalışanlar",
en: "Employees",
},
icon: "Pickaxe",
component: null,
selfEndpoints: [
"/employee/list",
"/employee/create",
"/employee/update/{employee_uu_id}",
"/employee/employ",
"/employee/fire",
],
allEndpoints: [],
subCategories: [],
},
{
title: {
tr: "Personel",
en: "Staff",
},
icon: "BicepsFlexed",
component: null,
selfEndpoints: [
"/staff/list",
"/staff/create",
"/staff/update/{staff_uu_id}",
],
allEndpoints: [],
subCategories: [],
},
];
export { CompanyCategories };