From a031ebc3b5ebebcbc00232cd40e52ac1317c630d Mon Sep 17 00:00:00 2001 From: Max Mannstein Date: Sat, 3 Jan 2026 13:56:18 +0100 Subject: [PATCH] Update payment handling in BookWalkViewModel; increment application version to 1.286 --- .../gehGassiApp/ViewModels/Walks/BookWalkViewModel.cs | 6 +++--- gehGassiApp/gehGassiApp/gehGassiApp.csproj | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gehGassiApp/gehGassiApp/ViewModels/Walks/BookWalkViewModel.cs b/gehGassiApp/gehGassiApp/ViewModels/Walks/BookWalkViewModel.cs index 44a20d6..bc4780f 100644 --- a/gehGassiApp/gehGassiApp/ViewModels/Walks/BookWalkViewModel.cs +++ b/gehGassiApp/gehGassiApp/ViewModels/Walks/BookWalkViewModel.cs @@ -622,8 +622,8 @@ namespace gehGassiApp.ViewModels.Walks var helpEndDate = new DateTimeOffset(EndDate.Year, EndDate.Month, EndDate.Day, EndTime.Hours, EndTime.Minutes, EndTime.Seconds, DateTimeOffset.Now.Offset); // PaymentType auswählen - var paymentResult = await _popupService.ShowPopupAsync(Shell.Current); - + await _popupService.ShowPopupAsync(Shell.Current); +var paymentResult = WalkPaymentTypeDto.Cash; var walkCreateDto = new WalkCreateDto() { Type = WalkTypeDto.Scheduled, @@ -638,7 +638,7 @@ namespace gehGassiApp.ViewModels.Walks ReturnAddress = ReturnAddress.ToDto(), Price = Price, Info = Info, - PaymentType = paymentResult.Result is bool b && b ? WalkPaymentTypeDto.Cash : null + PaymentType = paymentResult }; #region Pickupaddress diff --git a/gehGassiApp/gehGassiApp/gehGassiApp.csproj b/gehGassiApp/gehGassiApp/gehGassiApp.csproj index ed26e75..637afd6 100644 --- a/gehGassiApp/gehGassiApp/gehGassiApp.csproj +++ b/gehGassiApp/gehGassiApp/gehGassiApp.csproj @@ -22,8 +22,8 @@ 284D2BDB-7FFC-485A-968F-8440A92578FE - 1.285 - 285 + 1.286 + 286 15.0 29.0