@php $applicableForName = $applicableForId = 'applicableFor'; $applicableForLabel = 'Applicable For:'; $applicableForOptions = array( '' => 'All', 'Head Office' => 'Head Office', 'Branch' => 'Branch', ); $configurationForName = $configurationForId = 'configurationFor'; $configurationForLabel = 'Configuration Type:'; $configurationeForOptions = array( '' => 'All', 'Transfer Handover' => 'Transfer Handover', 'Transfer' => 'Transfer', 'Resign' => 'Resign', 'Terminate' => 'Terminate', 'Leave' => 'Leave' ); $class = 'form-control'; $defaultValue = ''; $attributes1 = ['id' => $applicableForId, 'class' => $class]; $attributes2 = ['id' => $configurationForId, 'class' => $class]; @endphp