diff --git a/Areas/OTcalculate/Controllers/HrDashboardController.cs b/Areas/OTcalculate/Controllers/HrDashboardController.cs new file mode 100644 index 0000000..92160f0 --- /dev/null +++ b/Areas/OTcalculate/Controllers/HrDashboardController.cs @@ -0,0 +1,23 @@ +using Microsoft.AspNetCore.Mvc; + +namespace PSTW_CentralSystem.Areas.OTcalculate.Controllers +{ + [Area("OTcalculate")] + public class HrDashboardController : Controller + { + public IActionResult OtApproval() + { + return View(); + } + + public IActionResult Settings() + { + return View(); + } + + public IActionResult Rate() + { + return View(); + } + } +} diff --git a/Areas/OTcalculate/Controllers/OvertimeController.cs b/Areas/OTcalculate/Controllers/OvertimeController.cs index d74c327..2bb66a7 100644 --- a/Areas/OTcalculate/Controllers/OvertimeController.cs +++ b/Areas/OTcalculate/Controllers/OvertimeController.cs @@ -1,6 +1,18 @@ -namespace PSTW_CentralSystem.Areas.OTcalculate.Controllers +using Microsoft.AspNetCore.Mvc; + +namespace PSTW_CentralSystem.Areas.OTcalculate.Controllers { - public class OvertimeController + [Area("OTcalculate")] + public class OvertimeController : Controller { + public IActionResult OtRegister() + { + return View(); + } + public IActionResult OtRecords() + { + return View(); + } + } } diff --git a/Areas/OTcalculate/Views/HrDashboard/OtApproval.cshtml b/Areas/OTcalculate/Views/HrDashboard/OtApproval.cshtml new file mode 100644 index 0000000..f8cedbf --- /dev/null +++ b/Areas/OTcalculate/Views/HrDashboard/OtApproval.cshtml @@ -0,0 +1,4 @@ +@{ + ViewData["Title"] = "OT Approval"; + Layout = "~/Views/Shared/_Layout.cshtml"; +} diff --git a/Areas/OTcalculate/Views/HrDashboard/Rate.cshtml b/Areas/OTcalculate/Views/HrDashboard/Rate.cshtml new file mode 100644 index 0000000..0fc82ea --- /dev/null +++ b/Areas/OTcalculate/Views/HrDashboard/Rate.cshtml @@ -0,0 +1,4 @@ +@{ + ViewData["Title"] = "Rate"; + Layout = "~/Views/Shared/_Layout.cshtml"; +} diff --git a/Areas/OTcalculate/Views/HrDashboard/Settings.cshtml b/Areas/OTcalculate/Views/HrDashboard/Settings.cshtml new file mode 100644 index 0000000..ff0824c --- /dev/null +++ b/Areas/OTcalculate/Views/HrDashboard/Settings.cshtml @@ -0,0 +1,31 @@ +@{ + ViewData["Title"] = "Settings"; + Layout = "~/Views/Shared/_Layout.cshtml"; +} + +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers +
Name:
+