Fixes for invoice rounding, where invoice total was different from reporting
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user