Skip to content

Commit

Permalink
Merge branch 'release-2.3' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
emaijala committed Nov 22, 2024
2 parents 66cc073 + bfa64c2 commit f8990e6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/style.css.map

Large diffs are not rendered by default.

11 changes: 10 additions & 1 deletion css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,17 @@ td.reportsublabel {
}
.medium, .medium_label {
min-width: 80px;
max-width: 180px;
max-width: 240px;
}
.currency, .currency_label {
min-width: 80px;
max-width: 100px;
}
.count, .count_label {
min-width: 60px;
max-width: 100px;
}

@media only screen and (max-width: $iform-collapse-max-width) {
.tiny, .tiny_label {
width: 40px;
Expand Down
4 changes: 2 additions & 2 deletions miscfuncs.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function condUtf8Encode($str)
/**
* Round a value to given decimals
*
* @param float $value Value
* @param ?float $value Value
* @param int $decimals Number of decimals
* @param string $decimalSeparator Decimal separator
* @param string $thousandSeparator Thousand separator
Expand All @@ -71,7 +71,7 @@ function miscRound2Decim($value, $decimals = 2, $decimalSeparator = null,
$thousandSeparator = null
) {
return number_format(
$value, $decimals,
$value ?? 0, $decimals,
$decimalSeparator ?? Translator::translate('DecimalSeparator'),
$thousandSeparator ?? Translator::translate('ThousandSeparator')
);
Expand Down

0 comments on commit f8990e6

Please sign in to comment.