mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-21 07:17:15 +00:00
pull master into branch
* Migrated projects to dotnet8 migrated all projects over to .net8 incomplete feature for gui shipments * Amazon inventory ledger testing and implementation Tested what I can until more data for the Amazon Ledger Detail table comes in * amazon settlement amounts now set to tax inclusive when exporting to invoice * Some updates to the COM lib to attempt to get it to work on .net 8. Unfinished, porting all Access functions over to vs instead * feature exchange rate update automation Automated downloading exchange rates from HMRC and updating the database. Added function call to the console and form applications. Also added a form to show the console output in form application.
This commit is contained in:
@@ -54,7 +54,7 @@ namespace bnhtrade.Core.Model.Stock
|
||||
{
|
||||
var result = new List<ValidationResult>();
|
||||
|
||||
if (Logic.Validate.Format.DateTime(TransactionDate))
|
||||
if (Logic.Validate.Format.DateTime(TransactionDate) == false)
|
||||
{
|
||||
result.Add(new ValidationResult("Invalid transaction date"));
|
||||
}
|
||||
@@ -62,7 +62,7 @@ namespace bnhtrade.Core.Model.Stock
|
||||
{
|
||||
result.Add(new ValidationResult("Invalid transaction type code"));
|
||||
}
|
||||
if (Logic.Validate.Format.SkuNumber(SkuNumber))
|
||||
if (Logic.Validate.Format.SkuNumber(SkuNumber) == false)
|
||||
{
|
||||
result.Add(new ValidationResult("Invalid SKU number"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user