unblock hangfire completed
This commit is contained in:
@@ -1234,8 +1234,7 @@ public class InstitutionContractSmsServiceRepository : RepositoryBase<long, Inst
|
||||
|
||||
|
||||
var balance = debtor - creditor;
|
||||
if (balance > 0)
|
||||
{
|
||||
|
||||
var jobRelation = "بابت قرارداد مابین (روابط کار)";
|
||||
var taxAndFinancial = "بابت قرارداد مابین (حسابداری و مالیات)";
|
||||
|
||||
@@ -1258,9 +1257,9 @@ public class InstitutionContractSmsServiceRepository : RepositoryBase<long, Inst
|
||||
var res = _personalContractingPartyRepository.Get(item.ContractingPartyId);
|
||||
var blockTime = res.BlockTimes + 1;
|
||||
res.DisableBlock(blockTime);
|
||||
await _context.SaveChangesAsync();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1291,8 +1290,7 @@ public class InstitutionContractSmsServiceRepository : RepositoryBase<long, Inst
|
||||
var creditor = transactions.FinancialTransactionList.Sum(x => x.Creditor);
|
||||
|
||||
var balance = debtor - creditor;
|
||||
if (balance > 0)
|
||||
{
|
||||
|
||||
|
||||
var instalment = item.InstallmentList
|
||||
.FirstOrDefault()!.AmountDouble;
|
||||
@@ -1306,7 +1304,7 @@ public class InstitutionContractSmsServiceRepository : RepositoryBase<long, Inst
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user