diff --git a/extdbms/lib/Controller/Billing.php b/extdbms/lib/Controller/Billing.php index f21e35c..864c68d 100644 --- a/extdbms/lib/Controller/Billing.php +++ b/extdbms/lib/Controller/Billing.php @@ -1,4 +1,5 @@ ", $datas['bills']) as $bill) { + if ($bill != "") { + $temps = explode("||", $bill); + $bills[] = sprintf("{$temps[0]} / {$temps[1]} / %s원", number_format($temps[2])); + } + } + return implode("
", $bills); + } + + public function execute($datas) { $this->view->total_price = number_format($datas['total_price']); $this->view->bill = $this->bill_process($datas);