This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.Linq;
|
||||
using AyaNova.Models;
|
||||
|
||||
@@ -18,9 +14,14 @@ namespace AyaNova.Util
|
||||
{
|
||||
|
||||
internal static bool SearchCaseSensitiveOnly { get; set; }
|
||||
internal static bool UseInventory {get;set;}
|
||||
internal static bool UseInventory { get; set; }
|
||||
//TAX CODE DEFAULTS
|
||||
internal static long? TaxPartPurchaseId { get; set; }
|
||||
internal static long? TaxPartSaleId { get; set; }
|
||||
internal static long? TaxRateSaleId { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Populate and / or create the settings
|
||||
@@ -43,6 +44,9 @@ namespace AyaNova.Util
|
||||
//We have the object, now copy the static values here
|
||||
SearchCaseSensitiveOnly = global.SearchCaseSensitiveOnly;
|
||||
UseInventory = global.UseInventory;
|
||||
TaxPartPurchaseId = global.TaxPartPurchaseId;
|
||||
TaxPartSaleId = global.TaxPartSaleId;
|
||||
TaxRateSaleId = global.TaxRateSaleId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user