dbms_init...1
This commit is contained in:
parent
5323b7c678
commit
78847dac70
@ -39,7 +39,16 @@ class ServiceItemEntity extends CustomerEntity
|
|||||||
}
|
}
|
||||||
public function getView_Sale(): string
|
public function getView_Sale(): string
|
||||||
{
|
{
|
||||||
return $this->getPrice() > $this->getAmount() ? "" : ICONS['SALE_DOWN'];
|
$result = "";
|
||||||
|
//할인시
|
||||||
|
if ($this->getPrice() > $this->getAmount()) {
|
||||||
|
$result = ICONS['SALE_DOWN'];
|
||||||
|
}
|
||||||
|
//부가가치시
|
||||||
|
if ($this->getPrice() < $this->getAmount()) {
|
||||||
|
$result = ICONS['SALE_UP'];
|
||||||
|
}
|
||||||
|
return $result;
|
||||||
}
|
}
|
||||||
public function getView_BillingCycle(): string
|
public function getView_BillingCycle(): string
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user