From 607f7b6fc3d5cbc1c8d13f303bf0fbf0a5462e9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Ko=C5=BEelj?= Date: Wed, 15 Feb 2023 14:21:33 +0100 Subject: [PATCH] Update interfaces to use the component library --- .../TaxRates/Components/TaxRateAdd.razor | 20 +++++++------ .../TaxRates/Components/TaxRateEdit.razor | 28 ++++++++----------- .../TaxRates/Pages/TaxRateAddPage.razor | 2 -- .../TaxRates/Ops/QueryTests.cs | 1 + 4 files changed, 25 insertions(+), 26 deletions(-) diff --git a/src/Connected.Common.Types.UI/TaxRates/Components/TaxRateAdd.razor b/src/Connected.Common.Types.UI/TaxRates/Components/TaxRateAdd.razor index 2b57ccc..b64efc2 100644 --- a/src/Connected.Common.Types.UI/TaxRates/Components/TaxRateAdd.razor +++ b/src/Connected.Common.Types.UI/TaxRates/Components/TaxRateAdd.razor @@ -2,16 +2,20 @@ @inherits UIComposition -
+

+ Insert new tax rate +

+ +
- +
- -
- - - - + +
+
+
+ +
\ No newline at end of file diff --git a/src/Connected.Common.Types.UI/TaxRates/Components/TaxRateEdit.razor b/src/Connected.Common.Types.UI/TaxRates/Components/TaxRateEdit.razor index 95cbf27..88aba81 100644 --- a/src/Connected.Common.Types.UI/TaxRates/Components/TaxRateEdit.razor +++ b/src/Connected.Common.Types.UI/TaxRates/Components/TaxRateEdit.razor @@ -2,24 +2,20 @@ @inherits UIComposition +

+ Update tax rate +

-

TaxRateEditForm

- - - - - +
- - +
- - -
- - - - - \ No newline at end of file + +
+ +
+ + +
\ No newline at end of file diff --git a/src/Connected.Common.Types.UI/TaxRates/Pages/TaxRateAddPage.razor b/src/Connected.Common.Types.UI/TaxRates/Pages/TaxRateAddPage.razor index 0fed7a0..1b73874 100644 --- a/src/Connected.Common.Types.UI/TaxRates/Pages/TaxRateAddPage.razor +++ b/src/Connected.Common.Types.UI/TaxRates/Pages/TaxRateAddPage.razor @@ -2,6 +2,4 @@ @using Connected.Common.Types.TaxRates.Components -

TaxRateAdd

- \ No newline at end of file diff --git a/tests/Connected.Common.Types.Tests/TaxRates/Ops/QueryTests.cs b/tests/Connected.Common.Types.Tests/TaxRates/Ops/QueryTests.cs index b985684..4e2017c 100644 --- a/tests/Connected.Common.Types.Tests/TaxRates/Ops/QueryTests.cs +++ b/tests/Connected.Common.Types.Tests/TaxRates/Ops/QueryTests.cs @@ -1,4 +1,5 @@ using System.Collections.Immutable; +using Connected.Common.Types.TaxRates; using Connected.Entities; using Connected.ServiceModel; using static Connected.Common.Types.TaxRates.TaxRateOps;