<br>
<div id="popInvest" class="container pop_invest_cont" >
  <div class="row wd_row_pad" >
    <div class="col-md-4">&emps;</div><br>
    <div class="col-md-4 card pop_invest_col" align="center">      
      <div class="card-header" style="">
        <h3><b>{{ __('messages.init_invstm') }}</b></h3>
        <h5>{{ __('messages.wlt_bal') }} <b>{{$settings->currency}} <span id="WalletBal"></span></b></h5>  
        <h5>Profit Balance <b>{{$settings->currency}} {{ round($user->profits, 2) }}</b></h5> 
        <hr>
      </div>
      <div class="pop_msg_contnt">              
        <p align="center" class="color_blue_b">
            {{ __('messages.abt_to_invest') }} <b><span id="pack_inv"></span></b> {{ __('messages.pkg_ivt') }} {{ __('messages.pkg_wking') }}  <b><span id="intr"></span></b>% {{ __('messages.tt_int') }}                  
        </p>
        <form id="userpackinv" action="/user/invest/packages" method="post">
            <div class="form-group" align="left">
              <div class="pop_form_min_max" align="center">
                <b>{{ __('messages.min_cap_ivt') }} {{$settings->currency}} <span id="min"></span></b> | 
                <b>{{ __('messages.max_cap_ivt') }} {{$settings->currency}} <span id="max"></span></b>                      
              </div> 
              <br>                   
              <label style="font-size:13pt">{{ __('messages.amt_to_ivt') }}</label>
              <input type="hidden" class="form-control" name="_token" value="{{csrf_token()}}">
              <input id="p_id" type="hidden" class="form-control" name="p_id" value="">
              <input type="text" class="form-control" name="capital" placeholder="Enter capital to invest" required>
              <label style="font-size:13pt">Chose Payment Method</label>
              <select  class="form-control" name="Debit"  required style="font-size:13pt"> 
              <option value="">Select Payment Option</option>
            <option value="wbalance">Wallet Ballance<br><span style="color:red">{{$settings->currency}} {{ round($user->wallet, 2) }}</span></option>
            <option value="pbalance">Profit Ballance <br><span style="color:red">{{$settings->currency}} {{ round($user->profits, 2) }}</span></option>  
               </select>
               
            </div>
            <div class="form-group">
                <button class="collb btn"style="font-size:13pt;background-color:black;color:white;border:2px solid orange">{{ __('messages.proc') }}</button>
                <span style="">            
                  <a id="popMsg_close_user" href="javascript:void(0)" class="btn btn-danger" style="font-size:13pt">{{ __('messages.cncl') }}</a>        
                </span>
                <br><br>
            </div>
        </form>
      
      </div>  
      <!-- close btn -->
      <script type="text/javascript">
        $('#popMsg_close_user').click( function(){
          $('#popInvest').hide();
        });        
      </script>
      <!-- end close btn -->
    </div>
  </div>
</div>