dbms_init...1

This commit is contained in:
choi.jh 2025-06-23 16:50:20 +09:00
parent 5323b7c678
commit 78847dac70

View File

@ -39,7 +39,16 @@ class ServiceItemEntity extends CustomerEntity
}
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
{