Fixes for invoice rounding, where invoice total was different from reporting

This commit is contained in:
2025-05-17 22:19:31 +10:00
parent 622147d584
commit ac702397a6
4 changed files with 38 additions and 21 deletions

View File

@@ -130,6 +130,6 @@ class Payment extends Model implements IDs
*/
public function getTotalAttribute(): float
{
return sprintf('%3.2f',$this->total_amt);
return round($this->total_amt,2);
}
}