@extends('layouts.master') @section('content') @php $claim_type = config('custom.claim_type'); $claim_status = config('custom.claim_status'); @endphp @php $validate = []; $activeTab1 = ''; $activeTab2 = ''; $currentTab1 = ''; $currentTab2 = ''; @endphp @if ($errors->any()) @foreach ($errors->all() as $error) @php $validate[] = $error; @endphp @endforeach @endif @if ( $errors->has('STATUS') || $errors->has('FIRST_NAME') || $errors->has('LAST_NAME') || $errors->has('EXPIRY_DATE') || $errors->has('DL_STATE_PROV') || $errors->has('ENDORSEMENTS') || $errors->has('CODE')) @php $currentTab1 = 'current'; $activeTab1 = 'active'; @endphp @elseif ( $errors->has('PHONE') || $errors->has('EMAIL') || $errors->has('CELL_PHONE') || $errors->has('EMERGENCY_PHONE') || $errors->has('SECONDARY_CONTRACT') || $errors->has('NOSMS')) @php $currentTab2 = 'current'; $activeTab2 = 'active'; @endphp @else @php $currentTab1 = 'current'; $activeTab1 = 'active'; @endphp @endif @section('style') @endsection()