From 8cd924e81757c388936f69eedb1410ded836492e Mon Sep 17 00:00:00 2001 From: Frede Hundewadt Date: Wed, 31 May 2023 08:47:24 +0200 Subject: [PATCH] wip: minor cosmetic --- .../OfficeCustomerInvoiceListOverlay.razor | 2 +- .../OfficeCustomerInvoiceListOverlay.razor.cs | 12 ++++++++---- .../OfficeCustomerInvoiceViewOverlay.razor | 2 +- Wonky.Client/wwwroot/appsettings.json | 4 ++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/Wonky.Client/OverlayOffice/OfficeCustomerInvoiceListOverlay.razor b/Wonky.Client/OverlayOffice/OfficeCustomerInvoiceListOverlay.razor index 9ce05e08..25cab0ed 100644 --- a/Wonky.Client/OverlayOffice/OfficeCustomerInvoiceListOverlay.razor +++ b/Wonky.Client/OverlayOffice/OfficeCustomerInvoiceListOverlay.razor @@ -36,4 +36,4 @@ } @* overlay showing one invoice*@ - + diff --git a/Wonky.Client/OverlayOffice/OfficeCustomerInvoiceListOverlay.razor.cs b/Wonky.Client/OverlayOffice/OfficeCustomerInvoiceListOverlay.razor.cs index 09012f5e..b8f88af7 100644 --- a/Wonky.Client/OverlayOffice/OfficeCustomerInvoiceListOverlay.razor.cs +++ b/Wonky.Client/OverlayOffice/OfficeCustomerInvoiceListOverlay.razor.cs @@ -24,14 +24,18 @@ namespace Wonky.Client.OverlayOffice; public partial class OfficeCustomerInvoiceListOverlay { + // ############################################################## + [Inject] public ILogger Logger { get; set; } + + // ############################################################## [Parameter] public InvoiceListView InvoiceList { get; set; } = new(); [Parameter] public CompanyDto Company { get; set; } = new(); - // dependency injection - [Inject] public ILogger Logger { get; set; } + + // ############################################################## private string InvoiceId { get; set; } = ""; private string _modalDisplay = ""; private bool _showBackdrop; - private OfficeCustomerInvoiceViewOverlay OfficeCustomerInvoiceView { get; set; } = new(); + private OfficeCustomerInvoiceViewOverlay InvoiceView { get; set; } = new(); private List Invoices { get; set; } = new(); protected override async Task OnParametersSetAsync() @@ -52,7 +56,7 @@ public partial class OfficeCustomerInvoiceListOverlay private void CallInvoiceModal(string invoiceId) { InvoiceId = invoiceId; - OfficeCustomerInvoiceView.Show(); + InvoiceView.Show(); } public void Show() diff --git a/Wonky.Client/OverlayOffice/OfficeCustomerInvoiceViewOverlay.razor b/Wonky.Client/OverlayOffice/OfficeCustomerInvoiceViewOverlay.razor index de9a1ba0..924032c0 100644 --- a/Wonky.Client/OverlayOffice/OfficeCustomerInvoiceViewOverlay.razor +++ b/Wonky.Client/OverlayOffice/OfficeCustomerInvoiceViewOverlay.razor @@ -1,4 +1,4 @@ -@* Copyright (C) 2022 FCS Frede's Computer Services. +00@* 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 diff --git a/Wonky.Client/wwwroot/appsettings.json b/Wonky.Client/wwwroot/appsettings.json index 926ada16..3c819332 100644 --- a/Wonky.Client/wwwroot/appsettings.json +++ b/Wonky.Client/wwwroot/appsettings.json @@ -3,7 +3,7 @@ "name": "Wonky Online", "version": "153.0", "rc": true, - "sandBox": true, + "sandBox": false, "image": "grumpy-coder.png" }, "Logging": { @@ -19,7 +19,7 @@ } }, "apiConfig": { - "baseUrl": "https://eta.innotec.dk", + "baseUrl": "https://zeta.innotec.dk", "catalog": "api/v2/catalog/country", "crmCustomers": "api/v2/crm/companies", "crmInventoryExt": "history/inventory",