[#3] Services: Use .elwig.zip as export extension
This commit is contained in:
@ -99,8 +99,8 @@ namespace Elwig.Windows {
|
||||
try {
|
||||
var d = new OpenFileDialog() {
|
||||
Title = "Export-Datei auswählen - Elwig",
|
||||
DefaultExt = ".zip",
|
||||
Filter = "ZIP-Datei (*.zip)|*.zip",
|
||||
DefaultExt = ".elwig.zip",
|
||||
Filter = "Elwig-Export-Datei (*.elwig.zip)|*.elwig.zip",
|
||||
Multiselect = true,
|
||||
};
|
||||
if (d.ShowDialog() == true) {
|
||||
@ -158,7 +158,7 @@ namespace Elwig.Windows {
|
||||
return;
|
||||
Mouse.OverrideCursor = Cursors.AppStarting;
|
||||
try {
|
||||
var path = Path.Combine(App.TempPath, $"{DateTime.Now:yyyy-MM-dd_HH-mm-ss}_{App.ZwstId}.zip");
|
||||
var path = Path.Combine(App.TempPath, $"{DateTime.Now:yyyy-MM-dd_HH-mm-ss}_{App.ZwstId}.elwig.zip");
|
||||
using var ctx = new AppDbContext();
|
||||
var deliveries = await ctx.Deliveries
|
||||
.Where(d => d.Year == Utils.CurrentLastSeason && d.ZwstId == App.ZwstId)
|
||||
|
Reference in New Issue
Block a user