@if ($query->order) @elseif ($query->operation && $query->column) @php $operations = $queryArray->operations; @endphp @endif
@if ($type == 'query')
@if ($query->operation) @php $inputField = optional($queryArray->operations[$query->operation])->input; @endphp @if ($inputField->type == 'select') @elseif ($inputField->type == 'date') @endif @endif
@elseif ($type == 'order')
@if ($query->filter) @endif
@endif @if ($index == $total - 1) @endif @if ($total > 1) @endif