<script src="{{asset('assets/js/app.js')}}"></script>
<!-- License Refresh Modal -->
<form class="form-horizontal" id="frm-refresh-license">
<div id="modal-refresh-license" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content">
      <div class="modal-header">
        <h6 class="modal-title">{{ __('app.refresh_license') }}</h6>
      </div>
      <div class="modal-body">
        
          <div class="box-body">
            <div class="col-md-12">
              <label class="form-label">{{__('app.domain')}}</label>
              <input type="text" class="form-control" placeholder="{{__('app.domain')}}" name="domain_name" value="{{$settings->app_url ?? ''}}" required disabled>
            </div>
            <div class="col-md-12">
              <label class="form-label">{{__('app.license_key')}}</label>
              <input type="text" class="form-control" placeholder="{{__('app.license_key')}}" name="license_key" required>
            </div>
            <div class="col-md-12">
            <div class="col-md-offset-3 col-md-12" id="msg"></div>
            </div>
          </div>
      </div>
      <div class="modal-footer mt-3">
        <input type="hidden" name="domain" value="{{$settings->app_url ?? ''}}">
        <button type="button" id="refresh-license" class="btn btn-primary btn-loading" onclick="refreshLicense(this.form)"> <i class=""></i> 
          {{ __('app.refresh') }}
        </button>
      </div>
    </div>
  </div>
</div>
</form>
