php 7.4
This commit is contained in:
parent
ac0ef77740
commit
fc8518e35e
@ -76,9 +76,9 @@ class BillTotal extends Model
|
||||
$title .= ' (';
|
||||
|
||||
if (setting('localisation.percent_position', 'after') == 'after') {
|
||||
$title .= $this->code == 'discount' ? false : $tax->type == 'fixed' ? $percent : $percent . '%';
|
||||
$title .= ($this->code == 'discount') ? false : (($tax->type == 'fixed') ? $percent : $percent . '%');
|
||||
} else {
|
||||
$title .= $this->code == 'discount' ? false : $tax->type == 'fixed' ? $percent : '%' . $percent;
|
||||
$title .= ($this->code == 'discount') ? false : (($tax->type == 'fixed') ? $percent : '%' . $percent);
|
||||
}
|
||||
|
||||
$title .= ')';
|
||||
|
@ -76,9 +76,9 @@ class InvoiceTotal extends Model
|
||||
$title .= ' (';
|
||||
|
||||
if (setting('localisation.percent_position', 'after') == 'after') {
|
||||
$title .= $this->code == 'discount' ? false : $tax->type == 'fixed' ? $percent : $percent . '%';
|
||||
$title .= ($this->code == 'discount') ? false : (($tax->type == 'fixed') ? $percent : $percent . '%');
|
||||
} else {
|
||||
$title .= $this->code == 'discount' ? false : $tax->type == 'fixed' ? $percent : '%' . $percent;
|
||||
$title .= ($this->code == 'discount') ? false : (($tax->type == 'fixed') ? $percent : '%' . $percent);
|
||||
}
|
||||
|
||||
$title .= ')';
|
||||
|
Loading…
x
Reference in New Issue
Block a user