enquiry_form_element-name-change

et#33
Mahesh Sharma 2 years ago
parent b3aaa90f34
commit 92b515bd80
  1. 31
      database/migrations/2023_02_16_164059_create_countries_table.php
  2. 6
      database/migrations/2023_02_16_171148_create_enquiries_table.php
  3. 40
      resources/views/enquiry-form.blade.php
  4. 2
      resources/views/welcome.blade.php

@ -1,31 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('countries', function (Blueprint $table) {
$table->id();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('countries');
}
};

@ -19,7 +19,7 @@ return new class extends Migration
$table->string('middle_name'); $table->string('middle_name');
$table->string('last_name'); $table->string('last_name');
$table->date('dob'); $table->date('dob');
$table->string('country'); $table->string('cob');
$table->string('gender'); $table->string('gender');
$table->string('email'); $table->string('email');
$table->string('phone'); $table->string('phone');
@ -36,10 +36,6 @@ return new class extends Migration
$table->string('marital_date'); $table->string('marital_date');
$table->string('spouse_academics'); $table->string('spouse_academics');
$table->string('marital_date'); $table->string('marital_date');
$table->boolean('status')->default(true); $table->boolean('status')->default(true);
$table->timestamps(); $table->timestamps();
}); });

@ -18,19 +18,19 @@
<div class="col-md-4"> <div class="col-md-4">
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="name">First Name</label> <label for="name">First Name</label>
<input type="text" class="form-control mt-2" id="fname" name="fname" placeholder="Enter your First name" required> <input type="text" class="form-control mt-2" id="fname" name="first_name" placeholder="Enter your First name" required>
</div> </div>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="name">Middle Name</label> <label for="name">Middle Name</label>
<input type="text" class="form-control mt-2" id="mname" name="mname" placeholder="Enter your Middle name"> <input type="text" class="form-control mt-2" id="mname" name="middle_name" placeholder="Enter your Middle name">
</div> </div>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="name">Last Name</label> <label for="name">Last Name</label>
<input type="text" class="form-control mt-2" id="lname" name="lname" placeholder="Enter your Last name" required> <input type="text" class="form-control mt-2" id="lname" name="last_name" placeholder="Enter your Last name" required>
</div> </div>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
@ -98,7 +98,7 @@
<div class="col-md-4"> <div class="col-md-4">
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="name">Highest Qualification</label> <label for="name">Highest Qualification</label>
<input type="text" class="form-control mt-2" id="highestqualification" name="highestqualification" placeholder="Enter your Highest Qualification"> <input type="text" class="form-control mt-2" id="highest_qualification" name="highest_qualification" placeholder="Enter your Highest Qualification">
</div> </div>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
@ -116,7 +116,7 @@
<div class="col-md-4"> <div class="col-md-4">
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="name">Passed Year</label> <label for="name">Passed Year</label>
<input type="text" class="form-control mt-2" id="passedyear" name="passedyear" placeholder="Enter your Passed Year"> <input type="text" class="form-control mt-2" id="graduate_year" name="graduate_year" placeholder="Enter your Passed Year">
</div> </div>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
@ -128,13 +128,13 @@
<div class="col-md-4"> <div class="col-md-4">
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="name">What you are doing now?</label> <label for="name">What you are doing now?</label>
<input type="text" class="form-control mt-2" id="gpa" name="gpa" placeholder="Enter your Current Status"> <input type="text" class="form-control mt-2" id="current_status" name="current_status" placeholder="Enter your Current Status">
</div> </div>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="name">Do you have work experience?</label> <label for="name">Do you have work experience?</label>
<select class="form-select mt-2" name="work-experience" id="work-experience" onchange="wExperience()"> <select class="form-select mt-2" name="work_experience" id="work-experience" onchange="wExperience()">
<option value="" hidden>Work experence status</option> <option value="" hidden>Work experence status</option>
<option value="yes">Yes</option> <option value="yes">Yes</option>
<option value="no">No</option> <option value="no">No</option>
@ -144,19 +144,19 @@
<div class="col-md-4" id="work-exp-detail"> <div class="col-md-4" id="work-exp-detail">
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="name">Work experience Details</label> <label for="name">Work experience Details</label>
<input type="text" class="form-control mt-2" id="work-experience" name="work-experience" placeholder="Enter your Work experience Details"> <input type="text" class="form-control mt-2" id="work-experience-detail" name="work_experience_details" placeholder="Enter your Work experience Details">
</div> </div>
</div> </div>
<div class="col-md-4" id="work-salary-mode"> <div class="col-md-4" id="work-salary-mode">
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="name">Salary mode</label> <label for="name">Salary mode</label>
<input type="text" class="form-control mt-2" id="salary-mode" name="salary-mode" placeholder="Enter your Salary Mode"> <input type="text" class="form-control mt-2" id="salary-mode" name="salary_mode" placeholder="Enter your Salary Mode">
</div> </div>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="name">IELTS / PTE Score</label> <label for="name">IELTS / PTE Score</label>
<input type="text" class="form-control mt-2" id="test-score" name="test-score" placeholder="Enter your IELTS / PTE score"> <input type="text" class="form-control mt-2" id="test-score" name="test_score" placeholder="Enter your IELTS / PTE score">
</div> </div>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
@ -164,19 +164,19 @@
<label for="name">Marital Status</label> <label for="name">Marital Status</label>
<div class="d-flex gap-2 mt-2" onclick="maritalStatus()"> <div class="d-flex gap-2 mt-2" onclick="maritalStatus()">
<div class="form-check"> <div class="form-check">
<input class="form-check-input marital-status" id="marital-status" type="radio" name="marital-status" value="Single"/> <input class="form-check-input marital-status" id="marital-status" type="radio" name="marital_status" value="Single"/>
<label class="form-check-label"> <label class="form-check-label">
Single Single
</label> </label>
</div> </div>
<div class="form-check"> <div class="form-check">
<input class="form-check-input marital-status" id="marital-status" type="radio" name="marital-status" value="Married"/> <input class="form-check-input marital-status" id="marital-status" type="radio" name="marital_status" value="Married"/>
<label class="form-check-label"> <label class="form-check-label">
Married Married
</label> </label>
</div> </div>
<div class="form-check"> <div class="form-check">
<input class="form-check-input marital-status" id="marital-status" type="radio" name="marital-status" value="Widow"/> <input class="form-check-input marital-status" id="marital-status" type="radio" name="marital_status" value="Widow"/>
<label class="form-check-label"> <label class="form-check-label">
Widow Widow
</label> </label>
@ -188,43 +188,43 @@
<div class="col-md-4" id="spouse-married-date"> <div class="col-md-4" id="spouse-married-date">
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="name">Married date</label> <label for="name">Married date</label>
<input type="date" class="form-control mt-2" id="married-date" name="married-date"> <input type="date" class="form-control mt-2" id="married-date" name="married_date">
</div> </div>
</div> </div>
<div class="col-md-4" id="spouse-academic"> <div class="col-md-4" id="spouse-academic">
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="name">Spouse Academics</label> <label for="name">Spouse Academics</label>
<input type="text" class="form-control mt-2" id="spouse-academics" name="spouse-academics" placeholder="Enter your Spouse Academics"> <input type="text" class="form-control mt-2" id="spouse-academics" name="spouse_academics" placeholder="Enter your Spouse Academics">
</div> </div>
</div> </div>
<div class="col-md-4" id="spouse-experience"> <div class="col-md-4" id="spouse-experience">
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="name">Work Experience of Spouse</label> <label for="name">Work Experience of Spouse</label>
<input type="text" class="form-control mt-2" id="spouse-work-experience" name="spouse-work-experience" placeholder="Enter Work Experience of Spouse"> <input type="text" class="form-control mt-2" id="spouse-work-experience" name="spouse_work_experience" placeholder="Enter Work Experience of Spouse">
</div> </div>
</div> </div>
<div class="col-md-4" id="spouse-salary"> <div class="col-md-4" id="spouse-salary">
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="name">Spouse Salary Mode</label> <label for="name">Spouse Salary Mode</label>
<input type="text" class="form-control mt-2" id="spouse-salary-mode" name="spouse-salary-mode" placeholder="Enter Spouse Salary Mode"> <input type="text" class="form-control mt-2" id="spouse-salary-mode" name="spouse_salary_mode" placeholder="Enter Spouse Salary Mode">
</div> </div>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="name">Immigration History: </label> <label for="name">Immigration History: </label>
<input type="text" class="form-control mt-2" id="immigration-history" name="immigration-history" placeholder="Enter your Immigration History"> <input type="text" class="form-control mt-2" id="immigration-history" name="immigration_history" placeholder="Enter your Immigration History">
</div> </div>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="name">Desired study field</label> <label for="name">Desired study field</label>
<input type="text" class="form-control mt-2" id="desired-study-field" name="desired-study-field" placeholder="Enter your Desired study field"> <input type="text" class="form-control mt-2" id="desired-study-field" name="desired_study_field" placeholder="Enter your Desired study field">
</div> </div>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="name">Desired location (If Any)</label> <label for="name">Desired location (If Any)</label>
<select class="form-select mt-2" name="desired-location" id="desired-location"> <select class="form-select mt-2" name="desired_location" id="desired-location">
<option value="" hidden class="select-placeholder">Select your desired location</option> <option value="" hidden class="select-placeholder">Select your desired location</option>
<option value="au">Australia</option> <option value="au">Australia</option>
<option value="nz">New Zeland</option> <option value="nz">New Zeland</option>

@ -4,7 +4,7 @@
<meta name="description" content="ET Education and Visa Services, presented by Extratech, is an adept provider of excellent education consultation, information, and visa guidance solution to students seeking schooling abroad."> <meta name="description" content="ET Education and Visa Services, presented by Extratech, is an adept provider of excellent education consultation, information, and visa guidance solution to students seeking schooling abroad.">
<meta name="robots" content="index, follow" /> <meta name="robots" content="index, follow" />
<meta property="og:url" content="" /> <meta property="og:url" content="" />
<meta property="og:image" content="{{url($sliders->first()->image)}}"/> <meta property="og:image" content="{{url($sliders->first()->image ?? '')}}"/>
<meta property="og:title" content="ET-Visas"/> <meta property="og:title" content="ET-Visas"/>
<meta property="og:description" content="ET Education and Visa Services, presented by Extratech, is an adept provider of excellent education consultation, information, and visa guidance solution to students seeking schooling abroad."/> <meta property="og:description" content="ET Education and Visa Services, presented by Extratech, is an adept provider of excellent education consultation, information, and visa guidance solution to students seeking schooling abroad."/>
@endsection @endsection

Loading…
Cancel
Save