Commit 2bf477c7 authored by Shakarim Sapa's avatar Shakarim Sapa

- Добавлена поддержка календарей в условиях

parent d15ee56b
......@@ -79,6 +79,9 @@ class ConditionBase {
$list .= '</select>';
$result[] = $list;
break;
case 'date':
$result[] = '<input data-type="date" type="text" value="'.((array_key_exists($name, $values)) ? $values[$name] : '').'" name="Conditions['.$group_key.']['.$this->getId().$condition_key.'][params]['.$name.']" class="datepicker-autoClose form-control" style="margin-top: 5px;" placeholder="'.((isset($param['placeholder'])) ? $param['placeholder'] : '').'"/>';
break;
default:
$result[] = '<input type="text" value="'.((array_key_exists($name, $values)) ? $values[$name] : '').'" name="Conditions['.$group_key.']['.$this->getId().$condition_key.'][params]['.$name.']" class="form-control" style="margin-top: 5px;" placeholder="'.((isset($param['placeholder'])) ? $param['placeholder'] : '').'"/>';
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment