diff --git a/GPW.CORE.UI/Components/AddRA.razor b/GPW.CORE.UI/Components/AddRA.razor index 2c625e2..e04d4ea 100644 --- a/GPW.CORE.UI/Components/AddRA.razor +++ b/GPW.CORE.UI/Components/AddRA.razor @@ -3,16 +3,23 @@ @inject GpwDataService GDataServ @inject MessageService AppMServ - +@if (EnableAction) +{ + +} +else +{ +   +} @code { @@ -26,6 +33,9 @@ [Parameter] public EventCallback NewItemCreated { get; set; } + [Parameter] + public bool EnableAction { get; set; } = true; + protected bool canPaste { get => AppMServ.clonedRA != null; @@ -37,7 +47,7 @@ protected async void AddNew() { RegAttivitaModel newItem = new RegAttivitaModel(); - TimeSpan durata = new TimeSpan(1,0,0); + TimeSpan durata = new TimeSpan(1, 0, 0); // se ho un record clonato parto da quello... if (AppMServ.clonedRA != null) { diff --git a/GPW.CORE.UI/Components/DayHoriz.razor b/GPW.CORE.UI/Components/DayHoriz.razor index f737847..08e5988 100644 --- a/GPW.CORE.UI/Components/DayHoriz.razor +++ b/GPW.CORE.UI/Components/DayHoriz.razor @@ -40,7 +40,7 @@
@if (@noData) { - + } else if (@DayDTO != null && @DayDTO.ListRA != null) { diff --git a/GPW.CORE.UI/Components/RegAtt.razor b/GPW.CORE.UI/Components/RegAtt.razor index aa0e4d4..067a8ad 100644 --- a/GPW.CORE.UI/Components/RegAtt.razor +++ b/GPW.CORE.UI/Components/RegAtt.razor @@ -74,7 +74,7 @@ else {
- +
}
diff --git a/GPW.CORE.UI/GPW.CORE.UI.csproj b/GPW.CORE.UI/GPW.CORE.UI.csproj index 08d0fa7..74bdcc8 100644 --- a/GPW.CORE.UI/GPW.CORE.UI.csproj +++ b/GPW.CORE.UI/GPW.CORE.UI.csproj @@ -2,7 +2,7 @@ net6.0 - 3.0.2201.1719 + 3.0.2201.1808 enable enable diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index 23e54b4..4af7d9e 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ GPW - Gestione Presenze Web -

Versione: 3.0.2201.1719

+

Versione: 3.0.2201.1808


Note di rilascio: