@extends('Dashboard.master_page')



@section('content')
    <div class="bg-image" style="background-image: url('assets/media/photos/photo10@2x.jpg');">
        <div class="bg-primary-dark-op">
            <div class="content content-full text-center">
                
                <h1 class="h2 text-white mb-0">Domain Transfer</h1>
                
            </div>
        </div>
    </div>



    <div class="content content-boxed">
        <div class="block block-rounded">
            <div class="block-header block-header-default">

                <h3 class="block-title">Domain Transfer</h3>


            </div>
            
            <div >
                <div class="block-content block-content-full " >
                   <div class="row justify-center">
                        <form action="{{ route('domain.transfer.save') }}" method="POST" class="row" style="justify-content:center">
                        @csrf
                        <input type="hidden" name="register_name" value="{{ $data['register_name'] }}">
								<input type="hidden" name="register_email" value="{{ $data['register_email'] }}">

								<input type="hidden" name="organization" value="{{ $data['organization'] }}">

								<input type="hidden" name="domain" value="{{ $data['domain'] }}">

								<input type="hidden" name="status" value="Pending">
								
						<input type="hidden" name="domain" value="{{ $data['domain'] }}">
						
						 <div class="col-lg-12 col-xl-8">   
                            <div class="form-floating mb-4">
                                <select class="form-select domainTransferOption" id="example-select-floating" name="transfer_option"
                                    aria-label="Floating label select example" required>
                                    <!--<option value="None" hidden>Select Option</option>-->
                				    @if($data['organization'] != 'www.aryanict.com')
								    <option value="Transfer In .AF Domain">Transfer In .AF Domain</option>
								   @else
								    <option value="Transfer Out .AF Domain">Transfer Out .AF Domain</option>
								   @endif
                                </select>
                                <label for="example-select-floating">Transfer Option *</label>
                            </div>
                        </div>
						
                       <div class="col-lg-12 col-xl-8"> 
                            <div class="form-floating mb-4">
                                <input type="email" class="form-control" value="{{ auth()->user()->email }}" placeholder="New Customer's myLEAP Account Email *" readonly required
                                    name="customer_email">
                                <label for="example-password-input-floating">New Customer's myLEAP Account Email *</label>
                            </div>
                        </div>
                        
                       
                         <button type="submit" class="btn btn-alt-primary">Submit Request</button>
                    </form>
                   </div>
            </div>
            </div>
            
            
            
            
        </div>


    </div>
@endsection
@section('script')
<script>
    $(document).ready(function(){
       
    });
</script>
@endsection
