This commit is contained in:
@@ -154,7 +154,7 @@ namespace AyaNova.Biz
|
|||||||
await EventLogProcessor.DeleteObjectLogAsync(UserId, BizType, dbObject.Id, dbObject.Name, ct);
|
await EventLogProcessor.DeleteObjectLogAsync(UserId, BizType, dbObject.Id, dbObject.Name, ct);
|
||||||
await Search.ProcessDeletedObjectKeywordsAsync(dbObject.Id, BizType, ct);
|
await Search.ProcessDeletedObjectKeywordsAsync(dbObject.Id, BizType, ct);
|
||||||
await TagBiz.ProcessDeleteTagsInRepositoryAsync(ct, dbObject.Tags);
|
await TagBiz.ProcessDeleteTagsInRepositoryAsync(ct, dbObject.Tags);
|
||||||
await FileUtil.DeleteAttachmentsForObjectAsync(BizType, dbObject.Id, ct);
|
|
||||||
await transaction.CommitAsync();
|
await transaction.CommitAsync();
|
||||||
await HandlePotentialNotificationEvent(AyaEvent.Deleted, dbObject);
|
await HandlePotentialNotificationEvent(AyaEvent.Deleted, dbObject);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -235,7 +235,8 @@ namespace AyaNova.Biz
|
|||||||
|| ServerGlobalBizSettings.TaxRateSaleId == proposedObj.Id);
|
|| ServerGlobalBizSettings.TaxRateSaleId == proposedObj.Id);
|
||||||
|
|
||||||
if (!isNew)
|
if (!isNew)
|
||||||
if (proposedObj.Name != currentObj.Name
|
if (proposedObj.Active != currentObj.Active
|
||||||
|
|| proposedObj.Name != currentObj.Name
|
||||||
|| proposedObj.TaxAPct != currentObj.TaxAPct
|
|| proposedObj.TaxAPct != currentObj.TaxAPct
|
||||||
|| proposedObj.TaxBPct != currentObj.TaxBPct
|
|| proposedObj.TaxBPct != currentObj.TaxBPct
|
||||||
|| proposedObj.TaxOnTax != currentObj.TaxOnTax)
|
|| proposedObj.TaxOnTax != currentObj.TaxOnTax)
|
||||||
|
|||||||
Reference in New Issue
Block a user