dbms_primeidc/extdbms/lib/Controllers/ClientController.php
2025-03-21 18:48:48 +09:00

24 lines
660 B
PHP

<?php
namespace lib\Controllers;
class ClientController extends CommonController
{
public function __construct()
{
parent::__construct();
} //
public function getBillingPaper(array $datas)
{
$this->view->siteinfo = $this->getSiteInfo();
$this->getClientModel()->where(["Client_Code" => $datas['client_code']]);
$entity = $this->getClientModel()->getEntity();
if (!$entity) {
throw new \Exception($datas['client_code'] . "에 해당하는 고객이 존재하지 않습니다.");
}
$this->view->client = $entity;
return $this->render('depositbillpaper');
}
}