Compare commits
No commits in common. 'master' and 'et#23' have entirely different histories.
@ -1,36 +0,0 @@ |
|||||||
<?php |
|
||||||
|
|
||||||
namespace App\Console\Commands; |
|
||||||
|
|
||||||
use Illuminate\Console\Command; |
|
||||||
use Illuminate\Support\Facades\Queue; |
|
||||||
|
|
||||||
class CheckQueue extends Command |
|
||||||
{ |
|
||||||
/** |
|
||||||
* The name and signature of the console command. |
|
||||||
* |
|
||||||
* @var string |
|
||||||
*/ |
|
||||||
protected $signature = 'queue:check'; |
|
||||||
|
|
||||||
/** |
|
||||||
* The console command description. |
|
||||||
* |
|
||||||
* @var string |
|
||||||
*/ |
|
||||||
protected $description = 'Check if there is a job in the queue'; |
|
||||||
|
|
||||||
/** |
|
||||||
* Execute the console command. |
|
||||||
* |
|
||||||
* @return int |
|
||||||
*/ |
|
||||||
public function handle() |
|
||||||
{ |
|
||||||
$count = Queue::size(); // Get the number of jobs in the queue |
|
||||||
if ($count > 0) { |
|
||||||
$this->call('queue:process'); // Call the ProcessQueue command if there is a job in the queue |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
@ -1,33 +0,0 @@ |
|||||||
<?php |
|
||||||
|
|
||||||
namespace App\Console\Commands; |
|
||||||
|
|
||||||
use Illuminate\Console\Command; |
|
||||||
use Illuminate\Support\Facades\Queue; |
|
||||||
|
|
||||||
class ProcessQueue extends Command |
|
||||||
{ |
|
||||||
/** |
|
||||||
* The name and signature of the console command. |
|
||||||
* |
|
||||||
* @var string |
|
||||||
*/ |
|
||||||
protected $signature = 'queue:process'; |
|
||||||
|
|
||||||
/** |
|
||||||
* The console command description. |
|
||||||
* |
|
||||||
* @var string |
|
||||||
*/ |
|
||||||
protected $description = 'Process the tasks in the queue'; |
|
||||||
|
|
||||||
/** |
|
||||||
* Execute the console command. |
|
||||||
* |
|
||||||
* @return int |
|
||||||
*/ |
|
||||||
public function handle() |
|
||||||
{ |
|
||||||
Queue::daemon(); // Process the tasks in the queue |
|
||||||
} |
|
||||||
} |
|
@ -1,76 +0,0 @@ |
|||||||
<?php |
|
||||||
|
|
||||||
namespace App\Http\Controllers; |
|
||||||
|
|
||||||
use App\Jobs\SendEnquiryMailJob; |
|
||||||
use App\Models\Country; |
|
||||||
use App\Models\Enquiry; |
|
||||||
use Illuminate\Http\Request; |
|
||||||
use Illuminate\Support\Facades\DB; |
|
||||||
use Illuminate\Support\Facades\Session; |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class EnquiryController extends Controller |
|
||||||
{ |
|
||||||
public function form() |
|
||||||
{ |
|
||||||
$countries = Country::all(); |
|
||||||
return view('enquiry-form', compact('countries')); |
|
||||||
} |
|
||||||
|
|
||||||
public function submit(Request $request) |
|
||||||
{ |
|
||||||
$work_experience = $request->get('work_experience'); |
|
||||||
if ($work_experience == 'no') { |
|
||||||
$request['work_experience_details'] = null; |
|
||||||
$request['salary_mode'] = null; |
|
||||||
} |
|
||||||
$marital_status = $request->get('marital_status'); |
|
||||||
if ($marital_status == 'Widow' || $marital_status == 'Single') { |
|
||||||
$request['married_date'] = null; |
|
||||||
$request['spouse_academics'] = null; |
|
||||||
$request['spouse_work_experience'] = null; |
|
||||||
$request['spouse_salary_mode'] = null; |
|
||||||
} |
|
||||||
DB::beginTransaction(); |
|
||||||
try { |
|
||||||
$enquiry = Enquiry::create($request->all()); |
|
||||||
} catch (\Exception $e) { |
|
||||||
DB::rollback(); |
|
||||||
return redirect()->back()->with(['msg' => 'Something went wrong. Please try again!', 'status' => false], 400); |
|
||||||
} |
|
||||||
DB::commit(); |
|
||||||
dispatch(new SendEnquiryMailJob($enquiry)); |
|
||||||
return redirect()->back()->with(['msg' => 'We have recieved your enquiry. You will be contacted soon!', 'status' => true], 200); |
|
||||||
} |
|
||||||
|
|
||||||
public function index() |
|
||||||
{ |
|
||||||
|
|
||||||
$enquiries = Enquiry::orderBy('id', 'DESC'); |
|
||||||
if (\request('name')) { |
|
||||||
$key = \request('name'); |
|
||||||
$enquiries = $enquiries->where('first_name', 'like', $key . '%'); |
|
||||||
} |
|
||||||
if (\request('email')) { |
|
||||||
$key = \request('email'); |
|
||||||
$enquiries = $enquiries->where('email', 'like', $key . '%'); |
|
||||||
} |
|
||||||
$enquiries = $enquiries->paginate(30); |
|
||||||
return view('admin.enquiry.index', compact('enquiries')); |
|
||||||
} |
|
||||||
|
|
||||||
public function show($id) |
|
||||||
{ |
|
||||||
$enquiry = Enquiry::findorfail($id); |
|
||||||
return view('admin.enquiry.show', compact('enquiry')); |
|
||||||
} |
|
||||||
public function delete($id) |
|
||||||
{ |
|
||||||
$enquiry = Enquiry::findorfail($id); |
|
||||||
$enquiry->delete(); |
|
||||||
Session::flash('success', 'Enquiry has been successfully deleted!'); |
|
||||||
return redirect('admin/enquiries'); |
|
||||||
} |
|
||||||
} |
|
@ -1,41 +0,0 @@ |
|||||||
<?php |
|
||||||
|
|
||||||
namespace App\Jobs; |
|
||||||
|
|
||||||
use App\Mail\EnquiryMail; |
|
||||||
use App\Models\Setting; |
|
||||||
use Illuminate\Bus\Queueable; |
|
||||||
use Illuminate\Contracts\Queue\ShouldBeUnique; |
|
||||||
use Illuminate\Contracts\Queue\ShouldQueue; |
|
||||||
use Illuminate\Foundation\Bus\Dispatchable; |
|
||||||
use Illuminate\Queue\InteractsWithQueue; |
|
||||||
use Illuminate\Queue\SerializesModels; |
|
||||||
use Illuminate\Support\Facades\Mail; |
|
||||||
|
|
||||||
class SendEnquiryMailJob implements ShouldQueue |
|
||||||
{ |
|
||||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; |
|
||||||
|
|
||||||
/** |
|
||||||
* Create a new job instance. |
|
||||||
* |
|
||||||
* @return void |
|
||||||
*/ |
|
||||||
protected $enquiry; |
|
||||||
public function __construct($enquiry) |
|
||||||
{ |
|
||||||
$this->enquiry = $enquiry; |
|
||||||
} |
|
||||||
|
|
||||||
/** |
|
||||||
* Execute the job. |
|
||||||
* |
|
||||||
* @return void |
|
||||||
*/ |
|
||||||
public function handle() |
|
||||||
{ |
|
||||||
$email = Setting::where('key', 'email')->get('value')->first()->value; |
|
||||||
|
|
||||||
Mail::to($email)->send(new EnquiryMail($this->enquiry)); |
|
||||||
} |
|
||||||
} |
|
@ -1,65 +0,0 @@ |
|||||||
<?php |
|
||||||
|
|
||||||
namespace App\Mail; |
|
||||||
|
|
||||||
use Illuminate\Bus\Queueable; |
|
||||||
use Illuminate\Contracts\Queue\ShouldQueue; |
|
||||||
use Illuminate\Mail\Mailable; |
|
||||||
use Illuminate\Mail\Mailables\Content; |
|
||||||
use Illuminate\Mail\Mailables\Envelope; |
|
||||||
use Illuminate\Queue\SerializesModels; |
|
||||||
|
|
||||||
class EnquiryMail extends Mailable |
|
||||||
{ |
|
||||||
use Queueable, SerializesModels; |
|
||||||
|
|
||||||
/** |
|
||||||
* Create a new message instance. |
|
||||||
* |
|
||||||
* @return void |
|
||||||
* |
|
||||||
*/ |
|
||||||
protected $enquiry; |
|
||||||
|
|
||||||
public function __construct($enquiry) |
|
||||||
{ |
|
||||||
$this->enquiry = $enquiry; |
|
||||||
} |
|
||||||
|
|
||||||
/** |
|
||||||
* Get the message envelope. |
|
||||||
* |
|
||||||
* @return \Illuminate\Mail\Mailables\Envelope |
|
||||||
*/ |
|
||||||
public function envelope() |
|
||||||
{ |
|
||||||
return new Envelope( |
|
||||||
subject: 'Enquiry Mail', |
|
||||||
); |
|
||||||
} |
|
||||||
|
|
||||||
/** |
|
||||||
* Get the message content definition. |
|
||||||
* |
|
||||||
* @return \Illuminate\Mail\Mailables\Content |
|
||||||
*/ |
|
||||||
public function content() |
|
||||||
{ |
|
||||||
return new Content( |
|
||||||
view: 'enquiry_mail', |
|
||||||
with: [ |
|
||||||
'enquiry' => $this->enquiry, |
|
||||||
], |
|
||||||
); |
|
||||||
} |
|
||||||
|
|
||||||
/** |
|
||||||
* Get the attachments for the message. |
|
||||||
* |
|
||||||
* @return array |
|
||||||
*/ |
|
||||||
public function attachments() |
|
||||||
{ |
|
||||||
return []; |
|
||||||
} |
|
||||||
} |
|
@ -1,11 +0,0 @@ |
|||||||
<?php |
|
||||||
|
|
||||||
namespace App\Models; |
|
||||||
|
|
||||||
use Illuminate\Database\Eloquent\Factories\HasFactory; |
|
||||||
use Illuminate\Database\Eloquent\Model; |
|
||||||
|
|
||||||
class Country extends Model |
|
||||||
{ |
|
||||||
use HasFactory; |
|
||||||
} |
|
@ -1,13 +0,0 @@ |
|||||||
<?php |
|
||||||
|
|
||||||
namespace App\Models; |
|
||||||
|
|
||||||
use Illuminate\Database\Eloquent\Factories\HasFactory; |
|
||||||
use Illuminate\Database\Eloquent\Model; |
|
||||||
|
|
||||||
class Enquiry extends Model |
|
||||||
{ |
|
||||||
use HasFactory; |
|
||||||
|
|
||||||
protected $guarded = ['id']; |
|
||||||
} |
|
@ -1,59 +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('enquiries', function (Blueprint $table) { |
|
||||||
$table->id(); |
|
||||||
$table->string('first_name'); |
|
||||||
$table->string('middle_name')->nullable(); |
|
||||||
$table->string('last_name'); |
|
||||||
$table->date('dob'); |
|
||||||
$table->string('cob'); |
|
||||||
$table->string('gender'); |
|
||||||
$table->string('email'); |
|
||||||
$table->string('phone'); |
|
||||||
$table->string('address'); |
|
||||||
$table->string('highest_qualification'); |
|
||||||
$table->string('stream')->nullable(); |
|
||||||
$table->string('gpa'); |
|
||||||
$table->string('graduate_year'); |
|
||||||
$table->string('gap')->nullable(); |
|
||||||
$table->string('current_status')->nullable(); |
|
||||||
$table->string('work_experience'); |
|
||||||
$table->text('work_experience_details')->nullable(); |
|
||||||
$table->string('salary_mode')->nullable(); |
|
||||||
$table->string('test_score')->nullable(); |
|
||||||
$table->string('marital_status'); |
|
||||||
$table->string('married_date')->nullable(); |
|
||||||
$table->string('spouse_academics')->nullable(); |
|
||||||
$table->string('spouse_work_experience')->nullable(); |
|
||||||
$table->string('spouse_salary_mode')->nullable(); |
|
||||||
$table->string('immigration_history')->nullable(); |
|
||||||
$table->string('desired_study_field')->nullable(); |
|
||||||
$table->string('desired_location')->nullable(); |
|
||||||
$table->boolean('status')->default(true); |
|
||||||
$table->timestamps(); |
|
||||||
}); |
|
||||||
} |
|
||||||
|
|
||||||
/** |
|
||||||
* Reverse the migrations. |
|
||||||
* |
|
||||||
* @return void |
|
||||||
*/ |
|
||||||
public function down() |
|
||||||
{ |
|
||||||
Schema::dropIfExists('enquiries'); |
|
||||||
} |
|
||||||
}; |
|
@ -1,49 +0,0 @@ |
|||||||
<?php |
|
||||||
|
|
||||||
namespace Database\Seeders; |
|
||||||
|
|
||||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents; |
|
||||||
use Illuminate\Database\Seeder; |
|
||||||
use App\Models\Appointment; |
|
||||||
use Carbon\Carbon; |
|
||||||
use Carbon\CarbonInterval; |
|
||||||
use Illuminate\Support\Facades\DB; |
|
||||||
|
|
||||||
|
|
||||||
class AppointmentTableSeeder extends Seeder |
|
||||||
{ |
|
||||||
/** |
|
||||||
* Run the database seeds. |
|
||||||
* |
|
||||||
* @return void |
|
||||||
*/ |
|
||||||
public function run() |
|
||||||
{ |
|
||||||
|
|
||||||
$latestAppointment = DB::table('appointments')->latest('date')->first(); |
|
||||||
$startDate = $latestAppointment ? Carbon::parse($latestAppointment->date)->addDay() : Carbon::now(); |
|
||||||
|
|
||||||
$startTime = Carbon::parse("9:00 AM"); |
|
||||||
$endTime = Carbon::parse("5:00 PM"); |
|
||||||
|
|
||||||
foreach(config('custom.service_type') as $key => $value){ |
|
||||||
|
|
||||||
for ($i = 0; $i < 7; $i++) { |
|
||||||
$date = $startDate->copy()->addDays($i); |
|
||||||
for ($j = 0; $j <= ((($endTime->diffInMinutes($startTime)) / 30)-1); $j++) { |
|
||||||
|
|
||||||
$currentTime = $startTime->copy()->addMinutes(30 * $j); |
|
||||||
$currentEndTime = $startTime->copy()->addMinutes(30 * $j + 30); |
|
||||||
|
|
||||||
DB::table('appointments')->insert([ |
|
||||||
'date' => $date, |
|
||||||
'start_time' => $currentTime->format("H:i A"), |
|
||||||
'end_time' => $currentEndTime->format("H:i A"), |
|
||||||
'service_type' => $key |
|
||||||
]); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
} |
|
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 8.2 KiB |
@ -0,0 +1,157 @@ |
|||||||
|
@extends('admin.layouts.app') |
||||||
|
@section('content') |
||||||
|
<!-- Content Wrapper. Contains page content --> |
||||||
|
<div class="content-wrapper"> |
||||||
|
<!-- Content Header (Page header) --> |
||||||
|
<section class="content-header"> |
||||||
|
<div class="container-fluid"> |
||||||
|
<div class="row mb-2"> |
||||||
|
<div class="col-sm-6"> |
||||||
|
<h1>Career</h1> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div><!-- /.container-fluid --> |
||||||
|
</section> |
||||||
|
|
||||||
|
<!-- Main content --> |
||||||
|
<section class="content"> |
||||||
|
<div class="container-fluid"> |
||||||
|
<!-- SELECT2 EXAMPLE --> |
||||||
|
<div class="card card-default"> |
||||||
|
<div class="card-header"> |
||||||
|
<h3 class="card-title">Create Career</h3> |
||||||
|
<a href="{{url('admin/careers')}}" class="back-button">List</a> |
||||||
|
|
||||||
|
</div> |
||||||
|
<div class="card-body"> |
||||||
|
@include('success.success') |
||||||
|
@include('errors.error') |
||||||
|
{!! Form::open(['url' => '/admin/careers', 'class' => 'form-horizontal', 'method'=> 'POST','files' => true,'autocomplete' => 'OFF']) !!} |
||||||
|
<div class="row"> |
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Image <span style="color: red";> * </span> </label> |
||||||
|
<input type="file" class="form-control" name="image" required> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label> Title <span style="color: red";> * </span> </label> |
||||||
|
<input type="text" class="form-control" id="inputPassword3" name="title" value="{{old('title')}}" required> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6" > |
||||||
|
<div class="form-group" > |
||||||
|
<label>Sub Title <span style="color: red";> * </span></label> |
||||||
|
<textarea name="sub_title" class="summernote_class" rows="5" required style="height: 658px;" >{{old('sub_title')}}</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6" > |
||||||
|
<div class="form-group" > |
||||||
|
<label>Point Title <span style="color: red";> * </span> </label> |
||||||
|
<textarea name="point_title" class="summernote_class" rows="5" required style="height: 658px;" >{{old('point_title')}} |
||||||
|
</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Seo Title</label> |
||||||
|
<input type="text" class="form-control" id="inputPassword3" name="seo_title" value="{{old('seo_title')}}"> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label> Keyword <span style="color: red";> * </span> </label> |
||||||
|
<input type="text" class="form-control" id="inputPassword3" name="keyword" value="{{old('keyword')}}" required> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Seo Description </label> |
||||||
|
<textarea class="summernote_class" name="seo_description">{{old('seo_description')}}</textarea> |
||||||
|
{{-- <input type="text" class="form-control" id="inputPassword3" name="seo_description" >--}} |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Meta Keyword</label> |
||||||
|
<textarea class="summernote_class" name="meta_keyword" >{{old('meta_keyword')}}</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="row" id="point_dom"> |
||||||
|
<div class="col-md-6 rel-close" id="point_row_1"> |
||||||
|
<div class="dom-box"> |
||||||
|
<div class="add-points card"> |
||||||
|
<div class="form-group" id="point_g_1" > |
||||||
|
<!-- <label for=""> Point Title <span style="color: red";> * </span></label> <br> --> |
||||||
|
<!-- <input type="text" name="point_title" id="title1" placeholder="Title"> <br> --> |
||||||
|
<div id="point1" class="point1" > |
||||||
|
<label for="">Points <span style="color: red";> * </span> </label> <br> |
||||||
|
<input type="text" class="point" name="points[]" placeholder="Points"> <br> |
||||||
|
<button class="close-point" onclick="deletePoint(1)" type="button"><i class="fa fa-trash" aria-hidden="true"></i></button> |
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
||||||
|
<button type="button" class="add-point-btn btn btn-primary" onclick="getPoint(1)">Add Points</button> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Status <span style="color: red";> * </span> </label> |
||||||
|
<select name="status" class="form-control" id="type" required> |
||||||
|
<option value="" selected disabled>Please select Status</option> |
||||||
|
@foreach(config('custom.status') as $in => $val) |
||||||
|
<option value="{{$in}}" {{(old('status')==$in) ? 'selected':''}}>{{$val}}</option> |
||||||
|
@endforeach |
||||||
|
|
||||||
|
</select> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="form-group row create-button"> |
||||||
|
<div class="col-sm-10 col-md-12"> |
||||||
|
<button type="submit" class="btn btn-primary">Create</button> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
{!! Form::close() !!} |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</section> |
||||||
|
</div> |
||||||
|
@endsection |
||||||
|
@section('script') |
||||||
|
<script> |
||||||
|
$(document).ready(function() { |
||||||
|
$('.summernote_class').summernote() |
||||||
|
}) |
||||||
|
|
||||||
|
var point_count = 1; |
||||||
|
function getPoint(count){ |
||||||
|
point_count = point_count +1; |
||||||
|
debugger; |
||||||
|
var html = '<div id="point'+point_count+'" class="point1">'+ |
||||||
|
'<input type="text" class="point" name="points[]" placeholder="Points"> <br>'+ |
||||||
|
'<button type="button" class="close-point" onclick="deletePoint('+point_count+')"><i class="fa fa-trash" aria-hidden="true"></i></button>'+ |
||||||
|
'</div>'; |
||||||
|
$('#point_g_1').append(html); |
||||||
|
} |
||||||
|
function deletePoint(count){ |
||||||
|
if($('.point').length > 1){ |
||||||
|
$('#point'+count).remove(); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
</script> |
||||||
|
|
||||||
|
|
||||||
|
@endsection |
||||||
|
|
@ -0,0 +1,203 @@ |
|||||||
|
@extends('admin.layouts.app') |
||||||
|
@section('content') |
||||||
|
<!-- Content Wrapper. Contains page content --> |
||||||
|
<div class="content-wrapper"> |
||||||
|
<!-- Content Header (Page header) --> |
||||||
|
<section class="content-header"> |
||||||
|
<div class="container-fluid"> |
||||||
|
<div class="row mb-2"> |
||||||
|
<div class="col-sm-6"> |
||||||
|
<h1>Career</h1> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div><!-- /.container-fluid --> |
||||||
|
</section> |
||||||
|
|
||||||
|
<!-- Main content --> |
||||||
|
<section class="content"> |
||||||
|
<div class="container-fluid"> |
||||||
|
<!-- SELECT2 EXAMPLE --> |
||||||
|
<div class="card card-default"> |
||||||
|
<div class="card-header"> |
||||||
|
<h3 class="card-title">Edit Career</h3> |
||||||
|
<a href="{{url('admin/careers')}}" class="back-button">Back</a> |
||||||
|
|
||||||
|
</div> |
||||||
|
<div class="card-body"> |
||||||
|
@include('success.success') |
||||||
|
@include('errors.error') |
||||||
|
{!! Form::open(['url' => '/admin/careers/'.$about_us->id, 'class' => 'form-horizontal', 'method'=> 'POST','files' => true]) !!} |
||||||
|
<div class="row"> |
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Image</label> |
||||||
|
<input type="file" class="form-control" name="image" > |
||||||
|
<br> |
||||||
|
<span> |
||||||
|
<a href="{{url($about_us->image)}}" target="_blank"> |
||||||
|
<img src="{{url($about_us->image)}}" alt="" style="width: 100px"> |
||||||
|
</a> |
||||||
|
</span> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label> Title <span style="color: red";> * </span> </label> |
||||||
|
<input type="text" class="form-control" id="inputPassword3" name="title" value="{{$about_us->title}}" required> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6" > |
||||||
|
<div class="form-group" > |
||||||
|
<label>Sub Title <span style="color: red";> * </span></label> |
||||||
|
<textarea name="sub_title" class="summernote_class" rows="5" required style="height: 658px;" >{{$about_us->sub_title}}</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6" > |
||||||
|
<div class="form-group" > |
||||||
|
<label>Point Title <span style="color: red";> * </span> </label> |
||||||
|
<textarea name="point_title" class="summernote_class" rows="5" required style="height: 658px;" >{{$about_us->point_title}} |
||||||
|
</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Seo Title</label> |
||||||
|
<input type="text" class="form-control" id="inputPassword3" name="seo_title" value="{{$about_us->seo_title}}"> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label> Keyword <span style="color: red";> * </span> </label> |
||||||
|
<input type="text" class="form-control" id="inputPassword3" name="keyword" value="{{$about_us->keyword}}"> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Seo Description</label> |
||||||
|
<textarea class="summernote_class" name="seo_description">{{$about_us->seo_description}}</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Meta Keyword</label> |
||||||
|
<textarea class="summernote_class" name="meta_keyword" >{{$about_us->meta_keyword}}</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div> |
||||||
|
|
||||||
|
@if($about_us->career_points->count() > 0) |
||||||
|
<div class="row" id="point_dom"> |
||||||
|
<div class="col-md-6 rel-close" id="point_row_1"> |
||||||
|
<div class="dom-box"> |
||||||
|
<div class="add-points card"> |
||||||
|
<div class="form-group" id="point_g_1" > |
||||||
|
<!-- <label for="">Point Title <span style="color: red";> * </span> </label> <br> --> |
||||||
|
<!-- <input type="text" name="point_title" id="title1" placeholder="title" value="{{$about_us->point_title}}"> <br> --> |
||||||
|
<label for="">Points <span style="color: red";> * </span> </label> |
||||||
|
<br> |
||||||
|
@foreach($about_us->career_points as $point) |
||||||
|
<div id="point_old{{$point->id}}" class="point1" > |
||||||
|
<input type="text" class="point" name="points[]" placeholder="Point" value="{{$point->point}}"> <br> |
||||||
|
<input type="hidden" name="point_old_id[]" placeholder="points" value="{{$point->id}}"> <br> |
||||||
|
<button class="close-point" onclick="deletePointPermanently({{$point->id}})" type="button"><i class="fa fa-trash" aria-hidden="true"></i></button> |
||||||
|
</div> |
||||||
|
@endforeach |
||||||
|
|
||||||
|
</div> |
||||||
|
<button type="button" class="add-point-btn btn btn-primary" onclick="getPoint(1)">Add Points</button> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-4"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Status <span style="color: red";> * </span> </label> |
||||||
|
<select name="status" class="form-control" id="type" required> |
||||||
|
<option value="" selected disabled>Please select Status</option> |
||||||
|
@foreach(config('custom.status') as $in => $val) |
||||||
|
<option value="{{$in}}" {{($about_us->status ==$in) ? 'selected':''}}>{{$val}}</option> |
||||||
|
@endforeach |
||||||
|
|
||||||
|
</select> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
@endif |
||||||
|
<div class="form-group row"> |
||||||
|
<div class="col-sm-10"> |
||||||
|
<button type="submit" class="btn btn-primary">Update</button> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
{!! Form::close() !!} |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</section> |
||||||
|
</div> |
||||||
|
@endsection |
||||||
|
@section('script') |
||||||
|
<script> |
||||||
|
$.ajaxSetup({ |
||||||
|
headers: { |
||||||
|
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
||||||
|
} |
||||||
|
}); |
||||||
|
|
||||||
|
$(document).ready(function() { |
||||||
|
$('.summernote_class').summernote() |
||||||
|
}) |
||||||
|
|
||||||
|
var point_count = 1; |
||||||
|
function getPoint(count){ |
||||||
|
point_count = point_count +1; |
||||||
|
var html = '<div id="point'+point_count+'" class="point1">'+ |
||||||
|
'<input type="text" class="point" name="points[]" placeholder="Point"> <br>'+ |
||||||
|
'<button type="button" class="close-point" onclick="deletePoint('+point_count+')"><i class="fa fa-trash" aria-hidden="true"></i></button>'+ |
||||||
|
'</div>'; |
||||||
|
$('#point_g_1').append(html); |
||||||
|
} |
||||||
|
function deletePoint(count){ |
||||||
|
if($('.point').length > 1){ |
||||||
|
$('#point'+count).remove(); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
function deletePointPermanently(id){ |
||||||
|
if($('.point').length > 1){ |
||||||
|
if (confirm("Are you sure Delete?")) { |
||||||
|
$.ajax({ |
||||||
|
/* the route pointing to the post function */ |
||||||
|
type: 'GET', |
||||||
|
url: Laravel.url +"/admin/blog_point/"+id, |
||||||
|
dataType: 'json', |
||||||
|
processData: false, // tell jQuery not to process the data |
||||||
|
contentType: false, |
||||||
|
/* remind that 'data' is the response of the AjaxController */ |
||||||
|
success: function (data) { |
||||||
|
$('#point_old'+data.blog_point_id).remove(); |
||||||
|
}, |
||||||
|
error: function(error) { |
||||||
|
|
||||||
|
} |
||||||
|
}); |
||||||
|
} |
||||||
|
return false; |
||||||
|
} |
||||||
|
} |
||||||
|
</script> |
||||||
|
@endsection |
||||||
|
|
@ -0,0 +1,116 @@ |
|||||||
|
@extends('admin.layouts.app') |
||||||
|
@section('content') |
||||||
|
|
||||||
|
|
||||||
|
<div class="content-wrapper"> |
||||||
|
<!-- Content Header (Page header) --> |
||||||
|
<section class="content-header"> |
||||||
|
<div class="container-fluid"> |
||||||
|
<div class="row mb-2"> |
||||||
|
<div class="col-sm-6"> |
||||||
|
<h1>Career</h1> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div><!-- /.container-fluid --> |
||||||
|
</section> |
||||||
|
|
||||||
|
<!-- Main content --> |
||||||
|
<section class="content"> |
||||||
|
<div class="container-fluid"> |
||||||
|
<div class="row"> |
||||||
|
<div class="col-md-12"> |
||||||
|
<div class="card"> |
||||||
|
<div class="card-header"> |
||||||
|
<h3 class="card-title">Career Table</h3> |
||||||
|
<div class="card-tools"> |
||||||
|
<a class="btn btn-primary" href="{{url('admin/careers/create')}}" role="button">Create</a> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<!-- /.card-header --> |
||||||
|
<div class="card-body"> |
||||||
|
@include('success.success') |
||||||
|
@include('errors.error') |
||||||
|
<form id="search" class="search-form"> |
||||||
|
<div class="row"> |
||||||
|
<div class="input-group input-group-sm mb-3 table-search col-md-3"> |
||||||
|
<input type="search" name="name" class="form-control ds-input" placeholder="Name" aria-label="Small" aria-describedby="inputGroup-sizing-sm" onchange="filterList()"> |
||||||
|
</div> |
||||||
|
<div class="input-group input-group-sm mb-3 table-search col-md-3"> |
||||||
|
<select name="status" class="form-control ds-input" onchange="filterList()"> |
||||||
|
<option value="" disabled selected>Search By Status</option> |
||||||
|
@foreach(config('custom.status') as $in => $val) |
||||||
|
<option value="{{$in}}">{{$val}}</option> |
||||||
|
@endforeach |
||||||
|
</select> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</form> |
||||||
|
|
||||||
|
<table class="table table-bordered"> |
||||||
|
<thead> |
||||||
|
<tr> |
||||||
|
<th style="width: 10px">S.N.</th> |
||||||
|
<th class="text-center">Image</th> |
||||||
|
<th class="text-center">Title</th> |
||||||
|
<th class="text-center">Slug</th> |
||||||
|
<th class="text-center">Status</th> |
||||||
|
<th class="text-center">Action</th> |
||||||
|
</tr> |
||||||
|
</thead> |
||||||
|
<tbody> |
||||||
|
@foreach($settings as $setting) |
||||||
|
<tr> |
||||||
|
<th scope="row">{{$loop->iteration}}</th> |
||||||
|
|
||||||
|
|
||||||
|
<td class="text-center"> |
||||||
|
<a href="{{url($setting->image)}}" target="_blank"> |
||||||
|
<img src="{{url($setting->image)}}" alt="" style="width: 100px;"> |
||||||
|
|
||||||
|
</a> |
||||||
|
</td> |
||||||
|
<td class="text-center">{!!$setting->title!!}</td> |
||||||
|
<td class="text-center">{{$setting->slug}}</td> |
||||||
|
<td class="text-center"> {{config('custom.status')[$setting->status]}}</td> |
||||||
|
|
||||||
|
<td class="text-center"> |
||||||
|
<a class="btn btn-primary btn-sm" href="{{url('admin/careers/'.$setting->id)}}"> |
||||||
|
<i class="fas fa-folder"> |
||||||
|
</i> |
||||||
|
View |
||||||
|
</a> |
||||||
|
<a class="btn btn-info btn-sm" href="{{url('admin/careers/'.$setting->id.'/edit')}}"> |
||||||
|
<i class="fas fa-pencil-alt"> |
||||||
|
</i> |
||||||
|
Edit |
||||||
|
</a> |
||||||
|
<!-- {{-- <a class="btn btn-info btn-danger" href="{{url('admin/about_us/delete/'.$setting->id)}}" onclick="return confirm('Are you sure want to delete?')">--}} |
||||||
|
{{-- <i class="fas fa-pencil-alt"> |
||||||
|
{{-- </i> |
||||||
|
{{-- Delete |
||||||
|
{{-- </a> --> |
||||||
|
</td> |
||||||
|
</tr> |
||||||
|
@endforeach |
||||||
|
|
||||||
|
</tbody> |
||||||
|
</table> |
||||||
|
<div class="pagination-page" style="margin-top: 30px;"> |
||||||
|
{!! $settings->links() !!} |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
||||||
|
<!-- /.card --> |
||||||
|
|
||||||
|
</div> |
||||||
|
<!-- /.col --> |
||||||
|
</div> |
||||||
|
<!-- /.row --> |
||||||
|
</div><!-- /.container-fluid --> |
||||||
|
</section> |
||||||
|
<!-- /.content --> |
||||||
|
</div> |
||||||
|
|
||||||
|
@endsection |
@ -0,0 +1,148 @@ |
|||||||
|
@extends('admin.layouts.app') |
||||||
|
@section('content') |
||||||
|
<!-- Content Wrapper. Contains page content --> |
||||||
|
<div class="content-wrapper"> |
||||||
|
<!-- Content Header (Page header) --> |
||||||
|
<section class="content-header"> |
||||||
|
<div class="container-fluid"> |
||||||
|
<div class="row mb-2"> |
||||||
|
<div class="col-sm-6"> |
||||||
|
<h1>Show Career</h1> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div><!-- /.container-fluid --> |
||||||
|
</section> |
||||||
|
|
||||||
|
<!-- Main content --> |
||||||
|
<section class="content"> |
||||||
|
<div class="container-fluid"> |
||||||
|
<!-- SELECT2 EXAMPLE --> |
||||||
|
<div class="card card-default"> |
||||||
|
<div class="card-header"> |
||||||
|
<h3 class="card-title">Show Career</h3> |
||||||
|
</div> |
||||||
|
<div class="card-body"> |
||||||
|
@include('success.success') |
||||||
|
@include('errors.error') |
||||||
|
<div class="row"> |
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Image</label> |
||||||
|
<br> |
||||||
|
<span> |
||||||
|
<a href="{{url($about_us->image)}}" target="_blank"> |
||||||
|
<img src="{{url($about_us->image)}}" alt="" style="width: 100px"> |
||||||
|
</a> |
||||||
|
</span> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label> Title <span style="color: red";> * </span> </label> |
||||||
|
<input type="text" class="form-control" id="inputPassword3" name="title" value="{{$about_us->title}}" required> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6" > |
||||||
|
<div class="form-group" > |
||||||
|
<label>Sub Title <span style="color: red";> * </span></label> |
||||||
|
<textarea name="sub_title" class="summernote_class" rows="5" required style="height: 658px;" >{{$about_us->sub_title}}</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6" > |
||||||
|
<div class="form-group" > |
||||||
|
<label>Point Title <span style="color: red";> * </span> </label> |
||||||
|
<textarea name="point_title" class="summernote_class" rows="5" required style="height: 658px;" >{{$about_us->point_title}} |
||||||
|
</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Seo Title</label> |
||||||
|
<input type="text" class="form-control" id="inputPassword3" name="seo_title" value="{{$about_us->seo_title}}" disabled> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label> Keyword </label> |
||||||
|
<input type="text" class="form-control" id="inputPassword3" name="keyword" value="{{$about_us->keyword}}" disabled> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Seo Description</label> |
||||||
|
<textarea class="summernote_class" name="seo_description" disabled>{{$about_us->seo_description}}</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Meta Keyword</label> |
||||||
|
<textarea class="summernote_class" name="meta_keyword" disabled >{{$about_us->meta_keyword}}</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div> |
||||||
|
|
||||||
|
@if($about_us->career_points) |
||||||
|
<div class="row" id="point_dom"> |
||||||
|
<div class="col-md-6 rel-close" id="point_row_1"> |
||||||
|
<div class="dom-box"> |
||||||
|
<div class="add-points card"> |
||||||
|
<div class="form-group" id="point_g_1" > |
||||||
|
<!-- <label for="">Title</label> <br> --> |
||||||
|
<!-- <input type="text" name="point_title" id="title1" placeholder="title" value="{{$about_us->point_title}}" disabled> <br> --> |
||||||
|
<label for="">Points</label> |
||||||
|
<br> |
||||||
|
@foreach($about_us->career_points as $point) |
||||||
|
<div id="point_old{{$point->id}}" class="point1" > |
||||||
|
<input type="text" class="point" name="point_old[]" placeholder="points" value="{{$point->point}}" disabled> <br> |
||||||
|
<input type="hidden" name="point_old_id[]" placeholder="points" value="{{$point->id}}"> <br> |
||||||
|
</div> |
||||||
|
@endforeach |
||||||
|
|
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Status</label> |
||||||
|
<select name="status" class="form-control" id="type" required disabled> |
||||||
|
<option value="" selected disabled>Please select Status</option> |
||||||
|
@foreach(config('custom.status') as $in => $val) |
||||||
|
<option value="{{$in}}" {{($about_us->status ==$in) ? 'selected':''}}>{{$val}}</option> |
||||||
|
@endforeach |
||||||
|
|
||||||
|
</select> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
@endif |
||||||
|
|
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</section> |
||||||
|
</div> |
||||||
|
@endsection |
||||||
|
@section('script') |
||||||
|
<script> |
||||||
|
$(document).ready(function() { |
||||||
|
$('.summernote_class').summernote() |
||||||
|
}) |
||||||
|
</script> |
||||||
|
@endsection |
||||||
|
|
@ -1,22 +0,0 @@ |
|||||||
Sender details: <br><br> |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: {{ $name }}<br> |
|
||||||
|
|
||||||
Email: {{ $email }}<br> |
|
||||||
|
|
||||||
Phone: {{ $phone }}<br> |
|
||||||
|
|
||||||
Query Type: {{ $query_type }}<br> |
|
||||||
|
|
||||||
Contact Type: {{ $contact_us_type }}<br> |
|
||||||
InQuery for: {{$inQuery_for}}<br> |
|
||||||
|
|
||||||
Subject: {{ $subject }}<br> |
|
||||||
|
|
||||||
Message: {!! $msg !!}<br><br> |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Thanks |
|
@ -1,165 +0,0 @@ |
|||||||
@extends('admin.layouts.app') |
|
||||||
@section('content') |
|
||||||
<!-- Content Wrapper. Contains page content --> |
|
||||||
<div class="content-wrapper"> |
|
||||||
<!-- Content Header (Page header) --> |
|
||||||
<section class="content-header"> |
|
||||||
<div class="container-fluid"> |
|
||||||
<div class="row mb-2"> |
|
||||||
<div class="col-sm-6"> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</div><!-- /.container-fluid --> |
|
||||||
</section> |
|
||||||
|
|
||||||
<!-- Main content --> |
|
||||||
<section class="content"> |
|
||||||
<div class="container-fluid"> |
|
||||||
<!-- SELECT2 EXAMPLE --> |
|
||||||
<div class="card card-default"> |
|
||||||
<div class="card-header"> |
|
||||||
<h3 class="card-title">Enquiry</h3> |
|
||||||
<a href="{{url('admin/enquiries')}}" class="btn btn-green back-button active" role="button" aria-pressed="true">List</a> |
|
||||||
</div> |
|
||||||
<div class="card-body"> |
|
||||||
@include('success.success') |
|
||||||
@include('errors.error') |
|
||||||
<div class="row"> |
|
||||||
<div class="col-md-6"> |
|
||||||
<ul class="contact-info"> |
|
||||||
<h2>Personal Details</h2> |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Full Name:</span> |
|
||||||
<span>{{$enquiry->first_name . ' ' .(!is_null($enquiry->middle_name) ? $enquiry->middle_name .' ' :''). $enquiry->last_name}}</span> |
|
||||||
</li> |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Date of Birth:</span> |
|
||||||
<span> |
|
||||||
{{$enquiry->dob}} |
|
||||||
</span> |
|
||||||
</li> |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Gender:</span> |
|
||||||
<span>{{$enquiry->gender}} </span> |
|
||||||
</li> |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Email:</span> |
|
||||||
<span>{{$enquiry->email}}</span> |
|
||||||
</li> |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Phone:</span> |
|
||||||
<span>{{$enquiry->phone}}</span> |
|
||||||
</li> |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Address:</span> |
|
||||||
<span>{{$enquiry->address}} </span> |
|
||||||
</li> |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Country of Birth:</span> |
|
||||||
<span>{{$enquiry->cob}} </span> |
|
||||||
</li> |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Highest Qualification:</span> |
|
||||||
<span>{{$enquiry->highest_qualification}}</span> |
|
||||||
</li> |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Stream:</span> |
|
||||||
<span> |
|
||||||
{{$enquiry->stream}} |
|
||||||
</span> |
|
||||||
</li> |
|
||||||
<li class="d-flex"> |
|
||||||
<span>% or GPA:</span> |
|
||||||
<span>{{$enquiry->gpa}} </span> |
|
||||||
</li> |
|
||||||
</ul> |
|
||||||
</div> |
|
||||||
<div class="col-md-6"> |
|
||||||
<ul class="contact-info"> |
|
||||||
<h2>Additional Details</h2> |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Graduate Year:</span> |
|
||||||
<span>{{$enquiry->graduate_year}}</span> |
|
||||||
</li> |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Gap after Studies:</span> |
|
||||||
<span>{{$enquiry->gap}}</span> |
|
||||||
</li> |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Current Status:</span> |
|
||||||
<span>{{$enquiry->current_status}} </span> |
|
||||||
</li> |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Work Experience Details:</span> |
|
||||||
<span>{{$enquiry->work_experience == 'yes' ? 'Yes' : 'No'}} </span> |
|
||||||
</li> |
|
||||||
@if(!is_null($enquiry->work_experience_details)) |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Work Experience:</span> |
|
||||||
<span>{{$enquiry->work_experience_details}} </span> |
|
||||||
</li> |
|
||||||
@endif |
|
||||||
@if(!is_null($enquiry->salary_mode)) |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Salary Mode:</span> |
|
||||||
<span>{{$enquiry->salary_mode}} </span> |
|
||||||
</li> |
|
||||||
@endif |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Test Score:</span> |
|
||||||
<span>{{$enquiry->test_score}} </span> |
|
||||||
</li> |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Marital Status:</span> |
|
||||||
<span>{{$enquiry->marital_status}} </span> |
|
||||||
</li> |
|
||||||
@if(!is_null($enquiry->married_date)) |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Married Date:</span> |
|
||||||
<span>{{$enquiry->married_date}} </span> |
|
||||||
</li> |
|
||||||
@endif |
|
||||||
@if(!is_null($enquiry->spouse_academics)) |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Spouse Academics:</span> |
|
||||||
<span>{{$enquiry->spouse_academics}} </span> |
|
||||||
</li> |
|
||||||
@endif |
|
||||||
@if(!is_null($enquiry->spouse_work_experience)) |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Spouse Work Experience:</span> |
|
||||||
<span>{{$enquiry->spouse_work_experience}} </span> |
|
||||||
</li> |
|
||||||
@endif |
|
||||||
@if(!is_null($enquiry->spouse_salary_mode)) |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Spouse Salary Mode:</span> |
|
||||||
<span>{{$enquiry->spouse_salary_mode}} </span> |
|
||||||
</li> |
|
||||||
@endif |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Immigration History:</span> |
|
||||||
<span>{{$enquiry->immigration_history ?? 'N/A'}} </span> |
|
||||||
</li> |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Desired Study Field:</span> |
|
||||||
<span>{{$enquiry->desired_study_field ?? 'N/A'}} </span> |
|
||||||
</li> |
|
||||||
@if(!is_null($enquiry->desired_location)) |
|
||||||
<li class="d-flex"> |
|
||||||
<span>Desired Location:</span> |
|
||||||
<span>{{config('custom.states')[$enquiry->desired_location]}} </span> |
|
||||||
</li> |
|
||||||
@endif |
|
||||||
|
|
||||||
</ul> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
{!! Form::close() !!} |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</section> |
|
||||||
</div> |
|
||||||
@endsection |
|
@ -0,0 +1,157 @@ |
|||||||
|
@extends('admin.layouts.app') |
||||||
|
@section('content') |
||||||
|
<!-- Content Wrapper. Contains page content --> |
||||||
|
<div class="content-wrapper"> |
||||||
|
<!-- Content Header (Page header) --> |
||||||
|
<section class="content-header"> |
||||||
|
<div class="container-fluid"> |
||||||
|
<div class="row mb-2"> |
||||||
|
<div class="col-sm-6"> |
||||||
|
<h1>Career</h1> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div><!-- /.container-fluid --> |
||||||
|
</section> |
||||||
|
|
||||||
|
<!-- Main content --> |
||||||
|
<section class="content"> |
||||||
|
<div class="container-fluid"> |
||||||
|
<!-- SELECT2 EXAMPLE --> |
||||||
|
<div class="card card-default"> |
||||||
|
<div class="card-header"> |
||||||
|
<h3 class="card-title">Create Career</h3> |
||||||
|
<a href="{{url('admin/careers')}}" class="back-button">List</a> |
||||||
|
|
||||||
|
</div> |
||||||
|
<div class="card-body"> |
||||||
|
@include('success.success') |
||||||
|
@include('errors.error') |
||||||
|
{!! Form::open(['url' => '/admin/careers', 'class' => 'form-horizontal', 'method'=> 'POST','files' => true,'autocomplete' => 'OFF']) !!} |
||||||
|
<div class="row"> |
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Image <span style="color: red";> * </span> </label> |
||||||
|
<input type="file" class="form-control" name="image" required> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label> Title <span style="color: red";> * </span> </label> |
||||||
|
<input type="text" class="form-control" id="inputPassword3" name="title" value="{{old('title')}}" required> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6" > |
||||||
|
<div class="form-group" > |
||||||
|
<label>Sub Title <span style="color: red";> * </span></label> |
||||||
|
<textarea name="sub_title" class="summernote_class" rows="5" required style="height: 658px;" >{{old('sub_title')}}</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6" > |
||||||
|
<div class="form-group" > |
||||||
|
<label>Point Title <span style="color: red";> * </span> </label> |
||||||
|
<textarea name="point_title" class="summernote_class" rows="5" required style="height: 658px;" >{{old('point_title')}} |
||||||
|
</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Seo Title</label> |
||||||
|
<input type="text" class="form-control" id="inputPassword3" name="seo_title" value="{{old('seo_title')}}"> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label> Keyword <span style="color: red";> * </span> </label> |
||||||
|
<input type="text" class="form-control" id="inputPassword3" name="keyword" value="{{old('keyword')}}" required> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Seo Description </label> |
||||||
|
<textarea class="summernote_class" name="seo_description">{{old('seo_description')}}</textarea> |
||||||
|
{{-- <input type="text" class="form-control" id="inputPassword3" name="seo_description" >--}} |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Meta Keyword</label> |
||||||
|
<textarea class="summernote_class" name="meta_keyword" >{{old('meta_keyword')}}</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="row" id="point_dom"> |
||||||
|
<div class="col-md-6 rel-close" id="point_row_1"> |
||||||
|
<div class="dom-box"> |
||||||
|
<div class="add-points card"> |
||||||
|
<div class="form-group" id="point_g_1" > |
||||||
|
<!-- <label for=""> Point Title <span style="color: red";> * </span></label> <br> --> |
||||||
|
<!-- <input type="text" name="point_title" id="title1" placeholder="Title"> <br> --> |
||||||
|
<div id="point1" class="point1" > |
||||||
|
<label for="">Points <span style="color: red";> * </span> </label> <br> |
||||||
|
<input type="text" class="point" name="points[]" placeholder="Points"> <br> |
||||||
|
<button class="close-point" onclick="deletePoint(1)" type="button"><i class="fa fa-trash" aria-hidden="true"></i></button> |
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
||||||
|
<button type="button" class="add-point-btn btn btn-primary" onclick="getPoint(1)">Add Points</button> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Status <span style="color: red";> * </span> </label> |
||||||
|
<select name="status" class="form-control" id="type" required> |
||||||
|
<option value="" selected disabled>Please select Status</option> |
||||||
|
@foreach(config('custom.status') as $in => $val) |
||||||
|
<option value="{{$in}}" {{(old('status')==$in) ? 'selected':''}}>{{$val}}</option> |
||||||
|
@endforeach |
||||||
|
|
||||||
|
</select> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="form-group row create-button"> |
||||||
|
<div class="col-sm-10 col-md-12"> |
||||||
|
<button type="submit" class="btn btn-primary">Create</button> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
{!! Form::close() !!} |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</section> |
||||||
|
</div> |
||||||
|
@endsection |
||||||
|
@section('script') |
||||||
|
<script> |
||||||
|
$(document).ready(function() { |
||||||
|
$('.summernote_class').summernote() |
||||||
|
}) |
||||||
|
|
||||||
|
var point_count = 1; |
||||||
|
function getPoint(count){ |
||||||
|
point_count = point_count +1; |
||||||
|
debugger; |
||||||
|
var html = '<div id="point'+point_count+'" class="point1">'+ |
||||||
|
'<input type="text" class="point" name="points[]" placeholder="Points"> <br>'+ |
||||||
|
'<button type="button" class="close-point" onclick="deletePoint('+point_count+')"><i class="fa fa-trash" aria-hidden="true"></i></button>'+ |
||||||
|
'</div>'; |
||||||
|
$('#point_g_1').append(html); |
||||||
|
} |
||||||
|
function deletePoint(count){ |
||||||
|
if($('.point').length > 1){ |
||||||
|
$('#point'+count).remove(); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
</script> |
||||||
|
|
||||||
|
|
||||||
|
@endsection |
||||||
|
|
@ -0,0 +1,203 @@ |
|||||||
|
@extends('admin.layouts.app') |
||||||
|
@section('content') |
||||||
|
<!-- Content Wrapper. Contains page content --> |
||||||
|
<div class="content-wrapper"> |
||||||
|
<!-- Content Header (Page header) --> |
||||||
|
<section class="content-header"> |
||||||
|
<div class="container-fluid"> |
||||||
|
<div class="row mb-2"> |
||||||
|
<div class="col-sm-6"> |
||||||
|
<h1>Career</h1> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div><!-- /.container-fluid --> |
||||||
|
</section> |
||||||
|
|
||||||
|
<!-- Main content --> |
||||||
|
<section class="content"> |
||||||
|
<div class="container-fluid"> |
||||||
|
<!-- SELECT2 EXAMPLE --> |
||||||
|
<div class="card card-default"> |
||||||
|
<div class="card-header"> |
||||||
|
<h3 class="card-title">Edit Career</h3> |
||||||
|
<a href="{{url('admin/careers')}}" class="back-button">Back</a> |
||||||
|
|
||||||
|
</div> |
||||||
|
<div class="card-body"> |
||||||
|
@include('success.success') |
||||||
|
@include('errors.error') |
||||||
|
{!! Form::open(['url' => '/admin/careers/'.$about_us->id, 'class' => 'form-horizontal', 'method'=> 'POST','files' => true]) !!} |
||||||
|
<div class="row"> |
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Image</label> |
||||||
|
<input type="file" class="form-control" name="image" > |
||||||
|
<br> |
||||||
|
<span> |
||||||
|
<a href="{{url($about_us->image)}}" target="_blank"> |
||||||
|
<img src="{{url($about_us->image)}}" alt="" style="width: 100px"> |
||||||
|
</a> |
||||||
|
</span> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label> Title <span style="color: red";> * </span> </label> |
||||||
|
<input type="text" class="form-control" id="inputPassword3" name="title" value="{{$about_us->title}}" required> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6" > |
||||||
|
<div class="form-group" > |
||||||
|
<label>Sub Title <span style="color: red";> * </span></label> |
||||||
|
<textarea name="sub_title" class="summernote_class" rows="5" required style="height: 658px;" >{{$about_us->sub_title}}</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6" > |
||||||
|
<div class="form-group" > |
||||||
|
<label>Point Title <span style="color: red";> * </span> </label> |
||||||
|
<textarea name="point_title" class="summernote_class" rows="5" required style="height: 658px;" >{{$about_us->point_title}} |
||||||
|
</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Seo Title</label> |
||||||
|
<input type="text" class="form-control" id="inputPassword3" name="seo_title" value="{{$about_us->seo_title}}"> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label> Keyword <span style="color: red";> * </span> </label> |
||||||
|
<input type="text" class="form-control" id="inputPassword3" name="keyword" value="{{$about_us->keyword}}"> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Seo Description</label> |
||||||
|
<textarea class="summernote_class" name="seo_description">{{$about_us->seo_description}}</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-6"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Meta Keyword</label> |
||||||
|
<textarea class="summernote_class" name="meta_keyword" >{{$about_us->meta_keyword}}</textarea> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div> |
||||||
|
|
||||||
|
@if($about_us->career_points->count() > 0) |
||||||
|
<div class="row" id="point_dom"> |
||||||
|
<div class="col-md-6 rel-close" id="point_row_1"> |
||||||
|
<div class="dom-box"> |
||||||
|
<div class="add-points card"> |
||||||
|
<div class="form-group" id="point_g_1" > |
||||||
|
<!-- <label for="">Point Title <span style="color: red";> * </span> </label> <br> --> |
||||||
|
<!-- <input type="text" name="point_title" id="title1" placeholder="title" value="{{$about_us->point_title}}"> <br> --> |
||||||
|
<label for="">Points <span style="color: red";> * </span> </label> |
||||||
|
<br> |
||||||
|
@foreach($about_us->career_points as $point) |
||||||
|
<div id="point_old{{$point->id}}" class="point1" > |
||||||
|
<input type="text" class="point" name="points[]" placeholder="Point" value="{{$point->point}}"> <br> |
||||||
|
<input type="hidden" name="point_old_id[]" placeholder="points" value="{{$point->id}}"> <br> |
||||||
|
<button class="close-point" onclick="deletePointPermanently({{$point->id}})" type="button"><i class="fa fa-trash" aria-hidden="true"></i></button> |
||||||
|
</div> |
||||||
|
@endforeach |
||||||
|
|
||||||
|
</div> |
||||||
|
<button type="button" class="add-point-btn btn btn-primary" onclick="getPoint(1)">Add Points</button> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-4"> |
||||||
|
<div class="form-group"> |
||||||
|
<label>Status <span style="color: red";> * </span> </label> |
||||||
|
<select name="status" class="form-control" id="type" required> |
||||||
|
<option value="" selected disabled>Please select Status</option> |
||||||
|
@foreach(config('custom.status') as $in => $val) |
||||||
|
<option value="{{$in}}" {{($about_us->status ==$in) ? 'selected':''}}>{{$val}}</option> |
||||||
|
@endforeach |
||||||
|
|
||||||
|
</select> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
@endif |
||||||
|
<div class="form-group row"> |
||||||
|
<div class="col-sm-10"> |
||||||
|
<button type="submit" class="btn btn-primary">Update</button> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
{!! Form::close() !!} |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</section> |
||||||
|
</div> |
||||||
|
@endsection |
||||||
|
@section('script') |
||||||
|
<script> |
||||||
|
$.ajaxSetup({ |
||||||
|
headers: { |
||||||
|
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
||||||
|
} |
||||||
|
}); |
||||||
|
|
||||||
|
$(document).ready(function() { |
||||||
|
$('.summernote_class').summernote() |
||||||
|
}) |
||||||
|
|
||||||
|
var point_count = 1; |
||||||
|
function getPoint(count){ |
||||||
|
point_count = point_count +1; |
||||||
|
var html = '<div id="point'+point_count+'" class="point1">'+ |
||||||
|
'<input type="text" class="point" name="points[]" placeholder="Point"> <br>'+ |
||||||
|
'<button type="button" class="close-point" onclick="deletePoint('+point_count+')"><i class="fa fa-trash" aria-hidden="true"></i></button>'+ |
||||||
|
'</div>'; |
||||||
|
$('#point_g_1').append(html); |
||||||
|
} |
||||||
|
function deletePoint(count){ |
||||||
|
if($('.point').length > 1){ |
||||||
|
$('#point'+count).remove(); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
function deletePointPermanently(id){ |
||||||
|
if($('.point').length > 1){ |
||||||
|
if (confirm("Are you sure Delete?")) { |
||||||
|
$.ajax({ |
||||||
|
/* the route pointing to the post function */ |
||||||
|
type: 'GET', |
||||||
|
url: Laravel.url +"/admin/blog_point/"+id, |
||||||
|
dataType: 'json', |
||||||
|
processData: false, // tell jQuery not to process the data |
||||||
|
contentType: false, |
||||||
|
/* remind that 'data' is the response of the AjaxController */ |
||||||
|
success: function (data) { |
||||||
|
$('#point_old'+data.blog_point_id).remove(); |
||||||
|
}, |
||||||
|
error: function(error) { |
||||||
|
|
||||||
|
} |
||||||
|
}); |
||||||
|
} |
||||||
|
return false; |
||||||
|
} |
||||||
|
} |
||||||
|
</script> |
||||||
|
@endsection |
||||||
|
|
@ -0,0 +1,135 @@ |
|||||||
|
@extends('admin.layouts.app') |
||||||
|
@section('content') |
||||||
|
<!-- Content Wrapper. Contains page content --> |
||||||
|
<div class="content-wrapper"> |
||||||
|
<!-- Content Header (Page header) --> |
||||||
|
<section class="content-header"> |
||||||
|
<div class="container-fluid"> |
||||||
|
<div class="row mb-2"> |
||||||
|
<div class="col-sm-6"> |
||||||
|
|
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div><!-- /.container-fluid --> |
||||||
|
</section> |
||||||
|
|
||||||
|
<!-- Main content --> |
||||||
|
<section class="content"> |
||||||
|
<div class="container-fluid"> |
||||||
|
<!-- SELECT2 EXAMPLE --> |
||||||
|
<div class="card card-default"> |
||||||
|
<div class="card-header"> |
||||||
|
<h3 class="card-title">Referral</h3> |
||||||
|
<a href="{{url('admin/referrals')}}" class="btn btn-green back-button active" role="button" aria-pressed="true">List</a> |
||||||
|
</div> |
||||||
|
<div class="card-body"> |
||||||
|
@include('success.success') |
||||||
|
@include('errors.error') |
||||||
|
<div class="row"> |
||||||
|
<div class="col-md-12"> |
||||||
|
<div class="col-md-12"> |
||||||
|
<label for="service_name" style="font-weight: bold; font-size: 20px; color: #DD6227">Participant Details</label></br> |
||||||
|
<ul class="contact-info"> |
||||||
|
<li class="d-flex"> |
||||||
|
<span>Full Name:</span> |
||||||
|
<span>{{$referral->name}}</span> |
||||||
|
</li> |
||||||
|
<li class="d-flex"> |
||||||
|
<span>Gender:</span> |
||||||
|
<span>@if($referral->gender == '1') Male @elseif($referral->gender == '2') Female @else Other @endif</span> |
||||||
|
</li> |
||||||
|
<li class="d-flex"> |
||||||
|
<span>Email:</span> |
||||||
|
<span>{{$referral->email}}</span> |
||||||
|
</li> |
||||||
|
<li class="d-flex"> |
||||||
|
<span>Date of Birth:</span> |
||||||
|
<span>{{$referral->dob}}</span> |
||||||
|
</li> |
||||||
|
<li class="d-flex"> |
||||||
|
<span>Phone:</span> |
||||||
|
<span>{{$referral->mobile_no}}</span> |
||||||
|
</li> |
||||||
|
</ul> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="col-md-12 mt-4"> |
||||||
|
<label for="service_name" style="font-weight: bold; font-size: 20px; color: #DD6227">Participant Address</label></br> |
||||||
|
<ul class="contact-info"> |
||||||
|
<li class="d-flex"> |
||||||
|
<span>Suburb:</span> |
||||||
|
<span>{{$referral->suburb}}</span> |
||||||
|
</li> |
||||||
|
<li class="d-flex"> |
||||||
|
<span>State/Region:</span> |
||||||
|
<span>{{$referral->state_name}}</span> |
||||||
|
</li> |
||||||
|
<li class="d-flex"> |
||||||
|
<span>Postal Code:</span> |
||||||
|
<span>{{$referral->postalcode}}</span> |
||||||
|
</li> |
||||||
|
</ul> |
||||||
|
</div> |
||||||
|
|
||||||
|
@if($referral->is_ndis == '1') |
||||||
|
<div class="col-md-12 mt-4" > |
||||||
|
<label for="service_name" style="font-weight: bold; font-size: 20px; color: #DD6227">NDIS Details</label></br> |
||||||
|
<ul class="contact-info"> |
||||||
|
<li class="d-flex"> |
||||||
|
<span>NDIS Number:</span> |
||||||
|
<span>{{$referral->ndis_number}}</span> |
||||||
|
</li> |
||||||
|
<li class="d-flex"> |
||||||
|
<span>NDIS Expiry Date:</span> |
||||||
|
<span>{{$referral->ndis_expiry_date}}</span> |
||||||
|
</li> |
||||||
|
<li class="d-flex"> |
||||||
|
<span>NDIS Plan:</span> |
||||||
|
<span>{{config('custom.ndis_plan')[$referral->ndis_plan]}}</span> |
||||||
|
</li> |
||||||
|
</ul> |
||||||
|
</div> |
||||||
|
@endif |
||||||
|
|
||||||
|
<div class="col-md-12 mt-4"> |
||||||
|
<label for="service_name" style="font-weight: bold; font-size: 20px; color: #DD6227">Service Details</label></br> |
||||||
|
<ul class="contact-info"> |
||||||
|
<li class="d-flex"> |
||||||
|
<span>Sevices:</span> |
||||||
|
<span> |
||||||
|
@foreach($referral->referral_services as $service) |
||||||
|
|
||||||
|
{{App\Models\Service::find($service->service_id)->name}}<br /> |
||||||
|
@endforeach |
||||||
|
</span> |
||||||
|
</li> |
||||||
|
<li class="d-flex"> |
||||||
|
<span>Details: </span> |
||||||
|
<span>{{$referral->services_details}}</span> |
||||||
|
</li> |
||||||
|
</ul> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="col-md-12 mt-4"> |
||||||
|
<label for="service_name" style="font-weight: bold; font-size: 20px; color: #DD6227">Referrer Details</label></br> |
||||||
|
<ul class="contact-info"> |
||||||
|
<li class="d-flex"> |
||||||
|
<span>Referrer Full Name:</span> |
||||||
|
<span>{{$referral->referrer_full_name}}</span> |
||||||
|
</li> |
||||||
|
<li class="d-flex"> |
||||||
|
<span>Referrer Contact Number:</span> |
||||||
|
<span>{{$referral->referrer_contact_no}}</span> |
||||||
|
</li> |
||||||
|
|
||||||
|
</ul> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</section> |
||||||
|
</div> |
||||||
|
@endsection |
@ -1,25 +0,0 @@ |
|||||||
|
|
||||||
<style> |
|
||||||
.main-column{ |
|
||||||
display:flex; |
|
||||||
width:100%; |
|
||||||
} |
|
||||||
.column-one{ |
|
||||||
width:50%; |
|
||||||
} |
|
||||||
</style> |
|
||||||
|
|
||||||
<h1>Appointment Confirmed</h1> |
|
||||||
<br /> |
|
||||||
<div class="main-column" style = "display:block; width:100%;"> |
|
||||||
<div class="column-one" style = "display:block; width:100%;"> |
|
||||||
<h3>Appointment Details</h3> |
|
||||||
<b>Appointment Date: </b>{{$date}}<br /><br /> |
|
||||||
<b>Appointment Start Time: </b>{{$start_time}}<br /><br /> |
|
||||||
<b>Appointment End Time: </b>{{$end_time}}<br /><br /> |
|
||||||
<b>Appointee Full Name: </b> {{ $full_name }}<br /><br /> |
|
||||||
<b>Phone:</b> {{$phone}}<br /><br /> |
|
||||||
<b>Email:</b> {{$email}}<br /><br /> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
@ -1,552 +0,0 @@ |
|||||||
@extends('layout.app') |
|
||||||
@section('title') |
|
||||||
<title>Enquiry Form</title> |
|
||||||
<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 property="og:url" content="" /> |
|
||||||
<meta property="og:image" content="{{url('frontend/images/banner.png')}}"/> |
|
||||||
<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."/> |
|
||||||
@endsection |
|
||||||
@section('content') |
|
||||||
<section class="enquiry-form-section"> |
|
||||||
@php |
|
||||||
$msg = Session::get('msg') ?? null; |
|
||||||
$status = Session::get('status') ?? null; |
|
||||||
@endphp |
|
||||||
<h2>Enquiry Form</h2> |
|
||||||
<p>Please fill up the form and we will get back to you soon, Thanks !</p> |
|
||||||
<form action="{{ route('enquiry.submit') }}" onsubmit="return submitEnquiry()" method = "post"> |
|
||||||
@csrf |
|
||||||
<div class="row enquiry-form-row"> |
|
||||||
<h3>Personal Details</h3> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">First Name</label> |
|
||||||
<input type="text" class="form-control" id="fname" name="first_name" value="" placeholder="Enter your First name" onkeyup="validatefName()"> |
|
||||||
<span class="error" id="error-fname"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Middle Name</label> |
|
||||||
<input type="text" class="form-control" id="mname" name="middle_name" value="" placeholder="Enter your Middle name"> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Last Name</label> |
|
||||||
<input type="text" class="form-control" id="lname" name="last_name" value="" placeholder="Enter your Last name" onkeyup="validatelName()"> |
|
||||||
<span class="error" id="error-lname"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Date of birth</label> |
|
||||||
<input type="date" class="form-control" id="dob" name="dob" placeholder="Enter your Date of birth" onkeyup="validateDob()"> |
|
||||||
<span class="error" id="error-dob"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Country</label> |
|
||||||
<select class="form-select" name="cob" id="e-cob" onchange="eCob()"> |
|
||||||
<option hidden>Select your country of birth</option> |
|
||||||
@foreach($countries as $country) |
|
||||||
<option class="select-placeholder" value="{{$country->id}}" @if(old('country_id') === $country->id) selected @endif>{{$country->name}}</option> |
|
||||||
@endforeach |
|
||||||
</select> |
|
||||||
<span class="error" id="error-cob"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Gender</label> |
|
||||||
<div class="d-flex gap-2" onclick="eGender()"> |
|
||||||
<div class="form-check"> |
|
||||||
<input class="form-check-input gender" type="radio" name="gender" value="Male"/> |
|
||||||
<label class="form-check-label"> |
|
||||||
Male |
|
||||||
</label> |
|
||||||
</div> |
|
||||||
<div class="form-check"> |
|
||||||
<input class="form-check-input gender" type="radio" name="gender" value="Female"/> |
|
||||||
<label class="form-check-label"> |
|
||||||
Female |
|
||||||
</label> |
|
||||||
</div> |
|
||||||
<div class="form-check"> |
|
||||||
<input class="form-check-input gender" type="radio" name="gender" value="Other"/> |
|
||||||
<label class="form-check-label"> |
|
||||||
Other |
|
||||||
</label> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<span class="error" id="error-gender"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Address</label> |
|
||||||
<input type="text" class="form-control" id="address" name="address" placeholder="Enter your Address" onkeyup="validateAddress()"> |
|
||||||
<span class="error" id="error-address"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Email</label> |
|
||||||
<input type="email" class="form-control" id="email" name="email" placeholder="Enter your Email Address" onkeyup="validateEmail()"> |
|
||||||
<span class="error" id="error-email"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Phone</label> |
|
||||||
<input type="text" class="form-control" id="phone" name="phone" placeholder="Enter your Phone Number" onkeyup="validatePhone()"> |
|
||||||
<span class="error" id="error-phone"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
<h3 class="mt-5">Additional Information</h3> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Highest Qualification</label> |
|
||||||
<input type="text" class="form-control" id="highest_qualification" name="highest_qualification" placeholder="Enter your Highest Qualification" onkeyup="validateQualification()"> |
|
||||||
<span class="error" id="error-qualification"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Stream</label> |
|
||||||
<input type="text" class="form-control" id="stream" name="stream" placeholder="Enter your Stream" onkeyup="validateStream()"> |
|
||||||
<span class="error" id="error-stream"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">% or GPA</label> |
|
||||||
<input type="text" class="form-control" id="gpa" name="gpa" placeholder="Enter your % or GPA" onkeyup="validateGpa()"> |
|
||||||
<span class="error" id="error-gpa"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Passed Year</label> |
|
||||||
<input type="text" class="form-control" id="graduate_year" name="graduate_year" placeholder="Enter your Passed Year" onkeyup="validatePassout()"> |
|
||||||
<span class="error" id="error-graduate_year"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Gap after Studies</label> |
|
||||||
<input type="text" class="form-control" id="gap" name="gap" placeholder="Enter your Gap after Studies" onkeyup="validateGap()"> |
|
||||||
<span class="error" id="error-gap"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">What you are doing now?</label> |
|
||||||
<input type="text" class="form-control" id="current_status" name="current_status" placeholder="Enter your Current Status" onkeyup="validateCurrent()"> |
|
||||||
<span class="error" id="error-currentStatus"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Do you have work experience?</label> |
|
||||||
<select class="form-select" name="work_experience" id="work-experience" onchange="wExperience()"> |
|
||||||
<option hidden value="">Work experence status</option> |
|
||||||
<option value="yes" class="select-placeholder">Yes</option> |
|
||||||
<option value="no" class="select-placeholder">No</option> |
|
||||||
</select> |
|
||||||
<span class="error" id="error-workExperience"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4" id="work-exp-detail"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Work experience Details</label> |
|
||||||
<input type="text" class="form-control" id="work-experience-detail" name="work_experience_details" placeholder="Enter your Work experience Details"> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4" id="work-salary-mode"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Salary mode</label> |
|
||||||
<input type="text" class="form-control" id="salary-mode" name="salary_mode" placeholder="Enter your Salary Mode"> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">IELTS / PTE Score</label> |
|
||||||
<input type="text" class="form-control" id="test-score" name="test_score" placeholder="Enter your IELTS / PTE score"> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Marital Status</label> |
|
||||||
<div class="d-flex gap-2" onclick="maritalStatus()"> |
|
||||||
<div class="form-check"> |
|
||||||
<input class="form-check-input marital-status" id="marital-status" type="radio" name="marital_status" value="Single"/> |
|
||||||
<label class="form-check-label"> |
|
||||||
Single |
|
||||||
</label> |
|
||||||
</div> |
|
||||||
<div class="form-check"> |
|
||||||
<input class="form-check-input marital-status" id="marital-status" type="radio" name="marital_status" value="Married"/> |
|
||||||
<label class="form-check-label"> |
|
||||||
Married |
|
||||||
</label> |
|
||||||
</div> |
|
||||||
<div class="form-check"> |
|
||||||
<input class="form-check-input marital-status" id="marital-status" type="radio" name="marital_status" value="Widow"/> |
|
||||||
<label class="form-check-label"> |
|
||||||
Widow |
|
||||||
</label> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<span class='error' id="error-gender"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4" id="spouse-married-date"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Married date</label> |
|
||||||
<input type="date" class="form-control" id="married-date" name="married_date"> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4" id="spouse-academic"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Spouse Academics</label> |
|
||||||
<input type="text" class="form-control" id="spouse-academics" name="spouse_academics" placeholder="Enter your Spouse Academics"> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4" id="spouse-experience"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Work Experience of Spouse</label> |
|
||||||
<input type="text" class="form-control" id="spouse-work-experience" name="spouse_work_experience" placeholder="Enter Work Experience of Spouse"> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4" id="spouse-salary"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Spouse Salary Mode</label> |
|
||||||
<input type="text" class="form-control" id="spouse-salary-mode" name="spouse_salary_mode" placeholder="Enter Spouse Salary Mode"> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Immigration History: </label> |
|
||||||
<input type="text" class="form-control" id="immigration-history" name="immigration_history" placeholder="Enter your Immigration History" onkeyup="validateImmigrationHistory()"> |
|
||||||
<span class="error" id="error-immigration-history"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Desired study field</label> |
|
||||||
<input type="text" class="form-control" id="desired-study-field" name="desired_study_field" placeholder="Enter your Desired study field" onkeyup="validateStudyField()"> |
|
||||||
<span class="error" id="error-studyfield"></span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-4"> |
|
||||||
<div class="form-group mb-3"> |
|
||||||
<label for="name">Desired location (If Any)</label> |
|
||||||
<select class="form-select" name="desired_location" id="desired-location"> |
|
||||||
<option hidden>Select your desired location</option> |
|
||||||
@foreach(config('custom.states') as $in => $val) |
|
||||||
<option value="{{$in}}" @if(old('desired_location') == $in) selected @endif>{{$val}}</option> |
|
||||||
@endforeach |
|
||||||
</select> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-12 text-center"> |
|
||||||
<button type="submit" class="enquiry-from-btn" id="enquirybtn">Submit</button> |
|
||||||
<button type="submit" class="enquiry-from-btn buttonload" id="enquirybutnload" disabled> |
|
||||||
<i class="fas fa-spinner fa-pulse"></i> Submiting |
|
||||||
</button> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</form> |
|
||||||
</section> |
|
||||||
@endsection |
|
||||||
@section('script') |
|
||||||
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script> |
|
||||||
|
|
||||||
<script> |
|
||||||
var php_var = "<?php echo $msg; ?>";
|
|
||||||
|
|
||||||
var status = "<?php echo $status; ?>";
|
|
||||||
|
|
||||||
if(php_var.length !== 0){ |
|
||||||
Swal.fire({ |
|
||||||
title: 'Submitted!!', |
|
||||||
text: php_var, |
|
||||||
icon: status ? 'success' : 'error' |
|
||||||
}) |
|
||||||
} |
|
||||||
fnameError = document.getElementById('error-fname'); |
|
||||||
lnameError = document.getElementById('error-lname'); |
|
||||||
dobError = document.getElementById('error-dob'); |
|
||||||
cobError = document.getElementById('error-cob'); |
|
||||||
GenderError = document.getElementById('error-gender'); |
|
||||||
addressError = document.getElementById('error-address'); |
|
||||||
emailError = document.getElementById('error-email'); |
|
||||||
phoneNumberError = document.getElementById('error-phone'); |
|
||||||
qualificationError = document.getElementById('error-qualification'); |
|
||||||
streamError = document.getElementById('error-stream'); |
|
||||||
gpaError = document.getElementById('error-gpa'); |
|
||||||
graduateYearError = document.getElementById('error-graduate_year'); |
|
||||||
gapError = document.getElementById('error-gap'); |
|
||||||
currentStatusError = document.getElementById('error-currentStatus'); |
|
||||||
workExperienceError = document.getElementById('error-workExperience'); |
|
||||||
ImmigrationHistoryError = document.getElementById('error-immigration-history'); |
|
||||||
StudyFieldError = document.getElementById('error-studyfield'); |
|
||||||
|
|
||||||
function maritalStatus(){ |
|
||||||
var marriedDate = document.getElementById('spouse-married-date'); |
|
||||||
var spouseAcademic = document.getElementById('spouse-academic'); |
|
||||||
var spouseExperience = document.getElementById('spouse-experience'); |
|
||||||
var spouseSalary = document.getElementById('spouse-salary'); |
|
||||||
var maritalStatus = document.getElementsByClassName("marital-status"); |
|
||||||
|
|
||||||
for(var i=0;i<maritalStatus.length;i++){ |
|
||||||
if(maritalStatus[i].checked){ |
|
||||||
valid = true; |
|
||||||
break; |
|
||||||
} |
|
||||||
} |
|
||||||
if(maritalStatus[i].value == "Married"){ |
|
||||||
marriedDate.classList.add('married'); |
|
||||||
spouseAcademic.classList.add('married'); |
|
||||||
spouseExperience.classList.add('married'); |
|
||||||
spouseSalary.classList.add('married'); |
|
||||||
}else{ |
|
||||||
marriedDate.classList.remove('married'); |
|
||||||
spouseAcademic.classList.remove('married'); |
|
||||||
spouseExperience.classList.remove('married'); |
|
||||||
spouseSalary.classList.remove('married'); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
function wExperience(){ |
|
||||||
workExperience = document.getElementById('work-experience').value; |
|
||||||
workDetail = document.getElementById('work-exp-detail'); |
|
||||||
salaryMode = document.getElementById('work-salary-mode'); |
|
||||||
if(workExperience.length == 0){ |
|
||||||
$('#work-experience').focus(); |
|
||||||
workExperienceError.innerHTML = "This field cannot be empty !" |
|
||||||
return false; |
|
||||||
}if(workExperience == "yes"){ |
|
||||||
workDetail.classList.add('married'); |
|
||||||
salaryMode.classList.add('married'); |
|
||||||
}else{ |
|
||||||
workDetail.classList.remove('married'); |
|
||||||
salaryMode.classList.remove('married'); |
|
||||||
} |
|
||||||
workExperienceError.innerHTML = ""; |
|
||||||
return true; |
|
||||||
} |
|
||||||
|
|
||||||
function validatefName(){ |
|
||||||
firstName = document.getElementById('fname').value; |
|
||||||
if(firstName.length == 0){ |
|
||||||
$('#fname').focus(); |
|
||||||
fnameError.innerHTML = "First Name is required !"; |
|
||||||
return false; |
|
||||||
}else{ |
|
||||||
fnameError.innerHTML = ""; |
|
||||||
return true; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
function validatelName(){ |
|
||||||
lastName = document.getElementById('lname').value; |
|
||||||
if(lastName.length == 0){ |
|
||||||
$('#lname').focus(); |
|
||||||
lnameError.innerHTML = "Last Name is required !"; |
|
||||||
return false; |
|
||||||
}else{ |
|
||||||
lnameError.innerHTML = ""; |
|
||||||
return true; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
function validateDob(){ |
|
||||||
var dob = document.getElementById('dob').value; |
|
||||||
if(dob == ""){ |
|
||||||
$('#dob').focus(); |
|
||||||
dobError.innerHTML = "Date of birth is required !"; |
|
||||||
return false; |
|
||||||
} |
|
||||||
dobError.innerHTML = ''; |
|
||||||
return true; |
|
||||||
} |
|
||||||
|
|
||||||
function eCob(){ |
|
||||||
var cob = document.getElementById('e-cob').value; |
|
||||||
if(cob == ""){ |
|
||||||
$('#e-cob').focus(); |
|
||||||
cobError.innerHTML = "Country of birth is required !"; |
|
||||||
return false; |
|
||||||
} |
|
||||||
cobError.innerHTML = ''; |
|
||||||
return true; |
|
||||||
} |
|
||||||
|
|
||||||
function eGender(){ |
|
||||||
var valid = false; |
|
||||||
var gender = document.getElementsByClassName("gender"); |
|
||||||
for(var i=0;i<gender.length;i++){ |
|
||||||
if(gender[i].checked){ |
|
||||||
valid = true; |
|
||||||
break; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
if(valid){ |
|
||||||
GenderError.innerHTML = ''; |
|
||||||
return true; |
|
||||||
}else{ |
|
||||||
GenderError.innerHTML = "Please select your gender !"; |
|
||||||
return false; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
function validateAddress(){ |
|
||||||
var address = document.getElementById('address').value; |
|
||||||
if(address.length == 0){ |
|
||||||
$('#address').focus(); |
|
||||||
addressError.innerHTML = "Address field is required !"; |
|
||||||
return false; |
|
||||||
} |
|
||||||
addressError.innerHTML = ''; |
|
||||||
return true; |
|
||||||
} |
|
||||||
|
|
||||||
function validateEmail(){ |
|
||||||
var email = document.getElementById('email').value; |
|
||||||
if(email.length == 0){ |
|
||||||
emailError.innerHTML = "Email is required !"; |
|
||||||
return false; |
|
||||||
} |
|
||||||
if(!email.match(/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(.\w{2,3})+$/)){ |
|
||||||
emailError.innerHTML = "Invalid email address"; |
|
||||||
return false; |
|
||||||
} |
|
||||||
emailError.innerHTML = ''; |
|
||||||
return true; |
|
||||||
} |
|
||||||
|
|
||||||
function validatePhone(){ |
|
||||||
var phone = document.getElementById('phone').value; |
|
||||||
if(phone.length == 0){ |
|
||||||
$('#phone').focus(); |
|
||||||
phoneNumberError.innerHTML = "Mobile number is required !"; |
|
||||||
return false; |
|
||||||
} |
|
||||||
if(!phone.match(/^\d{10}$/)){ |
|
||||||
phoneNumberError.innerHTML = "Invalid mobile number"; |
|
||||||
return false; |
|
||||||
} |
|
||||||
phoneNumberError.innerHTML = ''; |
|
||||||
return true; |
|
||||||
} |
|
||||||
|
|
||||||
function validateQualification(){ |
|
||||||
var qualification = document.getElementById('highest_qualification').value; |
|
||||||
if(qualification.length == 0){ |
|
||||||
$('#highest_qualification').focus(); |
|
||||||
qualificationError.innerHTML = "Highest Qualification field is required !"; |
|
||||||
return false; |
|
||||||
} |
|
||||||
qualificationError.innerHTML = ''; |
|
||||||
return true; |
|
||||||
} |
|
||||||
|
|
||||||
function validateStream(){ |
|
||||||
var stream = document.getElementById('stream').value; |
|
||||||
if(stream.length == 0){ |
|
||||||
$('#stream').focus(); |
|
||||||
streamError.innerHTML = "Stream field is required !"; |
|
||||||
return false; |
|
||||||
} |
|
||||||
streamError.innerHTML = ''; |
|
||||||
return true; |
|
||||||
} |
|
||||||
|
|
||||||
function validateGpa(){ |
|
||||||
var gpa = document.getElementById('gpa').value; |
|
||||||
if(gpa.length == 0){ |
|
||||||
$('#gpa').focus(); |
|
||||||
gpaError.innerHTML = "GPA or % is required !"; |
|
||||||
return false; |
|
||||||
} |
|
||||||
gpaError.innerHTML = ''; |
|
||||||
return true; |
|
||||||
} |
|
||||||
|
|
||||||
function validatePassout(){ |
|
||||||
var graduateYear = document.getElementById('graduate_year').value; |
|
||||||
if(graduateYear.length == 0){ |
|
||||||
$('#graduate_year').focus(); |
|
||||||
graduateYearError.innerHTML = "Graduate year is required !"; |
|
||||||
return false; |
|
||||||
} |
|
||||||
graduateYearError.innerHTML = ''; |
|
||||||
return true; |
|
||||||
} |
|
||||||
|
|
||||||
function validateGap(){ |
|
||||||
var gap = document.getElementById('gap').value; |
|
||||||
if(gap.length == 0){ |
|
||||||
$('#gap').focus(); |
|
||||||
gapError.innerHTML = "Gap field is required !"; |
|
||||||
return false; |
|
||||||
} |
|
||||||
gapError.innerHTML = ''; |
|
||||||
return true; |
|
||||||
} |
|
||||||
|
|
||||||
function validateCurrent(){ |
|
||||||
var currentStatus = document.getElementById('current_status').value; |
|
||||||
if(currentStatus.length == 0){ |
|
||||||
$('#current_status').focus(); |
|
||||||
currentStatusError.innerHTML = "Current Status is required !"; |
|
||||||
return false; |
|
||||||
} |
|
||||||
currentStatusError.innerHTML = ''; |
|
||||||
return true; |
|
||||||
} |
|
||||||
|
|
||||||
function validateImmigrationHistory(){ |
|
||||||
var ImmigrationHistory = document.getElementById('immigration-history').value; |
|
||||||
if(ImmigrationHistory.length == 0){ |
|
||||||
$('#immigration-history').focus(); |
|
||||||
ImmigrationHistoryError.innerHTML = "Immigration History is required !"; |
|
||||||
return false; |
|
||||||
} |
|
||||||
ImmigrationHistoryError.innerHTML = ''; |
|
||||||
return true; |
|
||||||
} |
|
||||||
|
|
||||||
function validateStudyField(){ |
|
||||||
var StudyField = document.getElementById('desired-study-field').value; |
|
||||||
if(StudyField.length == 0){ |
|
||||||
$('#desired-study-field').focus(); |
|
||||||
StudyFieldError.innerHTML = "Desired Study Field is required !"; |
|
||||||
return false; |
|
||||||
} |
|
||||||
StudyFieldError.innerHTML = ''; |
|
||||||
return true; |
|
||||||
} |
|
||||||
|
|
||||||
var enqloaderBtn = document.getElementById('enquirybutnload'); |
|
||||||
var enquirybtn = document.getElementById('enquirybtn'); |
|
||||||
function submitEnquiry(){ |
|
||||||
if(!validatefName() || !validatelName() || !validateDob() || !eCob() || !eGender() || |
|
||||||
!validateAddress() || !validateEmail() || !validatePhone() || !validateQualification() || |
|
||||||
!validateStream() || !validateGpa() || !validatePassout() || !validateGap() || !validateCurrent() || |
|
||||||
!wExperience() || !validateImmigrationHistory() || !validateStudyField()){ |
|
||||||
return false; |
|
||||||
}else{ |
|
||||||
enqloaderBtn.classList.add('displayEnqBtn'); |
|
||||||
enquirybtn.classList.add('buttonload') |
|
||||||
} |
|
||||||
} |
|
||||||
</script> |
|
||||||
@endsection |
|
@ -1,76 +0,0 @@ |
|||||||
|
|
||||||
<style> |
|
||||||
.main-column{ |
|
||||||
display:flex; |
|
||||||
width:100%; |
|
||||||
} |
|
||||||
.column-one{ |
|
||||||
width:50%; |
|
||||||
} |
|
||||||
</style> |
|
||||||
|
|
||||||
<h1>Persional Details</h1> |
|
||||||
<br /> |
|
||||||
<div class="main-column" style = "display:block; width:100%;"> |
|
||||||
<div class="column-one" style = "display:block; width:100%;"> |
|
||||||
|
|
||||||
<b>Full Name:</b> {{ $enquiry->first_name . ' ' .(!is_null($enquiry->middle_name) ? $enquiry->middle_name .' ' :''). $enquiry->last_name }}<br /><br /> |
|
||||||
<b>Email:</b> {{ $enquiry->email }}<br /><br /> |
|
||||||
<b>Phone:</b> {{$enquiry->phone}}<br /><br /> |
|
||||||
<b>Address:</b> {{$enquiry->address}}<br /><br /> |
|
||||||
<b>Date of Birth:</b> {{$enquiry->dob}}<br /><br /> |
|
||||||
<b>Country of Birth:</b> {{$enquiry->cob}}<br /><br /> |
|
||||||
<b>Gender:</b> {{$enquiry->gender}}<br /><br /> |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
<h1>Additional Details</h1> |
|
||||||
<br /> |
|
||||||
<div class="main-column" style = "display:block; width:100%;"> |
|
||||||
<div class="column-one" style = "display:block; width:100%;"> |
|
||||||
<b>Highest Qualification:</b> {{ $enquiry->highest_qualification }}<br /><br /> |
|
||||||
@if(!is_null($enquiry->stream)) |
|
||||||
<b>Stream:</b> {{$enquiry->stream}}<br /><br /> |
|
||||||
@endif |
|
||||||
<b>% or GPA:</b> {{$enquiry->gpa}}<br /><br /> |
|
||||||
<b>Graduated year:</b> {{$enquiry->graduate_year}}<br /><br /> |
|
||||||
<b>Gap:</b> {{$enquiry->gap}}<br /><br /> |
|
||||||
<b>Current Status:</b> {{$enquiry->current_status}}<br /><br /> |
|
||||||
<b>Work Experience:</b> {{$enquiry->work_experience}}<br /><br /> |
|
||||||
@if(!is_null($enquiry->work_experience)) |
|
||||||
<b>Work Experience Details:</b> {{$enquiry->work_experience_details}}<br /><br /> |
|
||||||
@endif |
|
||||||
@if(!is_null($enquiry->salary_mode)) |
|
||||||
<b>Salary Mode:</b> {{$enquiry->salary_mode}}<br /><br /> |
|
||||||
@endif |
|
||||||
<b>Test Score:</b> {{$enquiry->test_score}}<br /><br /> |
|
||||||
<b>Marital Status:</b> {{$enquiry->marital_status}}<br /><br /> |
|
||||||
@if(!is_null($enquiry->married_date)) |
|
||||||
<b>Married Date:</b> {{$enquiry->married_date}}<br /><br /> |
|
||||||
@endif |
|
||||||
@if(!is_null($enquiry->spouse_academics)) |
|
||||||
<b>Spouse Academic:</b> {{$enquiry->spouse_academics}}<br /><br /> |
|
||||||
@endif |
|
||||||
@if(!is_null($enquiry->spouse_work_experience)) |
|
||||||
<b>Spouse Work Experience:</b> {{ $enquiry->spouse_work_experience }}<br /><br /> |
|
||||||
@endif |
|
||||||
@if(!is_null($enquiry->spouse_salary_mode)) |
|
||||||
<b>Spouse Salary Mode:</b> {{ $enquiry->spouse_salary_mode }}<br /><br /> |
|
||||||
@endif |
|
||||||
@if(!is_null($enquiry->immigration_history)) |
|
||||||
<b>Immigration History:</b> {{ $enquiry->immigration_history }}<br /><br /> |
|
||||||
@endif |
|
||||||
@if(!is_null($enquiry->desired_study_field)) |
|
||||||
<b>Desired Field of Study:</b> {{ $enquiry->desired_study_field }}<br /><br /> |
|
||||||
@endif |
|
||||||
@if(!is_null($enquiry->desired_location)) |
|
||||||
<b>Desired Location:</b> {{ config('custom.states')[$enquiry->desired_location] }}<br /><br /> |
|
||||||
@endif |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
@ -1,166 +0,0 @@ |
|||||||
@extends('layout.app') |
|
||||||
@section('title') |
|
||||||
<title>Privacy Policy</title> |
|
||||||
<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 property="og:url" content="" /> |
|
||||||
<meta property="og:image" content="{{url('frontend/images/banner.png')}}"/> |
|
||||||
<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."/> |
|
||||||
@endsection |
|
||||||
@section('content') |
|
||||||
<section class="privacy-policy-section"> |
|
||||||
<h1>Privacy Policy</h1> |
|
||||||
<p>At ET Education & Visa Services, we are committed to protecting the privacy and confidentiality of our client’s personal information. This Privacy Policy outlines the types of information we collect, how we use and safeguard this information, and your rights to access and control your information. |
|
||||||
When you provide personal information to ET Education & Visa Services, you are giving your consent to the collection, use, and disclosure of your personal information as per this Privacy Policy and any other agreements between you and ET Education & Visa Services. |
|
||||||
<br><br> |
|
||||||
ET Education & Visa Services reserves the right to modify this Privacy Policy from time to time by publishing the changes on the Website. We recommend that you periodically visit the Website to stay updated with the current Privacy Policy of ET Education & Visa Services. |
|
||||||
If you use the Website after any changes have been made to the Privacy Policy, you will be considered to have given your consent to those changes. |
|
||||||
</p> |
|
||||||
<div class="definition-policy"> |
|
||||||
<h2>Definitions</h2> |
|
||||||
In this Privacy Policy: |
|
||||||
<ul> |
|
||||||
<li>"Personal information" means information that can be associated with a specific person and can be used to identify that person and includes your information and the types of information described in this Privacy Policy.</li> |
|
||||||
<li>"Privacy Policy" means this privacy policy (as amended from time to time).</li> |
|
||||||
<li>"ET Education & Visa Services," "we," "us," or "our" means ET Education & Visa Services and its associated entities.</li> |
|
||||||
<li>"Specific Service" means any service, product, or good provided by ET Education & Visa Services, including but not limited to visa and immigration-related services and enrolment or recruitment-related services.</li> |
|
||||||
<li>"Website" means the website provided by ET Education & Visa Services, which allows you to view, order, or otherwise deal with the services, products or goods provided or offered by ET Education & Visa Services.</li> |
|
||||||
</ul> |
|
||||||
</div> |
|
||||||
<div class="personal-policy"> |
|
||||||
<h2>Collection of Personal Information</h2> |
|
||||||
We may collect the following types of personal information from our clients: |
|
||||||
<ol> |
|
||||||
<li>Contact information, such as name, email address, phone number, and mailing address.</li> |
|
||||||
<li>Demographic information, such as date of birth, nationality, and gender.</li> |
|
||||||
<li>Educational information, such as academic records, transcripts, and degrees.</li> |
|
||||||
<li>Visa-related information, such as passport number, visa application documents, and travel history.</li> |
|
||||||
<li>Financial information, such as payment details and bank account information.</li> |
|
||||||
<li>Your device ID, device type, geo-location information, computer and connection information, statistics on page views, traffic to and from the sites, ad data, IP address, standard web log information and page interaction information</li> |
|
||||||
<li>Any additional information relating to you that you provide to ET Education & Visa Services directly through the Website or indirectly through your use of the Website or through other websites or accounts from which you permit ET Education & Visa Services to collect information.</li> |
|
||||||
<li>Information you provide to ET Education & Visa Services (or its agents or representatives) through customer surveys.</li> |
|
||||||
<li>Personal information based on your activities on the Website.</li> |
|
||||||
<li>Any other personal information required to facilitate your dealings with ET Education & Visa Services.</li> |
|
||||||
<li>We will only collect sensitive personal information about you if we have your express or implied consent or if the law otherwise permits it. The types of sensitive information that we may collect include:</li> |
|
||||||
<ul> |
|
||||||
<li>Racial or ethnic origin</li> |
|
||||||
<li>Political opinions</li> |
|
||||||
<li>Criminal record</li> |
|
||||||
<li>Financial situation (including income or remuneration details)</li> |
|
||||||
<li>Health and medical information relating to your current and previous health status, medical conditions, and dietary requirements (where applicable)</li> |
|
||||||
</ul> |
|
||||||
<li>ET Education & Visa Services may collect personal information when you:</li> |
|
||||||
<ul> |
|
||||||
<li>Register on or make use of the Website.</li> |
|
||||||
<li>Request a service, product or good from ET Education & Visa Services</li> |
|
||||||
<li>Communicate with ET Education & Visa Services through correspondence, chats, email, or when you share information with ET Education & Visa Services from other social applications, services, or websites.</li> |
|
||||||
</ul> |
|
||||||
<li>When you provide your personal information to ET Education & Visa Services to request a service or product from us (or our representatives or agents), your contact details may be retained even if the transaction is not completed.</li> |
|
||||||
<li>ET Education & Visa Services may retain your contact information, even if a transaction still needs to be completed when you provide your personal information to request a service or product from us or our representatives or agents. These details are captured securely.</li> |
|
||||||
If you provide us with sensitive information, we will only retain such information under the following circumstances: |
|
||||||
<ul> |
|
||||||
<li>You have given consent for us to collect the information directly related to one of our functions, services, or activities.</li> |
|
||||||
<li>Information collection is required or authorised by Australian law, a court/tribunal order.</li> |
|
||||||
<li>Information collection is authorised for other purposes allowed under the Privacy Act, such as when we suspect unlawful activity or serious misconduct related to our functions, services, or activities has been, is being, or may be engaged in.</li> |
|
||||||
</ul> |
|
||||||
</ol> |
|
||||||
</div> |
|
||||||
<div class="personal-policy"> |
|
||||||
<h2>Use of Personal Information</h2> |
|
||||||
We use the personal information we collect to provide services to our clients, including but not limited to the following: |
|
||||||
<ol> |
|
||||||
<li>To contact you and conduct our business or provide you with services or products requested.</li> |
|
||||||
<li>To allow you to use and access our website.</li> |
|
||||||
<li>To operate, protect, improve, and optimise our website and experiences, such as performing analytics, conducting research, and advertising and marketing.</li> |
|
||||||
<li>To send you administrative, service, and support messages, as well as reminders, updates, and security alerts.</li> |
|
||||||
<li>To send you the information requested by you.</li> |
|
||||||
<li>To prepare and lodge visa applications, university and college applications, and other enrolment applications.</li> |
|
||||||
<li>To provide information to migration agents, educational institutions or bodies, Department of Home Affairs or similar bodies or institutions, where required or permitted by law.</li> |
|
||||||
<li>To send you marketing and promotional messages and other information that may interest you.</li> |
|
||||||
<li>To detect, investigate and prevent potentially unlawful acts or omissions, or acts or omissions with the potential to breach our terms and conditions, this Privacy Policy, or other policies or arrangements between you and us.</li> |
|
||||||
<li>To verify the information for accuracy or completeness (including by way of verification with third parties).</li> |
|
||||||
<li>To comply with our legal obligations, resolve any disputes we may have with any of our customers or you, and enforce our agreements with you or any third parties.</li> |
|
||||||
<li>To manage our relationship with you, including providing you with updates about the services or products that you have requested from us or responding to your enquiries.</li> |
|
||||||
<li>For other purposes directed by you; and purposes authorised under an Australian law or to ensure that we comply with our obligations under European Union Member State law (if relevant)</li> |
|
||||||
</ol> |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="personal-policy"> |
|
||||||
<h2>Access and Control of Personal Information</h2> |
|
||||||
You may access the personal information we hold about you by contacting us using the information on our website. |
|
||||||
<ol> |
|
||||||
<li>We may need to verify your identity when you request personal information. However, there may be instances where we need help to provide access to all your personal information. We will notify you of any reason why access is denied. Within 30 days of your request, we will make every effort to grant access.</li> |
|
||||||
<li>Clients have the right to access, modify, or delete their personal information by contacting us at the address below. Clients may also withdraw their consent to our collection, use, or disclosure of their personal information at any time, subject to legal or contractual obligations.</li> |
|
||||||
</ol> |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="personal-policy"> |
|
||||||
<h2>Failure to Provide Personal Information:</h2> |
|
||||||
You are not obliged to give us your personal information. We might be unable to provide you with the requested service if you decide not to give us the necessary personal information. |
|
||||||
Sharing of Personal Information: |
|
||||||
<ol> |
|
||||||
<li>We may disclose personal information for the purposes described in this Privacy Policy to third parties such as the Department of Home Affairs, educational institutions, our employees and related bodies corporate, third-party suppliers and service providers, contractors, professional advisers or consultants, dealers and agents, web hosting providers, IT systems administrators, debt collectors, and payment systems operators.</li> |
|
||||||
<li>We may also disclose your personal information to existing or potential agents, business partners, or sponsors, as well as to government agencies, regulatory bodies, and law enforcement agencies, or as required, authorised or permitted by law.</li> |
|
||||||
<li>We may disclose personal information to third-party businesses located overseas and other countries referred to on our website.</li> |
|
||||||
<li>Where you provide us with your personal information for a specific service, we may be required to provide such personal information to visa/immigration or enrolment/recruitment providers.</li> |
|
||||||
<li>We have limited control over how these providers use, disclose, or store personal information. You should ensure you understand and agree with their privacy practices before providing us your personal information.</li> |
|
||||||
<li>We do not sell or rent personal information to third parties, and we do not disclose personal information for marketing purposes without explicit consent from our clients.</li> |
|
||||||
</ol> |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="row personal-policy"> |
|
||||||
<div class="col-md-6"> |
|
||||||
<h2>Opting Out:</h2> |
|
||||||
<ol> |
|
||||||
<li>We may send you direct marketing communications and information about our services and products. You may opt out of receiving marketing materials from us by contacting us using the details on our website or clicking the unsubscribe link at the bottom of our emails.</li> |
|
||||||
<li> We take all reasonable steps to protect your personal information from misuse, loss, unauthorised access, modification, or disclosure. If you have any questions about this policy, please get in touch with us using the information on our website.</li> |
|
||||||
</ol> |
|
||||||
</div> |
|
||||||
<div class="col-md-6"> |
|
||||||
<h2>Using our Website and Cookies</h2> |
|
||||||
<ol> |
|
||||||
<li>ET Education & Visa Services may collect personal information about you.</li> |
|
||||||
<li>While we do not use browsing information to identify you personally, we may record certain information about your use of the website, such as which pages you visit, the time and date of your visit, and the internet protocol address assigned to your device.</li> |
|
||||||
<li>We may use "cookies" or similar tracking technologies on the website to track your usage and remember your preferences. Cookies are small files that store information on your device and enable us to recognise you across different websites, services, devices, and/or browsing sessions. If you disable cookies through your internet browser, the website may not work as intended for you.</li> |
|
||||||
<li>By using our website, you agree to ET Education & Visa Services placing cookies on your device and accessing them when you visit the website in the future.</li> |
|
||||||
</ol> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="personal-policy"> |
|
||||||
<h2>Links to Third-Party Websites</h2> |
|
||||||
<ol> |
|
||||||
<li>Our website might connect to external links, micro-sites, or analytics tools (like Google) that are not under ET Education & Visa Services' control or ownership. These links are provided solely for your convenience ("Third Party Websites"), and we do not warrant the accuracy or safety of these websites.</li> |
|
||||||
<li>You are responsible for checking the policies and practices of Third-Party Websites before using them.</li> |
|
||||||
<li>You acknowledge and agree that:</li> |
|
||||||
<ul> |
|
||||||
<li>To the extent permitted by law, ET Education & Visa Services is not liable for any loss, expense, or cost suffered by you as a result of your use of Third-Party Websites.</li> |
|
||||||
<li>ET Education & Visa Services is not responsible for any Third-Party Website's privacy policies or content.</li> |
|
||||||
</ul> |
|
||||||
</ol> |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="row personal-policy"> |
|
||||||
<div class="col-md-6"> |
|
||||||
<h2>Protection of Personal Information</h2> |
|
||||||
<p>We take reasonable measures to safeguard the personal information we collect from unauthorised access, use, or disclosure. We use physical, electronic, and administrative security measures to protect our client’s information and regularly review and update our security procedures.</p> |
|
||||||
</div> |
|
||||||
<div class="col-md-6"> |
|
||||||
<h2>Changes to Privacy Policy</h2> |
|
||||||
<p>We may periodically update this privacy policy to reflect business practices or legal requirements changes. We will notify clients of any material changes to this Policy and obtain their consent where required.</p> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="contact-policy"> |
|
||||||
<h2>Contact Information</h2> |
|
||||||
<p>If you have any questions or concerns about our Privacy Policy or the collection, use, or disclosure of your personal information, please contact us at:</p> |
|
||||||
<ul> |
|
||||||
<li>ET Education & Visa Services</li> |
|
||||||
<li><a href="https://goo.gl/maps/SFPf7MtojQ7yK9Nc9" target="_blank">Sydney Suite 132 & 133, Level 3, 10 Park Road, Hurstville NSW 2220</a></li> |
|
||||||
<li>Email: <a href="mailto: admin@eteducation.com.au">admin@eteducation.com.au</a></li> |
|
||||||
<li> Phone: <a href="telto: +61 02 9171 7740">+61 02 9171 7740</a></li> |
|
||||||
</ul> |
|
||||||
</div> |
|
||||||
</section> |
|
||||||
@endsection |
|