From 433cf2e886c9aa8b67c7f5ef518248703ef7c28f Mon Sep 17 00:00:00 2001 From: Steffen Weinstock <79531202+stewsk@users.noreply.github.com> Date: Thu, 28 Nov 2024 16:42:54 +0100 Subject: [PATCH 1/2] Remove separate currency field from UI --- app/travel_processor/layouts.cds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/travel_processor/layouts.cds b/app/travel_processor/layouts.cds index 60eb37db..a98838a8 100644 --- a/app/travel_processor/layouts.cds +++ b/app/travel_processor/layouts.cds @@ -116,7 +116,7 @@ annotate TravelService.Travel with @UI : { FieldGroup #PriceData : {Data : [ { $Type : 'UI.DataField', Value : BookingFee }, { $Type : 'UI.DataField', Value : TotalPrice }, - { $Type : 'UI.DataField', Value : CurrencyCode_code } +// { $Type : 'UI.DataField', Value : CurrencyCode_code } ]} }; From f6013ee8f083e8f881ad8d4f13b1128c55f8975f Mon Sep 17 00:00:00 2001 From: Steffen Weinstock <79531202+stewsk@users.noreply.github.com> Date: Tue, 3 Dec 2024 10:01:03 +0100 Subject: [PATCH 2/2] Update layouts.cds --- app/travel_processor/layouts.cds | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/travel_processor/layouts.cds b/app/travel_processor/layouts.cds index 5802b5c8..7f8f01b4 100644 --- a/app/travel_processor/layouts.cds +++ b/app/travel_processor/layouts.cds @@ -116,8 +116,7 @@ annotate TravelService.Travel with @UI : { ]}, FieldGroup #PriceData : {Data : [ { $Type : 'UI.DataField', Value : BookingFee }, - { $Type : 'UI.DataField', Value : TotalPrice }, - { $Type : 'UI.DataField', Value : CurrencyCode_code } + { $Type : 'UI.DataField', Value : TotalPrice } ]}, FieldGroup #i18nSustainability: { $Type: 'UI.FieldGroupType',