dbmsv4 init...4
This commit is contained in:
parent
a470299594
commit
c227c4fdb3
@ -17,12 +17,11 @@ class SearchCell extends CommonCell
|
|||||||
{
|
{
|
||||||
$options = ["" => "고객명 선택"];
|
$options = ["" => "고객명 선택"];
|
||||||
foreach ($this->getService()->getEntities() as $entity) {
|
foreach ($this->getService()->getEntities() as $entity) {
|
||||||
$options[$entity->getPK()] = $entity->getTitle();
|
$options[$entity->getPK()] = $entity->getSite() . "/" . $entity->getTitle();
|
||||||
}
|
}
|
||||||
$template = array_key_exists('template', $params) ? $params['template'] : __FUNCTION__;
|
$template = array_key_exists('template', $params) ? $params['template'] : __FUNCTION__;
|
||||||
return view('cells/search/' . $template, [
|
return view('cells/search/' . $template, [
|
||||||
'searchCellDatas' => [
|
'searchCellDatas' => [
|
||||||
'service' => $this->getService(),
|
|
||||||
'options' => $options,
|
'options' => $options,
|
||||||
'selected' => null,
|
'selected' => null,
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user