@model PantheonRA.BackOffice.Models.TimeRecordViewModel
@using PantheonRA.WebApi.Contracts.Enums;

@*Enums*@
@Html.Hidden("EntryTypeNumber", TimeRecordRequestTypes.WorkObligations)
@Html.Hidden("AbsenceTypeNumber", TimeRecordRequestTypes.Absences)

@*Localization*@
@Html.Hidden("Confirm", Loc.Confirm)
@Html.Hidden("Cancel", Loc.Cancel)
@Html.Hidden("Overwrite", Loc.Overwrite)
@Html.Hidden("Complete", Loc.Complete)
@Html.Hidden("Add", Loc.Add)
@Html.Hidden("Continue", Loc.Continue)
@Html.Hidden("DeleteWorkObligation", Loc.DeleteWorkObligation)
@Html.Hidden("DeleteAbsence", Loc.DeleteAbsence)
@Html.Hidden("CreateNewRecordsError", Loc.CreateNewRecordsError)
@Html.Hidden("RecordAdded", Loc.RecordAdded)
@Html.Hidden("TimeStartGreaterThanTimeEnd", Loc.TimeStartGreaterThanTimeEnd)
@Html.Hidden("DateStartGreaterThanDateEnd", Loc.DateStartGreaterThanDateEnd)
@Html.Hidden("TimeStartCannotBeEmpty", Loc.TimeStartCannotBeEmpty)
@Html.Hidden("TimeEndCannotBeEmpty", Loc.TimeEndCannotBeEmpty)
@Html.Hidden("NoDataToDeleteInThisPeriod", Loc.NoDataToDeleteInThisPeriod)
@Html.Hidden("AbsenceControlModalErrorMessage", Loc.AbsenceControlModalErrorMessage)
@Html.Hidden("NoWorkPlanHeader", Loc.NoWorkPlanHeader)
@Html.Hidden("Warning", Loc.Warning)
@Html.Hidden("AbsencePropagationCompleted", Loc.AbsencePropagationCompleted)

@*URL*@
@Html.Hidden("NewRecordUrl", Url.Action("AddNewRecord", "TimeRecords"))
@Html.Hidden("StopRecordUrl", Url.Action("StopRecording", "TimeRecords"))
@Html.Hidden("EditRecordUrl", Url.Action("Edit", "TimeRecords"))
@Html.Hidden("SaveOrderUrl", Url.Action("SaveOrder", "TimeRecords"))
@Html.Hidden("SetGridSettingsUrl", Url.Action("SetGridSettings", "TimeRecords"))
@Html.Hidden("DeleteRecord", Url.Action("DeleteRecord", "TimeRecords"))
@Html.Hidden("TimeRecordsUrl", Url.Action("Index", "TimeRecords"))
@Html.Hidden("EnterNewRecordUrl", Url.Action("EnterNewRecord", "TimeRecords"))
@Html.Hidden("EnterNewAbsenceUrl", Url.Action("EnterNewAbsence", "TimeRecords"))
@Html.Hidden("SubmitAbsencePAASFormUrl", Url.Action("SubmitAbsencePAASForm", "TimeRecords"))
@Html.Hidden("EnterNewAbsenceFromTaskVariables", Url.Action("EnterNewAbsenceFromTaskVariables", "TimeRecords"))
@Html.Hidden("GetAbsenceType", Url.Action("GetDropDownValues", "GlobalHelper"))
@Html.Hidden("CloseWFTaskInstanceFormUrl", Url.Action("CloseWFTaskInstanceForm", "TimeRecords"))

@Html.Hidden("DaysForChangePermission", Model.UserPermissions.DaysForChange)
@Html.Hidden("WorkerIRIS", Model.TimeRecordModalViewModel.Worker)
@Html.Hidden("Worker", Model.TimeRecordModalViewModel.Worker)
