Itt maradt
This commit is contained in:
@@ -251,7 +251,7 @@ public partial class CheckListPage : ContentPage
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
||||
await SystemHelper.ShowSnackBar("Blokkolás feloldás SIKERTELEN!",
|
||||
SystemHelper.ColorToHex(Colors.Red),
|
||||
SystemHelper.ColorToHex(Colors.Red),
|
||||
@@ -293,7 +293,7 @@ public partial class CheckListPage : ContentPage
|
||||
var popup = new InputPopup("Kérem adja meg a lezárás okát!");
|
||||
var (isConfirmed, userInput) = await popup.ShowAsync();
|
||||
|
||||
|
||||
|
||||
if (isConfirmed && !string.IsNullOrEmpty(userInput))
|
||||
{
|
||||
var checkListHeaderCloseDTO = new CheckListHeaderCloseDTO()
|
||||
@@ -384,7 +384,11 @@ public partial class CheckListPage : ContentPage
|
||||
if (!isAdmin)
|
||||
{
|
||||
var result = checkListHeaderDTOs
|
||||
.Where(w => w.UserId == userDTO.Id && w.CheckStatus != CheckStatus.Blocked).ToList();
|
||||
.Where(w => w.UserId == userDTO.Id &&
|
||||
//w.CheckStatus != CheckStatus.Blocked &&
|
||||
w.CheckStatus != CheckStatus.Sent &&
|
||||
w.CheckStatus != CheckStatus.Closed
|
||||
).ToList();
|
||||
CheckList.ItemsSource = result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user