﻿--------------------------Ali 2022-10-09-----------------------

INSERT[dbo].[SecurityPrivilege]([ID], [DescriptionAR], [DescriptionEN], [SystemMenuCode], [PrivilegeType]) VALUES(1357,N'تقديم الطلبات للموظفين بدون الاعتماد على الصلاحيات',N'Can Add requests to employees without Privilege',199,2)
Go
--------------------------End 2022-10-09-----------------------
--------------------------Hammad 2022-10-12-----------------------
ALTER TABLE dbo.FingerArea ADD
	CostCenter nvarchar(150) NULL
GO
INSERT [dbo].[SystemMenu] ([SystemMenuCode], [Name], [Arabic_Name], [ParentID], [ControllerName], [ActionName], [ImageURL], [HTTPMethod], [Sequence], [IsVisible], [ShowInPrivilegePage])
VALUES(655,N'GPS attendance',N'الحضور عبر GPS',345,N'/Attendance/FingerAreaPoint',N'index','fa fa-thumb-tack',N'get',10,1,1)
Go
INSERT[dbo].[SystemMenuModule]( [SystemMenuCode], [AppModuleCode]) VALUES(655,11)
Go
INSERT[dbo].[SecurityPrivilege]([ID], [DescriptionAR], [DescriptionEN], [SystemMenuCode], [PrivilegeType]) VALUES(13104,N'الحضور عبر GPS',N'GPS attendance',655,1)

INSERT[dbo].[SecurityPrivilege]([ID], [DescriptionAR], [DescriptionEN], [SystemMenuCode], [PrivilegeType]) VALUES(13105,N'عرض الحضور عبر GPS',N'View GPS attendance',655,2)

Go
--------------------------End 2022-10-12-----------------------
--------------------------MOstafa 2022-10-13----------------------
UPDATE WF_RequestType
SET IsApi=1,IsMasterRequest=1,NotifSignCountAction='index',NotifSignCountController='TargetRequestSignature',NotifSignCountArea='WorkFlow'
WHERE RequestTypeId = 57;
--------------------------End 2022-10-12-----------------------
