From b424100e88b68963d4fd0422b62cf580725c7a66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Fri, 30 Aug 2024 17:13:03 +0900 Subject: [PATCH] change IdcDeopsitBillPaperForm.. --- extdbms/lib/Controller/Billing.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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);