﻿--------------------------Hammad 2025-06-15-----------------------
SET IDENTITY_INSERT [dbo].[EmailTemplateType] ON 
GO
INSERT [dbo].[EmailTemplateType] ([EmailTemplateTypeCode], [Name], [Arabic_Name], [IsEditable], [AppModuleCode], [RequestTypeCode], [HaveUserAccount])
VALUES (500, N'Send General Notification ', N'إرسال إشعار  عام', 0, 1, 11, 1)
GO
SET IDENTITY_INSERT [dbo].[EmailTemplateType] OFF
GO
--------------------------end 2025-06-15--------------------------
--------------------------Ali 2025-06-16--------------------------


	   INSERT[dbo].[ConfigParameter]  ([ConfigKey], [Name], [Arabic_Name], [ConfigValue], [ConfigCategoryCode], [OrderNo], [ConfigType], [IsVisible], [ModifiedBy], [ModificationDate], [RequestTypeId],[ConfigDescription])
VALUES(N'WF_ViewLoanInstallmentHistory',N'View Employee Loans installment history in signature',N'عرض سجل أقساط السلف للموظف فى الاعتماد',N'false',2,8,1,1,Null,Null,9,N'يعمل مع اعداد القراءة من البيانات الاساسية  لعرض سجل أقساط السلف للموظف عند الاجراء لطلب السلفه')
Go

 INSERT[dbo].[ConfigParameter]  ([ConfigKey], [Name], [Arabic_Name], [ConfigValue], [ConfigCategoryCode], [OrderNo], [ConfigType], [IsVisible], [ModifiedBy], [ModificationDate], [RequestTypeId],[ConfigDescription])
VALUES(N'RoundSalaryDetailsToInteger',N'Round salary details to Integer',N'تقريب تفاصيل الراتب إلى عدد صحيح',N'false',1,66,1,1,Null,Null,Null,N'تقريب اجماليات  تفاصيل الراتب إلى عدد صحيح فى في تفاصيل الراتب و المرتب الشهري')
Go

--------------------------end 2025-06-16--------------------------
--------------------------Hammad 2025-06-17-----------------------

update SystemMenu set ControllerName =N'/WorkFlow/CombinedVacationsRequestSignatureApi' where ControllerName =N'/WorkFlow/CombinedVacationsRequestSignature'
 Go
 --------------------------End 2025-06-17-----------------------
   ----------------------------------------- AK 2025-06-17 --------------------
INSERT INTO [SystemMenu](SystemMenuCode,Name,Arabic_Name,ParentID,ControllerName,ActionName,ImageURL,HTTPMethod,Sequence,IsVisible,ShowInPrivilegePage) VALUES (1173,N'Purchase invoices',N'فواتير المشتريات',575,N'/PUR/PurchaseInvoice',N'Index',N'fas fa-file-invoice',N'Get',6,1,1)
GO
INSERT[dbo].[SystemMenuModule]( [SystemMenuCode], [AppModuleCode]) VALUES(1173,17)
GO
INSERT INTO [SecurityPrivilege](ID,DescriptionAR,DescriptionEN,SystemMenuCode,PrivilegeType) VALUES (22041,N'فواتير الشراء',N'Purchase invoices',1173,1)
GO
INSERT INTO [SecurityPrivilege](ID,DescriptionAR,DescriptionEN,SystemMenuCode,PrivilegeType) VALUES (22042,N'عرض فواتير الشراء',N'View Purchase invoices',1173,2)
GO
INSERT INTO [SecurityPrivilege](ID,DescriptionAR,DescriptionEN,SystemMenuCode,PrivilegeType) VALUES (22043,N'إضافة فواتير الشراء',N'Add Purchase invoices',1173,2)
GO
INSERT INTO [SecurityPrivilege](ID,DescriptionAR,DescriptionEN,SystemMenuCode,PrivilegeType) VALUES (22044,N'تعديل فواتير الشراء',N'Edit Purchase invoices',1173,2)
GO
INSERT INTO [SecurityPrivilege](ID,DescriptionAR,DescriptionEN,SystemMenuCode,PrivilegeType) VALUES (22045,N'حذف فواتير الشراء',N'Delete Purchase invoices',1173,2)
GO
INSERT INTO [SecurityPrivilege](ID,DescriptionAR,DescriptionEN,SystemMenuCode,PrivilegeType) VALUES (22046,N'حفظ فواتير الشراء',N'Save Purchase invoices',1173,2)
GO
INSERT INTO [SecurityPrivilege](ID,DescriptionAR,DescriptionEN,SystemMenuCode,PrivilegeType) VALUES (22047,N'إضافة فواتير الشراء المباشر',N'Add Direct Purchase invoices',1173,2)
GO
INSERT INTO [SecurityPrivilege](ID,DescriptionAR,DescriptionEN,SystemMenuCode,PrivilegeType) VALUES (22048,N'تعديل فواتير الشراء المباشر',N'Edit Direct Purchase invoices',1173,2)
GO
INSERT INTO [SecurityPrivilege](ID,DescriptionAR,DescriptionEN,SystemMenuCode,PrivilegeType) VALUES (22049,N'حفظ فواتير الشراء المباشر',N'Save Direct Purchase invoices',1173,2)
GO
 -----------------------------------------END AK 2025-06-17 --------------------
 -----------------------------------------Sayed 2025-06-17------------------
 INSERT [dbo].[LabelsName] ([LabelKey], [Name], [Arabic_Name]) VALUES (N'Approvals', N'Approvals', N'الإعتمادات')
GO
INSERT [dbo].[LabelsName] ([LabelKey], [Name], [Arabic_Name]) VALUES (N'PermissionType', N'Permission Type', N'نوع الإذن')
GO
INSERT [dbo].[LabelsName] ([LabelKey], [Name], [Arabic_Name]) VALUES (N'Requests', N'Requests', N'الطلبات')
GO
----------------------------------------End ----------------------------------