diff --git a/GPW.CORE.ADM/Components/Compo/ApprovTimbMan.razor.cs b/GPW.CORE.ADM/Components/Compo/ApprovTimbMan.razor.cs index dd7bebb..1b8636f 100644 --- a/GPW.CORE.ADM/Components/Compo/ApprovTimbMan.razor.cs +++ b/GPW.CORE.ADM/Components/Compo/ApprovTimbMan.razor.cs @@ -227,6 +227,7 @@ namespace GPW.CORE.ADM.Components.Compo private async Task ReloadData() { + currPage = 1; isLoading = true; ListRecords = null; try diff --git a/GPW.CORE.ADM/Components/Compo/ReviewTimbMan.razor b/GPW.CORE.ADM/Components/Compo/ReviewTimbMan.razor new file mode 100644 index 0000000..d2240aa --- /dev/null +++ b/GPW.CORE.ADM/Components/Compo/ReviewTimbMan.razor @@ -0,0 +1,242 @@ + +
| + + + | +Dipendente |
+ Data |
+ IN | +OUT | +IN | +OUT | +IN | +OUT | +IN | +OUT | +H Lav | +H Giu | +T/C19 | +Tag | +Chk | +H Com | +
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + + | ++ @item.CognomeNome + | +
+
+ @($"{item.DataLav:yyyy.MM.dd}")
+
+
+ @($"{item.DataLav:dddd}")
+
+
+ |
+ + @if (item.entrata_1 != null) + { + @($"{item.entrata_1:HH:mm}") + } + | ++ @if (item.uscita_1 != null) + { + @($"{item.uscita_1:HH:mm}") + } + | ++ @if (item.entrata_2 != null) + { + @($"{item.entrata_2:HH:mm}") + } + | ++ @if (item.uscita_2 != null) + { + @($"{item.uscita_2:HH:mm}") + } + | ++ @if (item.entrata_3 != null) + { + @($"{item.entrata_3:HH:mm}") + } + | ++ @if (item.uscita_3 != null) + { + @($"{item.uscita_3:HH:mm}") + } + | ++ @if (item.entrata_4 != null) + { + @($"{item.entrata_4:HH:mm}") + } + | ++ @if (item.uscita_4 != null) + { + @($"{item.uscita_4:HH:mm}") + } + | ++ @($"{item.h_lav:N2}") + | ++ @if (item.h_giust > 0) + { + @($"{item.h_giust:N2}") + } + | ++ @if (item.TempRil < 34) + { + + } + else if (item.TempRil < 37) + { + + } + else if (item.TempRil < (decimal)37.5) + { + + } + else + { + + } + | ++ @if (!item.TagIsActive) + { + @item.CodTag + } + else + { + @item.CodTag + } + | ++ @if (!item.isOkTim) + { + T + } + @if (!item.isOkApp) + { + A + } + @if (item.isOkLav == 0) + { + O + } + @if (!string.IsNullOrEmpty(item.chkFunCod)) + { + @item.minMpp + } + @if (item.isOk != 0) + { + Ok + } + | ++ @if (item.okLAvCom != 0) + { + @($"{item.h_com:N2}") + } + else + { + @($"{item.h_com:N2}") + } + | +
| + | + | Scambio | ++ | + |
|---|---|---|---|---|
| @item.DataOra.ToString("dd/MM - HH:mm") | ++ @if (@item.Entrata == true) + { + + } + | ++ @if (EnableEdit) + { + + } + else + { + + } + | ++ @if (@item.Entrata == false) + { + + } + | ++ @if (EnableDelete) + { + + } + else + { + + } + | +