fix: Remove unintentional changes

This commit is contained in:
Deepesh Garg 2021-07-09 20:00:55 +05:30
parent 171ee51507
commit c13ac4ab11

View File

@ -521,6 +521,7 @@ class PaymentEntry(AccountsController):
and self.total_allocated_amount < self.paid_amount + (total_deductions / self.source_exchange_rate):
self.unallocated_amount = (self.received_amount + total_deductions -
self.base_total_allocated_amount) / self.source_exchange_rate
print(self.unallocated_amount, "#@#@#@#@#")
elif self.payment_type == "Pay" \
and self.base_total_allocated_amount < (self.base_paid_amount - total_deductions) \
and self.total_allocated_amount < self.received_amount + (total_deductions / self.target_exchange_rate):