@php
    $source_types = config('constant.sourceType');
    $credit_report_providers = getCache('credit_report_provider_link');
    $free_value = array_keys(config('constant.CLIENT_TYPES'),"Free");
@endphp

<div class="modal fade" id="first_time_login_modal" style="margin-top: 50px" tabindex="-1" aria-hidden="true">
    <div class="modal-dialog modal-width" >
        <div class="modal-content">
            <div class="modal-header modal-header-info">
                <h5 class="modal-title">Congratulations! Your in. First step is the set up your credit report system to import your credit report now.</h5>
            </div>
            <div class="modal-body">
                <div class="row">
                    <div class="col-md-6 col-xs-12">
                        <div class="form-group">
                            <label for="source_type">Source Type</label>
                            <select class="form-control" id="report_provider">
                                @foreach($source_types as  $key => $value)
                                    @if(auth()->user()->is_free == (int)$free_value && $value == config('constant.sourceType.SmartCredit'))
                                        @continue;
                                    @endif
                                    <option value="{{$value}}" {{auth()->user()->credit_report_company_type == $value ? 'selected':''}}> {{$key}}</option>
                                @endforeach
                            </select>
                        </div>
                    </div>
                </div>
                <div class="row " >
                    <h5 class="mb-1 text-center font-bold" >IMPORTANT:</h5>
                    <h5 class="mb-1 text-center">SET UP YOUR CREDIT REPORT NOW TO IMPORTANT INTO CREDIT ZOMBIES SOFTWARE</h5>
                    <h5 class="mb-1 text-center color-red">USE THE SAME EMAIL AND PASSWORD THAT YOU USED TO SET UP CREDIT ZOMBIES SYSTEM</h5>
                </div>


            </div>
            <div class="modal-footer" style="text-align: center!important;">
                <button class="btn btn-success btn-lg" onclick="hideFirstTimeLoginModalView()">Go Get Credit Report</button>

                <button type="button" class="btn btn-secondary btn-lg pull-left" onclick="firstTimeLoginUserUpdate()" >Close</button>
            </div>
        </div>
    </div>
</div>

<div class="modal fade" id="first_time_login_view_modal" style="margin-top: 50px" tabindex="-1" aria-hidden="true">
    <div class="modal-dialog modal-width" >
        <div class="modal-content">
            <div class="modal-header modal-header-info">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h5 class="modal-title">Congratulations! Your in. Next step add your 3 forms of information below</h5>
            </div>
            <div class="modal-body">
                <h5 class="mb-1 text-left">1. Drivers license image</h5>
                <h5 class="mb-1 text-left">2. Your Social Security Card image</h5>
                <h5 class="mb-1 text-left">3. Your most recent bill image ( any bill )</h5>
            </div>
            <div class="modal-footer" style="text-align: center!important;">
                <button class="btn btn-success btn-lg" id="btn_first_time_login">Ok</button>
            </div>
        </div>
    </div>
</div>
