Compare commits
3 Commits
5ba286d926
...
v1.0.5.5
| Author | SHA1 | Date | |
|---|---|---|---|
| 5cbad9a195 | |||
| 4e027a9add | |||
| f32ff945ec |
@@ -2,6 +2,24 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
[v1.0.5.5][v1.0.5.5] (2026-06-24) {#v1.0.5.5}
|
||||||
|
---------------------------------------------
|
||||||
|
|
||||||
|
### Behobene Fehler {#v1.0.5.5-bugfixes}
|
||||||
|
|
||||||
|
* Beim Exportieren der Überweisungsdaten (EBICS) im Auszahlungsvarianten-Fenster (`PaymentVariantsWindow`) kam es zu einem Absturz. (3f65b2350b)
|
||||||
|
* Einige Einstellungen einer Auszahlungsvariante wurden vom Auszahlungsvariante-Fenster (`ChartWindow`) beim Speichern überschrieben. (f32ff945ec)
|
||||||
|
|
||||||
|
### Sonstiges {#v1.0.5.5-misc}
|
||||||
|
|
||||||
|
* Traubengutschriften mit negativem Betrag sind nun wieder möglich. (ba3f66591e)
|
||||||
|
* Abhängigkeiten aktualisiert. (4e027a9add)
|
||||||
|
|
||||||
|
[v1.0.5.5]: https://git.necronda.net/winzer/elwig/releases/tag/v1.0.5.5
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[v1.0.5.4][v1.0.5.4] (2026-06-22) {#v1.0.5.4}
|
[v1.0.5.4][v1.0.5.4] (2026-06-22) {#v1.0.5.4}
|
||||||
---------------------------------------------
|
---------------------------------------------
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -9,7 +9,7 @@
|
|||||||
<UseWindowsForms>true</UseWindowsForms>
|
<UseWindowsForms>true</UseWindowsForms>
|
||||||
<PreserveCompilationContext>true</PreserveCompilationContext>
|
<PreserveCompilationContext>true</PreserveCompilationContext>
|
||||||
<ApplicationIcon>Resources\Images\Elwig.ico</ApplicationIcon>
|
<ApplicationIcon>Resources\Images\Elwig.ico</ApplicationIcon>
|
||||||
<Version>1.0.5.4</Version>
|
<Version>1.0.5.5</Version>
|
||||||
<SatelliteResourceLanguages>de-AT</SatelliteResourceLanguages>
|
<SatelliteResourceLanguages>de-AT</SatelliteResourceLanguages>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
<PackageReference Include="Microsoft.Extensions.Configuration.Ini" Version="10.0.9" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.Ini" Version="10.0.9" />
|
||||||
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.4022.49" />
|
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.4022.49" />
|
||||||
<PackageReference Include="NJsonSchema" Version="11.6.1" />
|
<PackageReference Include="NJsonSchema" Version="11.6.1" />
|
||||||
<PackageReference Include="ScottPlot.WPF" Version="5.1.58" />
|
<PackageReference Include="ScottPlot.WPF" Version="5.1.59" />
|
||||||
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.3" />
|
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.3" />
|
||||||
<PackageReference Include="System.IO.Hashing" Version="10.0.9" />
|
<PackageReference Include="System.IO.Hashing" Version="10.0.9" />
|
||||||
<PackageReference Include="System.IO.Ports" Version="10.0.9" />
|
<PackageReference Include="System.IO.Ports" Version="10.0.9" />
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ using System.Collections.Generic;
|
|||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
using System.Text.Json;
|
||||||
using System.Text.Json.Nodes;
|
using System.Text.Json.Nodes;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
@@ -92,6 +93,14 @@ namespace Elwig.Helpers.Billing {
|
|||||||
Mode = (mode == "elwig") ? CalculationMode.Elwig : CalculationMode.WgMaster;
|
Mode = (mode == "elwig") ? CalculationMode.Elwig : CalculationMode.WgMaster;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public BillingData() {
|
||||||
|
Data = new JsonObject {
|
||||||
|
["mode"] = "elwig",
|
||||||
|
["version"] = 1,
|
||||||
|
};
|
||||||
|
Mode = CalculationMode.Elwig;
|
||||||
|
}
|
||||||
|
|
||||||
protected static JsonObject ParseJson(string json) {
|
protected static JsonObject ParseJson(string json) {
|
||||||
if (Schema == null) throw new InvalidOperationException("Schema has to be initialized first");
|
if (Schema == null) throw new InvalidOperationException("Schema has to be initialized first");
|
||||||
try {
|
try {
|
||||||
@@ -107,6 +116,10 @@ namespace Elwig.Helpers.Billing {
|
|||||||
return new(ParseJson(json));
|
return new(ParseJson(json));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public string ToJsonString(JsonSerializerOptions? options = null) {
|
||||||
|
return Data.ToJsonString(options);
|
||||||
|
}
|
||||||
|
|
||||||
protected JsonArray GetCurvesEntry() {
|
protected JsonArray GetCurvesEntry() {
|
||||||
return Data[Mode == CalculationMode.Elwig ? "curves" : "Kurven"]?.AsArray() ?? throw new InvalidOperationException();
|
return Data[Mode == CalculationMode.Elwig ? "curves" : "Kurven"]?.AsArray() ?? throw new InvalidOperationException();
|
||||||
}
|
}
|
||||||
@@ -412,7 +425,7 @@ namespace Elwig.Helpers.Billing {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static JsonObject FromGraphEntries(
|
public static BillingData FromGraphEntries(
|
||||||
IEnumerable<GraphEntry> graphEntries,
|
IEnumerable<GraphEntry> graphEntries,
|
||||||
BillingData? origData = null,
|
BillingData? origData = null,
|
||||||
IEnumerable<RawVaribute>? vaributes = null,
|
IEnumerable<RawVaribute>? vaributes = null,
|
||||||
@@ -449,37 +462,30 @@ namespace Elwig.Helpers.Billing {
|
|||||||
CollapsePaymentData(payment, payment.DeepClone().AsObject(), vaributes ?? payment.Select(e => new RawVaribute(e.Key)).ToList(), useDefaultPayment);
|
CollapsePaymentData(payment, payment.DeepClone().AsObject(), vaributes ?? payment.Select(e => new RawVaribute(e.Key)).ToList(), useDefaultPayment);
|
||||||
CollapsePaymentData(qualityWei, qualityWei.DeepClone().AsObject(), vaributes ?? qualityWei.Select(e => new RawVaribute(e.Key)).ToList(), useDefaultQuality);
|
CollapsePaymentData(qualityWei, qualityWei.DeepClone().AsObject(), vaributes ?? qualityWei.Select(e => new RawVaribute(e.Key)).ToList(), useDefaultQuality);
|
||||||
|
|
||||||
var data = new JsonObject {
|
BillingData data;
|
||||||
["mode"] = "elwig",
|
if (origData != null && origData.Mode == CalculationMode.Elwig) {
|
||||||
["version"] = 1,
|
data = new BillingData((JsonObject)origData.Data.DeepClone());
|
||||||
};
|
} else {
|
||||||
|
data = new BillingData();
|
||||||
if (origData?.ConsiderDelieryModifiers == true)
|
}
|
||||||
data["consider_delivery_modifiers"] = true;
|
|
||||||
if (origData?.ConsiderContractPenalties == true)
|
|
||||||
data["consider_contract_penalties"] = true;
|
|
||||||
if (origData?.ConsiderTotalPenalty == true)
|
|
||||||
data["consider_total_penalty"] = true;
|
|
||||||
if (origData?.ConsiderAutoBusinessShares == true)
|
|
||||||
data["consider_auto_business_shares"] = true;
|
|
||||||
|
|
||||||
if (payment.Count == 0) {
|
if (payment.Count == 0) {
|
||||||
data["payment"] = 0;
|
data.Data["payment"] = 0;
|
||||||
} else if (payment.Count == 1 && payment.First().Key == "default") {
|
} else if (payment.Count == 1 && payment.First().Key == "default") {
|
||||||
data["payment"] = payment.Single().Value?.DeepClone();
|
data.Data["payment"] = payment.Single().Value?.DeepClone();
|
||||||
} else {
|
} else {
|
||||||
data["payment"] = payment;
|
data.Data["payment"] = payment;
|
||||||
}
|
}
|
||||||
if (qualityWei.Count == 1 && qualityWei.First().Key == "default") {
|
if (qualityWei.Count == 1 && qualityWei.First().Key == "default") {
|
||||||
data["quality"] = new JsonObject() {
|
data.Data["quality"] = new JsonObject() {
|
||||||
["WEI"] = qualityWei.Single().Value?.DeepClone()
|
["WEI"] = qualityWei.Single().Value?.DeepClone()
|
||||||
};
|
};
|
||||||
} else if (qualityWei.Count >= 1) {
|
} else if (qualityWei.Count >= 1) {
|
||||||
data["quality"] = new JsonObject() {
|
data.Data["quality"] = new JsonObject() {
|
||||||
["WEI"] = qualityWei
|
["WEI"] = qualityWei
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
data["curves"] = curves;
|
data.Data["curves"] = curves;
|
||||||
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ About
|
|||||||
**Product:** Elwig
|
**Product:** Elwig
|
||||||
**Description:** Electronic Management for Vintners' Cooperatives
|
**Description:** Electronic Management for Vintners' Cooperatives
|
||||||
**Type:** ERP system
|
**Type:** ERP system
|
||||||
**Version:** 1.0.5.4 ([Changelog](./CHANGELOG.md))
|
**Version:** 1.0.5.5 ([Changelog](./CHANGELOG.md))
|
||||||
**License:** [GNU General Public License 3.0 (GPLv3)](./LICENSE)
|
**License:** [GNU General Public License 3.0 (GPLv3)](./LICENSE)
|
||||||
**Website:** https://elwig.at/
|
**Website:** https://elwig.at/
|
||||||
**Source code:** https://git.necronda.net/winzer/elwig
|
**Source code:** https://git.necronda.net/winzer/elwig
|
||||||
@@ -33,7 +33,7 @@ Packaging: [WiX Toolset](https://www.firegiant.com/wixtoolset/)
|
|||||||
**Produkt:** Elwig
|
**Produkt:** Elwig
|
||||||
**Beschreibung:** Elektronische Winzergenossenschaftsverwaltung
|
**Beschreibung:** Elektronische Winzergenossenschaftsverwaltung
|
||||||
**Typ:** Warenwirtschaftssystem (ERP-System)
|
**Typ:** Warenwirtschaftssystem (ERP-System)
|
||||||
**Version:** 1.0.5.4 ([Änderungsprotokoll](./CHANGELOG.md))
|
**Version:** 1.0.5.5 ([Änderungsprotokoll](./CHANGELOG.md))
|
||||||
**Lizenz:** [GNU General Public License 3.0 (GPLv3)](./LICENSE)
|
**Lizenz:** [GNU General Public License 3.0 (GPLv3)](./LICENSE)
|
||||||
**Website:** https://elwig.at/
|
**Website:** https://elwig.at/
|
||||||
**Quellcode:** https://git.necronda.net/winzer/elwig
|
**Quellcode:** https://git.necronda.net/winzer/elwig
|
||||||
|
|||||||
Reference in New Issue
Block a user