fixed claims price display for LBC currency
This commit is contained in:
parent
10f271ce67
commit
e5bb7e470d
1 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ $cost = 'Free';
|
||||||
if (isset($claim->Price) && $claim->Price > 0) {
|
if (isset($claim->Price) && $claim->Price > 0) {
|
||||||
$cost = $this->Amount->formatCurrency($claim->Price) . ' LBC';
|
$cost = $this->Amount->formatCurrency($claim->Price) . ' LBC';
|
||||||
} else if (isset($claim->Fee) && strtolower($claim->FeeCurrency) === 'lbc') {
|
} else if (isset($claim->Fee) && strtolower($claim->FeeCurrency) === 'lbc') {
|
||||||
$cost = $this->Amount->formatCurrency($claim->Price) . ' LBC';
|
$cost = $this->Amount->formatCurrency($claim->Fee) . ' LBC';
|
||||||
}
|
}
|
||||||
|
|
||||||
$desc = $claim->Description;
|
$desc = $claim->Description;
|
||||||
|
@ -171,7 +171,7 @@ if (strlen(trim($desc)) == 0) {
|
||||||
if (isset($claim->Price) && $claim->Price > 0) {
|
if (isset($claim->Price) && $claim->Price > 0) {
|
||||||
$cost = $this->Amount->formatCurrency($claim->Price) . ' LBC';
|
$cost = $this->Amount->formatCurrency($claim->Price) . ' LBC';
|
||||||
} else if (isset($claim->Fee) && strtolower($claim->FeeCurrency) === 'lbc') {
|
} else if (isset($claim->Fee) && strtolower($claim->FeeCurrency) === 'lbc') {
|
||||||
$cost = $this->Amount->formatCurrency($claim->Price) . ' LBC';
|
$cost = $this->Amount->formatCurrency($claim->Fee) . ' LBC';
|
||||||
}
|
}
|
||||||
|
|
||||||
// content type
|
// content type
|
||||||
|
@ -286,7 +286,7 @@ if (strlen(trim($desc)) == 0) {
|
||||||
if (isset($claim->Price) && $claim->Price > 0) {
|
if (isset($claim->Price) && $claim->Price > 0) {
|
||||||
$cost = $this->Amount->formatCurrency($claim->Price) . ' LBC';
|
$cost = $this->Amount->formatCurrency($claim->Price) . ' LBC';
|
||||||
} else if (isset($claim->Fee) && strtolower($claim->FeeCurrency) === 'lbc') {
|
} else if (isset($claim->Fee) && strtolower($claim->FeeCurrency) === 'lbc') {
|
||||||
$cost = $this->Amount->formatCurrency($claim->Price) . ' LBC';
|
$cost = $this->Amount->formatCurrency($claim->Fee) . ' LBC';
|
||||||
}
|
}
|
||||||
|
|
||||||
// content type
|
// content type
|
||||||
|
|
Loading…
Reference in a new issue