case fee total updates when a fee is updated
This commit is contained in:
@ -227,11 +227,6 @@ class OCCase extends RevisionableContentEntityBase implements OCCaseInterface
|
||||
$this->save();
|
||||
}
|
||||
|
||||
public function subtractFromTotalFee(string $amountToSubtract): void {
|
||||
$this->set('total_fee', $this->total_fee->value - $amountToSubtract);
|
||||
$this->save();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user