Update rental_contract.py

This commit is contained in:
zainab2097 2024-09-08 15:19:41 +03:00 committed by GitHub
parent 8c6d5b0f34
commit 3e7599bced
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -239,8 +239,8 @@ class RentalContract(models.Model):
'rent_type': self.rent_type.id,
'rent_amount': self.rent_amount,
'water_cost': self.water_cost,
'services_cost': self.service_amount,
'service_cost': self.service_cost,
'service_amount': self.service_amount, # Correct field for service amount
'service_cost': self.service_cost, # Correct field for service cost
'previous_contract_id': self.id,
'insurance_cost': self.insurance_cost,
'insurance_amount': self.insurance_amount,