mirror of
https://github.com/stokebob/BealeEngineering.git
synced 2026-03-19 06:37:15 +00:00
Bug fix, new purchase order date
This commit is contained in:
@@ -139,6 +139,7 @@ namespace BealeEngineering.Accounts
|
||||
{
|
||||
if (newForm)
|
||||
{
|
||||
purchaseOrder.PurchaseOrderDate = pickerPurchaseOrderDateDate.Value;
|
||||
new Core.Data.Database.Client.UpdatePurchaseOrder(sqlConnectionString).Create(purchaseOrder);
|
||||
this.Close();
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace BealeEngineering.Core.Logic.Adapter
|
||||
{
|
||||
// ensure sale invoice hasn't changed
|
||||
int propertyCount = new Model.Sale.Invoice().GetType().GetProperties().Count();
|
||||
if (propertyCount != 15)
|
||||
if (propertyCount != 16)
|
||||
{
|
||||
throw new Exception("Model.Import.XeroInvoiceFlatFile has changed, it's adapter class may need updating.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user