mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-30 20:27:07 +09:00
Format -$5 as -$5 instead of $-5
This commit is contained in:
1 parent
101b9b02ce
commit
3bae8cf900
1 file changed
+2
@@ -105,6 +105,8 @@ class Guest extends \Api_Abstract
|
||||
return $p;
|
||||
}
|
||||
|
||||
$c['format'] = ($p >= 0) ? $c['format'] : '-' . $c['format'];
|
||||
$p = abs($p);
|
||||
return str_replace('{{price}}', $p, $c['format']);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user