diff --git a/Wonky.Client/Pages/SystemDocumentQuoteMailTextsViewEditPage.razor b/Wonky.Client/Pages/SystemDocumentQuoteMailTextsViewEditPage.razor
new file mode 100644
index 00000000..5bcac78e
--- /dev/null
+++ b/Wonky.Client/Pages/SystemDocumentQuoteMailTextsViewEditPage.razor
@@ -0,0 +1,54 @@
+@* Copyright (C) 2022 FCS Frede's Computer Services.
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
+*@
+
+@using Microsoft.AspNetCore.Authorization
+@attribute [Authorize(Roles = "Admin")]
+
+@page "/system/texts/quotemail"
+
+
Tekster for 'Tilbud Mail dokument'
+
+
+
+ @if (TextProps.Any())
+ {
+
+ }
+ else
+ {
+
Ingen data!
+ }
+
+
diff --git a/Wonky.Client/Pages/SystemDocumentQuoteMailTextsViewEditPage.razor.cs b/Wonky.Client/Pages/SystemDocumentQuoteMailTextsViewEditPage.razor.cs
new file mode 100644
index 00000000..7e28611d
--- /dev/null
+++ b/Wonky.Client/Pages/SystemDocumentQuoteMailTextsViewEditPage.razor.cs
@@ -0,0 +1,35 @@
+// Copyright (C) 2022 FCS Frede's Computer Services.
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
+//
+
+using System.Reflection;
+using Microsoft.AspNetCore.Components;
+using Wonky.Client.HttpRepository;
+using Wonky.Entity.DTO;
+
+#pragma warning disable CS8618
+
+namespace Wonky.Client.Pages;
+
+public partial class SystemDocumentQuoteMailTextsViewEditPage
+{
+ [Inject] public ISystemTextsRepository TextRepo { get; set; }
+ private SystemQuoteMailTexts Section { get; set; } = new();
+ private PropertyInfo[] TextProps { get; set; }
+ protected override async Task OnInitializedAsync()
+ {
+ Section = await TextRepo.GetSystemQuoteMailTexts();
+ TextProps = Section.GetType().GetProperties();
+ }
+}
\ No newline at end of file
diff --git a/Wonky.Client/Pages/SystemDocumentQuoteTextsViewEditPage.razor b/Wonky.Client/Pages/SystemDocumentQuoteTextsViewEditPage.razor
new file mode 100644
index 00000000..8c517a0b
--- /dev/null
+++ b/Wonky.Client/Pages/SystemDocumentQuoteTextsViewEditPage.razor
@@ -0,0 +1,54 @@
+@* Copyright (C) 2022 FCS Frede's Computer Services.
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
+*@
+
+@using Microsoft.AspNetCore.Authorization
+@attribute [Authorize(Roles = "Admin")]
+
+@page "/system/texts/quote"
+
+
Tekster for 'Tilbud dokument'
+
+
+
+ @if (TextProps.Any())
+ {
+
+ }
+ else
+ {
+
Ingen data!
+ }
+
+
diff --git a/Wonky.Client/Pages/SystemDocumentQuoteTextsViewEditPage.razor.cs b/Wonky.Client/Pages/SystemDocumentQuoteTextsViewEditPage.razor.cs
new file mode 100644
index 00000000..db9d68d8
--- /dev/null
+++ b/Wonky.Client/Pages/SystemDocumentQuoteTextsViewEditPage.razor.cs
@@ -0,0 +1,35 @@
+// Copyright (C) 2022 FCS Frede's Computer Services.
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
+//
+
+using System.Reflection;
+using Microsoft.AspNetCore.Components;
+using Wonky.Client.HttpRepository;
+using Wonky.Entity.DTO;
+
+#pragma warning disable CS8618
+
+namespace Wonky.Client.Pages;
+
+public partial class SystemDocumentQuoteTextsViewEditPage
+{
+ [Inject] public ISystemTextsRepository TextRepo { get; set; }
+ private SystemQuoteTexts Section { get; set; } = new();
+ private PropertyInfo[] TextProps { get; set; }
+ protected override async Task OnInitializedAsync()
+ {
+ Section = await TextRepo.GetSystemQuoteTexts();
+ TextProps = Section.GetType().GetProperties();
+ }
+}
\ No newline at end of file
diff --git a/Wonky.Client/Pages/SystemDocumentTextsAdminPage.razor.cs b/Wonky.Client/Pages/SystemDocumentTextsAdminPage.razor.cs
deleted file mode 100644
index 963c8033..00000000
--- a/Wonky.Client/Pages/SystemDocumentTextsAdminPage.razor.cs
+++ /dev/null
@@ -1,6 +0,0 @@
-namespace Wonky.Client.Pages;
-
-public partial class SystemDocumentTextsAdminPage
-{
-
-}
\ No newline at end of file
diff --git a/Wonky.Client/wwwroot/appsettings.json b/Wonky.Client/wwwroot/appsettings.json
index 00d2449c..49110f38 100644
--- a/Wonky.Client/wwwroot/appsettings.json
+++ b/Wonky.Client/wwwroot/appsettings.json
@@ -1,7 +1,7 @@
{
"appInfo": {
"name": "Wonky Online",
- "version": "0.134.2",
+ "version": "0.135.1",
"rc": true,
"sandBox": false,
"image": "grumpy-coder.png"
@@ -19,7 +19,7 @@
}
},
"apiConfig": {
- "baseUrl": "https://zeta.innotec.dk",
+ "baseUrl": "https://dev.innotec.dk",
"catalog": "api/v2/catalog/country",
"crmCustomers": "api/v2/crm/companies",
"crmInventoryExt": "history/inventory",