diff --git a/Areas/OTcalculate/Controllers/OvertimeController.cs b/Areas/OTcalculate/Controllers/OvertimeController.cs
index cf8cd32..c5596ae 100644
--- a/Areas/OTcalculate/Controllers/OvertimeController.cs
+++ b/Areas/OTcalculate/Controllers/OvertimeController.cs
@@ -20,5 +20,9 @@ namespace PSTW_CentralSystem.Areas.OTcalculate.Controllers
return View();
}
+ public IActionResult OtSTatus()
+ {
+ return View();
+ }
}
}
diff --git a/Areas/OTcalculate/Models/OtStatusModel.cs b/Areas/OTcalculate/Models/OtStatusModel.cs
new file mode 100644
index 0000000..278dd1b
--- /dev/null
+++ b/Areas/OTcalculate/Models/OtStatusModel.cs
@@ -0,0 +1,36 @@
+using System.ComponentModel.DataAnnotations;
+using System.ComponentModel.DataAnnotations.Schema;
+
+namespace PSTW_CentralSystem.Areas.OTcalculate.Models
+{
+ [Table("otstatus")]
+ public class OtStatusModel
+ {
+ [Key]
+ public int StatusId { get; set; }
+
+ [Required]
+ public int UserId { get; set; }
+
+ [Required]
+ public int Month { get; set; }
+
+ [Required]
+ public int Year { get; set; }
+
+ public DateTime SubmitDate { get; set; }
+
+ public string HodStatus { get; set; } = "Pending";
+
+ // JSON array of ApprovalUpdateLog
+ public string? HodUpdate { get; set; }
+
+ public string HrStatus { get; set; } = "Pending";
+
+ // JSON array of ApprovalUpdateLog
+ public string? HrUpdate { get; set; }
+
+ public string? FilePath { get; set; }
+ }
+
+}
diff --git a/Areas/OTcalculate/Views/HrDashboard/Rate.cshtml b/Areas/OTcalculate/Views/HrDashboard/Rate.cshtml
index f141866..06c4170 100644
--- a/Areas/OTcalculate/Views/HrDashboard/Rate.cshtml
+++ b/Areas/OTcalculate/Views/HrDashboard/Rate.cshtml
@@ -1,6 +1,4 @@
-
-
-@{
+@{
ViewData["Title"] = "Rate Update";
Layout = "~/Views/Shared/_Layout.cshtml";
}
diff --git a/Areas/OTcalculate/Views/Overtime/OtRecords.cshtml b/Areas/OTcalculate/Views/Overtime/OtRecords.cshtml
index 1d777f9..d372cba 100644
--- a/Areas/OTcalculate/Views/Overtime/OtRecords.cshtml
+++ b/Areas/OTcalculate/Views/Overtime/OtRecords.cshtml
@@ -104,7 +104,7 @@
-
+
@@ -134,7 +134,7 @@
{{ record.otDescription }}
- |
+ |
@@ -167,10 +167,33 @@
- |