This commit is contained in:
2021-03-10 19:00:35 +00:00
parent 391010ced7
commit 715e35445b
2 changed files with 3 additions and 2 deletions

View File

@@ -154,7 +154,7 @@ namespace AyaNova.Biz
await EventLogProcessor.DeleteObjectLogAsync(UserId, BizType, dbObject.Id, dbObject.Name, ct);
await Search.ProcessDeletedObjectKeywordsAsync(dbObject.Id, BizType, ct);
await TagBiz.ProcessDeleteTagsInRepositoryAsync(ct, dbObject.Tags);
await FileUtil.DeleteAttachmentsForObjectAsync(BizType, dbObject.Id, ct);
await transaction.CommitAsync();
await HandlePotentialNotificationEvent(AyaEvent.Deleted, dbObject);
}

View File

@@ -235,7 +235,8 @@ namespace AyaNova.Biz
|| ServerGlobalBizSettings.TaxRateSaleId == proposedObj.Id);
if (!isNew)
if (proposedObj.Name != currentObj.Name
if (proposedObj.Active != currentObj.Active
|| proposedObj.Name != currentObj.Name
|| proposedObj.TaxAPct != currentObj.TaxAPct
|| proposedObj.TaxBPct != currentObj.TaxBPct
|| proposedObj.TaxOnTax != currentObj.TaxOnTax)