cfmgrv4 init...1
This commit is contained in:
parent
bc83fa1fc0
commit
5847c05f5d
@ -40,11 +40,13 @@ class RecordController extends CloudflareController
|
||||
{
|
||||
switch ($field) {
|
||||
case $this->getModel()::PARENT:
|
||||
$this->getZoneModel()->where('status', DEFAULTS['STATUS']);
|
||||
$this->getZoneModel()->where('status', 'active');
|
||||
$options[$field] = [
|
||||
DEFAULTS['EMPTY'] => lang($this->class_path . '.label.' . $field) . ' 선택',
|
||||
...$this->getZoneModel()->getFormFieldOption($field, $options),
|
||||
];
|
||||
echo $this->getZoneModel()->getLastQuery();
|
||||
dd($options);
|
||||
break;
|
||||
default:
|
||||
$options = parent::getFormFieldOption($field, $options);
|
||||
|
||||
@ -15,8 +15,7 @@ return [
|
||||
'updated_at' => "수정일",
|
||||
'created_at' => "작성일",
|
||||
],
|
||||
"ACCOUNT_UID" => [
|
||||
],
|
||||
"ACCOUNT_UID" => [],
|
||||
"DEVELOPMENT_MODE" => [
|
||||
"on" => "사용",
|
||||
"off" => "사용않함",
|
||||
@ -34,5 +33,6 @@ return [
|
||||
"STATUS" => [
|
||||
"active" => "active",
|
||||
"pending" => "pending",
|
||||
"moved" => "moved"
|
||||
],
|
||||
];
|
||||
];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user