Merge branch 'running-sheets'
# Conflicts: # MainWindow.axaml.cs # Tasks/AddressCreation.cs # Tasks/PdfBuilder.cs
This commit is contained in:
@@ -67,6 +67,9 @@ public class PdfExportSettings
|
||||
|
||||
public double fontSize { get; set; } = 9;
|
||||
public double smallFontSize { get; set; } = 6;
|
||||
public bool exportRunningSheets { get; set; } = true;
|
||||
public int rsNumGrouped { get; set; } = 25;
|
||||
public int rsPlzStartpoint { get; set; } = 2;
|
||||
}
|
||||
|
||||
public class Global
|
||||
@@ -169,6 +172,19 @@ public class Customer
|
||||
public char separator { get; set; } = ',';
|
||||
public int ID { get; }
|
||||
|
||||
public static Customer GetCustomerByID(int id)
|
||||
{
|
||||
foreach (var customer in Settings._instance.customers.customers)
|
||||
{
|
||||
if (id == customer.ID)
|
||||
{
|
||||
return customer;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
// public static int GetIDByCustomerListItem(string item_content)
|
||||
// {
|
||||
|
||||
Reference in New Issue
Block a user