0
[SOLVED] I have a business logic as follows, when the user changes an attribute to paid (change from 0 to 1) I need him to update the balance value of another model.
when the user changes the status of the paid installment that belongs to the installments table I want to change the value of the balance that is within the contract table
schema: contract 1 - n installments