diff --git a/Wonky.Client/Pages/CrmQuotes.razor b/Wonky.Client/Pages/CrmQuotes.razor
index e6e5efb6..b64a5e33 100644
--- a/Wonky.Client/Pages/CrmQuotes.razor
+++ b/Wonky.Client/Pages/CrmQuotes.razor
@@ -1,15 +1,68 @@
@page "/open-quotes"
-@using Wonky.Client.HttpInterfaces
-
-
Åbne tilbud
+@using Wonky.Client.Components
+
+
-@code {
- [Inject] ICrmHistoryHttpRepository HistoryRepo { get; set; }
-
- protected override Task OnParametersSetAsync()
- {
- return base.OnParametersSetAsync();
- }
+@if (Working)
+{
+
}
\ No newline at end of file
diff --git a/Wonky.Client/Pages/CrmQuotes.razor.cs b/Wonky.Client/Pages/CrmQuotes.razor.cs
new file mode 100644
index 00000000..9b4b820e
--- /dev/null
+++ b/Wonky.Client/Pages/CrmQuotes.razor.cs
@@ -0,0 +1,30 @@
+using Microsoft.AspNetCore.Components;
+using Wonky.Client.HttpInterceptors;
+using Wonky.Client.HttpInterfaces;
+using Wonky.Entity.DTO;
+using Wonky.Entity.Views;
+
+namespace Wonky.Client.Pages;
+
+public partial class CrmQuotes : IDisposable
+{
+ [Inject] public ICrmActivityHttpRepository ActivityRepo { get; set; }
+ [Inject] public HttpInterceptorService Interceptor { get; set; }
+ private List
Quotes { get; set; } = new();
+ private bool Working = true;
+
+ protected override async Task OnInitializedAsync()
+ {
+ Interceptor.RegisterEvent();
+ Interceptor.RegisterBeforeSendEvent();
+ Quotes = await ActivityRepo.GetQuotes();
+ if (Quotes.Any())
+ Quotes = Quotes.OrderBy(x => x.CreateTimestamp).ToList();
+ Working = false;
+ }
+
+ public void Dispose()
+ {
+ Interceptor.DisposeEvent();
+ }
+}
\ No newline at end of file
diff --git a/Wonky.Client/Shared/NavMenu.razor b/Wonky.Client/Shared/NavMenu.razor
index 5bb26b99..28c92e87 100644
--- a/Wonky.Client/Shared/NavMenu.razor
+++ b/Wonky.Client/Shared/NavMenu.razor
@@ -33,12 +33,12 @@
- Start
+ Start
- Log ind
+ Log ind
@@ -47,12 +47,12 @@
- Sælgere
+ Sælgere
- Priskatalog
+ Priskatalog
@@ -60,17 +60,12 @@
- Sælgere
+ Sælgere
- Priskatalog
-
-
-
-
- Forsendelse
+ Priskatalog
@@ -78,7 +73,7 @@
- Forsendelse
+ Forsendelse
@@ -87,33 +82,38 @@
- ToDo
+ ToDo
- Firmaer
+ Firmaer
- Priskatalog
+ Priskatalog
+
+
+
+
+ Åbne Tilbud
- Aktivitet
+ Aktivitet
- Dagsrapporter
+ Dagsrapporter
- Hjælp
+ Hjælp
diff --git a/Wonky.Client/wwwroot/appsettings.json b/Wonky.Client/wwwroot/appsettings.json
index 2fa6d186..40a62cf9 100644
--- a/Wonky.Client/wwwroot/appsettings.json
+++ b/Wonky.Client/wwwroot/appsettings.json
@@ -1,13 +1,13 @@
{
"appInfo": {
"name": "Wonky Client",
- "version": "0.84.1",
+ "version": "0.85.2",
"rc": true,
"sandBox": false,
"image": "grumpy-coder.png"
},
"apiConfig": {
- "baseUrl": "https://eta.innotec.dk",
+ "baseUrl": "https://zeta.innotec.dk",
"catalog": "api/v2/catalog",
"crmCustomers": "api/v2/crm/companies",
"crmInventoryExt": "history/inventory",