Compare commits

...

43 Commits

Author SHA1 Message Date
Mahesh Sharma 564529895f implementing-task-scheduler 2 years ago
Mahesh Sharma cce8fd095a appointment 2 years ago
tribikram f860a36947 [edit] contents for privacy and about us 2 years ago
Mahesh Sharma 67612b1116 blog 2 years ago
tribikram e269f8c285 [edit] privacy title 2 years ago
tribikram a898a3fa78 [edit] student visa icon changed 2 years ago
Mahesh Sharma ca9688fb69 et#38-rebase-conflicts 2 years ago
Mahesh Sharma f461b09d08 enquiry-form-changes 2 years ago
tribikram 401c406444 [add] hide btn on submit 2 years ago
tribikram 6a0a4ccb34 [edit] enquiry view table 2 years ago
Mahesh Sharma f2d67186be aapointment-navigation-for-admin 2 years ago
Mahesh Sharma 7f836f06c2 rebase-et#35 2 years ago
Mahesh Sharma 338d015069 enquiry-backend 2 years ago
tribikram 948b076c03 [edit] css fixed 2 years ago
tribikram 1821580633 [edit] form css 2 years ago
tribikram cf212411de [add] additional information client validation 2 years ago
Mahesh Sharma 4201b17cab rebase 2 years ago
Mahesh Sharma c5d88c4d03 enquiry-form-submit 2 years ago
Mahesh Sharma 92b515bd80 enquiry_form_element-name-change 2 years ago
tribikram b3aaa90f34 [edit] enquiry form 2 years ago
Mahesh Sharma e1eb4fa70c et#31-rebase-conflict 2 years ago
Mahesh Sharma ed3918d02a formating 2 years ago
tribikram 4a305d6a92 [edit] type date 2 years ago
tribikram c4b87ab6c0 [add] enquiry form 2 years ago
tribikram 3940ca697f [edit] css fixed 2 years ago
Mahesh Sharma e7b33f2ccc appoitment 2 years ago
tribikram 2520f2017b [edit] active class for appointment date 2 years ago
Mahesh Sharma e3210482fa changes-in-appointment 2 years ago
Mahesh Sharma d310c517c1 correction 2 years ago
tribikram c717c2cfe8 [edit] css fixed 2 years ago
tribikram f8932a97c2 [add] JRP to index page 2 years ago
Mahesh Sharma f6118eeb1f rebase-et#25 2 years ago
tribikram ca5565d448 [edit] footer target blank removed 2 years ago
tribikram f5be1c14a7 [edit] batch added on click on date 2 years ago
Mahesh Sharma 98fb64971a appointment-seeder-overall-completed 2 years ago
Mahesh Sharma 45d0b8f609 appointment-update 2 years ago
tribikram c8f0fe2d1e [edit] all right reserved text 2 years ago
tribikram f977c3ddb0 [edit] css fixed 2 years ago
Mahesh Sharma 0c5354f9ce admin-side 2 years ago
Mahesh Sharma 6023ac6817 appointment-initial-confirmed 2 years ago
Mahesh Sharma 3f2850b8d1 appointment 2 years ago
suman 25a9be6e1c Updated Universities List. 2 years ago
Mahesh Sharma f053ba81b5 meta-description-and-image 2 years ago
  1. 36
      app/Console/Commands/CheckQueue.php
  2. 33
      app/Console/Commands/ProcessQueue.php
  3. 2
      app/Console/Kernel.php
  4. 3
      app/Http/Controllers/AboutUsController.php
  5. 278
      app/Http/Controllers/Admin/AccomodationController.php
  6. 102
      app/Http/Controllers/Admin/AppointmentController.php
  7. 11
      app/Http/Controllers/Admin/HomeController.php
  8. 82
      app/Http/Controllers/Admin/ServiceSectionController.php
  9. 105
      app/Http/Controllers/AppointmentController.php
  10. 2
      app/Http/Controllers/BlogController.php
  11. 76
      app/Http/Controllers/EnquiryController.php
  12. 9
      app/Http/Controllers/HomeController.php
  13. 9
      app/Http/Controllers/VisaController.php
  14. 41
      app/Jobs/SendEnquiryMailJob.php
  15. 65
      app/Mail/EnquiryMail.php
  16. 3
      app/Models/AboutUs.php
  17. 3
      app/Models/AboutUsPoint.php
  18. 4
      app/Models/Contact.php
  19. 11
      app/Models/Country.php
  20. 13
      app/Models/Enquiry.php
  21. 2
      config/app.php
  22. 4
      config/database.php
  23. 59
      database/migrations/2023_02_16_171148_create_enquiries_table.php
  24. 49
      database/seeders/AppointmentTableSeeder.php
  25. 50
      public/admin/css/custom-admin.css
  26. BIN
      public/frontend/.DS_Store
  27. 347
      public/frontend/css/style.css
  28. BIN
      public/frontend/icons/account-student.png
  29. BIN
      public/frontend/icons/career-counselling.png
  30. BIN
      public/frontend/icons/jrp.png
  31. BIN
      public/frontend/icons/noto_graduation-cap.png
  32. 12
      public/frontend/icons/noto_graduation-cap.svg
  33. BIN
      public/images/news_and_update/2023/02/15/917540415d7720a1c316f6f4b5b6fa70.jpg
  34. BIN
      public/images/setting/2023/02/17/115fa12177ac4180dec5b3707d601bb2.png
  35. 33
      resources/views/about.blade.php
  36. 48
      resources/views/admin/about_us/create.blade.php
  37. 6
      resources/views/admin/appointment/edit.blade.php
  38. 33
      resources/views/admin/appointment/index.blade.php
  39. 61
      resources/views/admin/appointment/show.blade.php
  40. 157
      resources/views/admin/career/create.blade.php
  41. 203
      resources/views/admin/career/edit.blade.php
  42. 116
      resources/views/admin/career/index.blade.php
  43. 148
      resources/views/admin/career/show.blade.php
  44. 51
      resources/views/admin/enquiry/index.blade.php
  45. 22
      resources/views/admin/enquiry/mail.blade.php
  46. 165
      resources/views/admin/enquiry/show.blade.php
  47. 39
      resources/views/admin/index.blade.php
  48. 9
      resources/views/admin/layouts/app.blade.php
  49. 66
      resources/views/admin/layouts/menubar.blade.php
  50. 2
      resources/views/admin/login.blade.php
  51. 157
      resources/views/admin/referral/create.blade.php
  52. 203
      resources/views/admin/referral/edit.blade.php
  53. 135
      resources/views/admin/referral/show.blade.php
  54. 311
      resources/views/appointment.blade.php
  55. 25
      resources/views/appointment_confirmed.blade.php
  56. 25
      resources/views/appointment_confirmed_for_admin.blade.php
  57. 42
      resources/views/blog-detail.blade.php
  58. 33
      resources/views/blogs.blade.php
  59. 552
      resources/views/enquiry-form.blade.php
  60. 76
      resources/views/enquiry_mail.blade.php
  61. 53
      resources/views/layout/app.blade.php
  62. 166
      resources/views/privacy_policy.blade.php
  63. 6
      resources/views/services.blade.php
  64. 29
      resources/views/study-abroad-detail.blade.php
  65. 19
      resources/views/welcome.blade.php
  66. 30
      routes/web.php

@ -0,0 +1,36 @@
<?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
}
}
}

@ -0,0 +1,33 @@
<?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
}
}

@ -15,7 +15,7 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')->hourly();
$schedule->command('queue:check')->everyMinute();
}
/**

@ -7,7 +7,8 @@ use App\Models\AboutUs;
class AboutUsController extends Controller
{
public function index(){
public function index()
{
$about = AboutUs::where('status', true)->first();
return view('about', compact('about'));
}

@ -1,278 +0,0 @@
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\Accomodation;
use App\Models\BlogPoint;
use App\Models\NewsAndUpdatePoint;
use App\Models\Setting;
use App\Models\User;
use App\Models\AccomodationFeature;
use App\Models\AccomodationInformation;
use App\Models\AccomodationSliderTitle;
use App\Models\AccomodationImage;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Session;
// use function GuzzleHttp\Promise\all;
class AccomodationController extends Controller
{
protected $view = 'admin.accomodation.';
protected $redirect = 'admin/accomodations';
public function index()
{
$settings = Accomodation::orderBy('id','DESC');
if(\request('name')){
$key = \request('name');
$settings = $settings->where('title','like','%'.$key.'%');
}
if(\request('status')){
$key = \request('status');
$settings = $settings->where('status',$key);
}
$settings = $settings->paginate(config('custom.per_page'));
return view($this->view.'index',compact('settings'));
}
public function create()
{
return view($this->view . 'create');
}
public function store(Request $request)
{
$this->validate(\request(), [
'title' => 'required',
'phone' => 'required',
'address' => 'required',
'status' => 'required',
'images' => 'required',
'slider_image' => 'required|file|mimes:jpeg,png,jpg'
]);
if($request->has('slider_image')){
$extension = \request()->file('slider_image')->getClientOriginalExtension();
$image_folder_type = array_search('accomodation',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
$out_put_path = User::save_image(\request()->file('slider_image'),$extension,$count,$image_folder_type);
$image_path1 = $out_put_path[0];
}
$requestData = $request->all();
if(isset($image_path1)){
$requestData['slider_image'] = $image_path1;
}
// $requestData['slug'] = Setting::create_slug($requestData['keyword']);
$accomodation = Accomodation::create($requestData);
if($request->hasFile('images')){
foreach($request->file('images') as $imagefile) {
$extension = $imagefile->getClientOriginalExtension();
$image_folder_type = array_search('accomodation',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
$out_put_path = User::save_image($imagefile,$extension,$count,$image_folder_type);
$image_path1 = $out_put_path[0];
$accomodation_image = new AccomodationImage();
$accomodation_image->accomodation_id = $accomodation->id;
$accomodation_image->image = $image_path1;
$accomodation_image->save();
}
}
if(\request('feature_name')){
foreach (\request('feature_name') as $index => $value){
$setting_point = new AccomodationFeature();
$setting_point->accomodation_id = $accomodation->id;
$setting_point->feature_name = $value;
$setting_point->save();
}
}
if(\request('information_name')){
foreach (\request('information_name') as $index => $value){
$setting_point = new AccomodationInformation();
$setting_point->accomodation_id = $accomodation->id;
$setting_point->information_name = $value;
$setting_point->save();
}
}
if(\request('title_name')){
foreach (\request('title_name') as $index => $value){
$setting_point = new AccomodationSliderTitle();
$setting_point->accomodation_id = $accomodation->id;
$setting_point->title_name = $value;
$setting_point->save();
}
}
Session::flash('success','Accomodation successfully created');
return redirect($this->redirect);
}
public function show($id)
{
$setting =Accomodation::findorfail($id);
return view($this->view.'show',compact('setting'));
}
public function edit($id){
$setting =Accomodation::findorfail($id);
return view($this->view.'edit',compact('setting'));
}
public function update(Request $request, $id){
// dd(\request()->all());
$setting =Accomodation::findorfail($id);
$this->validate(\request(), [
'title' => 'required',
'phone' => 'required',
'address' => 'required',
'status' => 'required'
// 'images' => 'required',
// 'slider_image' => 'required|file|mimes:jpeg,png,jpg'
]);
if(\request('slider_image')){
$this->validate(\request(),[
'image' => 'file|mimes:jpeg,png,jpg'
]);
if($request->hasFile('slider_image')){
$extension = $request->file('slider_image')->getClientOriginalExtension();
$image_folder_type = array_search('accomodation',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
$out_put_path = User::save_image($request->file('slider_image'),$extension,$count,$image_folder_type);
$image_path1 = $out_put_path[0];
if (is_file(public_path().'/'.$setting->slider_image) && file_exists(public_path().'/'.$setting->slider_image)){
unlink(public_path().'/'.$setting->slider_image);
}
}
}
$requestData = $request->all();
// $requestData['slug'] = Setting::create_slug($requestData['keyword']);
if(isset($image_path1)){
$requestData['slider_image'] = $image_path1;
}
$setting->fill($requestData);
if($setting->save()){
if($request->hasFile('images')){
$accommodation_image = $setting->accommodation_images();
$accommodation_image->delete();
foreach($request->file('images') as $imagefile) {
$extension = $imagefile->getClientOriginalExtension();
$image_folder_type = array_search('accomodation',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
$out_put_path = User::save_image($imagefile,$extension,$count,$image_folder_type);
$image_path1 = $out_put_path[0];
// if (is_file(public_path().'/'.$setting->slider_image) && file_exists(public_path().'/'.$setting->slider_image)){
// unlink(public_path().'/'.$setting->slider_image);
// }
$accomodation_image = new AccomodationImage();
$accomodation_image->accomodation_id = $id;
$accomodation_image->image = $image_path1;
$accomodation_image->save();
}
}
if(\request('feature_name') ){
$accommodation_feature = $setting->accommodation_features();
$accommodation_feature->delete();
foreach (\request('feature_name') as $index => $value){
$setting_point = new AccomodationFeature();
$setting_point->accomodation_id = $id;
$setting_point->feature_name = $value;
$setting_point->save();
}
}
if(\request('information_name') ){
$accommodation_information = $setting->accommodation_informations();
$accommodation_information->delete();
foreach (\request('information_name') as $index => $value){
$setting_point = new AccomodationInformation();
$setting_point->accomodation_id = $id;
$setting_point->information_name = $value;
$setting_point->save();
}
}
if(\request('title_name') ){
$accommodation_title = $setting->accommodation_slider_titles();
$accommodation_title->delete();
foreach (\request('title_name') as $index => $value){
$setting_point = new AccomodationSlidertitle();
$setting_point->accomodation_id = $id;
$setting_point->title_name = $value;
$setting_point->save();
}
}
}
Session::flash('success','Accomodation succesffuly edited.');
return redirect($this->redirect);
}
public function delete($id){
$setting=Accomodation::findorfail($id);
// if($setting->accommodation_features->count() > 0){
// $setting->accommodation_features()->delete();
// }
// if($setting->accommodation_informations->count() > 0){
// $setting->accommodation_informations()->delete();
// }
// if($setting->accommodation_slider_titles->count() > 0){
// $setting->accommodation_informations()->delete();
// }
if($setting->delete()){
if (is_file(public_path().'/'.$setting->slider_image) && file_exists(public_path().'/'.$setting->slider_image)){
unlink(public_path().'/'.$setting->slider_image);
}
}
Session::flash('success','Accomodation successfully is deleted !');
return redirect($this->redirect);
}
public function points_remove($id)
{
if(Auth::user()){
$setting = AccomodationFeature::findorfail($id);
$setting->delete();
return response()->json(['point_id' => $id]);
}
}
public function information_points_remove($id)
{
if(Auth::user()){
$setting = AccomodationInformation::findorfail($id);
$setting->delete();
return response()->json(['point_id' => $id]);
}
}
public function slider_points_remove($id)
{
if(Auth::user()){
$setting = AccomodationSliderTitle::findorfail($id);
$setting->delete();
return response()->json(['point_id' => $id]);
}
}
}

@ -7,24 +7,59 @@ use App\Http\Controllers\Controller;
use App\Models\Appointment;
use Illuminate\Http\Request;
use Carbon\Carbon;
class AppointmentController extends Controller
{
protected $view = 'admin.appointment.';
protected $redirect = 'admin/appointments';
// protected $service;
public function index(){
$appointments = Appointment::orderBy('id','DESC');
public function education_appointments()
{
$appointments = Appointment::where('service_type', '1')->orderBy('id', 'DESC');
if (\request('date')) {
$key = \request('date');
$appointments = $appointments->whereDate('date',$key);
$date = \request('date');
$appointments = $appointments->whereDate('date', $date);
}
if (\request('status')) {
$key = \request('status');
$appointments = $appointments->where('status',$key);
$status = \request('status');
$appointments = $appointments->where('status', $status);
}
if (\request('is_booked')) {
$is_booked = (\request('is_booked')) == '1' ? true : false;
$appointments = $appointments->where('is_booked', $is_booked);
}
$appointments = $appointments->paginate(20);
$service = 'Education';
$is_booked = $is_booked ?? null;
$date = $date ?? null;
$status = $status ?? null;
return view($this->view . 'index', compact('appointments', 'service', 'is_booked', 'date', 'status'));
}
public function visa_appointments()
{
$appointments = Appointment::where('service_type', '2')->orderBy('id', 'DESC');
if (\request('date')) {
$date = \request('date');
$appointments = $appointments->whereDate('date', $date);
}
if (\request('status')) {
$status = \request('status');
$appointments = $appointments->where('status', $status);
}
if (\request('is_booked')) {
$is_booked = (\request('is_booked')) == '1' ? true : false;
$appointments = $appointments->where('is_booked', $is_booked);
}
$appointments = $appointments->paginate(config('custom.per_page'));
return view($this->view.'index',compact('appointments'));
$appointments = $appointments->paginate(20);
$is_booked = $is_booked ?? null;
$date = $date ?? null;
$status = $status ?? null;
$service = 'Migration|Visa';
return view($this->view . 'index', compact('appointments', 'service', 'is_booked', 'date', 'status'));
}
public function create()
@ -38,52 +73,76 @@ class AppointmentController extends Controller
'date' => 'required|date',
'start_time' => 'required|date_format:H:i',
'end_time' => 'required|date_format:H:i',
// 'location' => 'required|max:255',
// 'description' => 'required',
]);
$start_time = Carbon::createFromFormat('H:i', $request->get('start_time'))->format('H:i A');
$end_time = Carbon::createFromFormat('H:i', $request->get('end_time'))->format('H:i A');
$appointment = new Appointment([
'date' => $request->get('date'),
'start_time' => $request->get('start_time'),
'end_time' => $request->get('end_time'),
'start_time' => $start_time,
'end_time' => $end_time,
'location' => $request->get('location'),
'description' => $request->get('description'),
'service_type' => $request->get('service_type'),
]);
$appointment->save();
if($request->get('service_type') == "1"){
$service = 'education';
}else{
$service = 'visa';
}
return redirect($this->redirect)->with('success', 'Appointment has been added');
return redirect($this->redirect.'/'.$service)->with('success', 'Appointment has been added');
}
public function edit($id)
{
$appointment = Appointment::find($id);
$appointment = Appointment::findorfail($id);
$start_time = explode(" ", $appointment->start_time);
$start_time = $start_time[0];
$end_time = explode(" ", $appointment->end_time);
$end_time = $end_time[0];
$appointment['start_time'] = $start_time;
$appointment['end_time'] = $end_time;
return view($this->view . 'edit', compact('appointment'));
}
public function update(Request $request, $id)
{
$request->validate([
'date' => 'required|date',
'start_time' => 'required|date_format:H:i',
'end_time' => 'required|date_format:H:i',
// 'location' => 'required|max:255',
// 'description' => 'required',
]);
$start_time = Carbon::createFromFormat('H:i', $request->get('start_time'))->format('H:i A');
$end_time = Carbon::createFromFormat('H:i', $request->get('end_time'))->format('H:i A');
$appointment = Appointment::find($id);
$appointment->date = $request->get('date');
$appointment->start_time = $request->get('start_time');
$appointment->end_time = $request->get('end_time');
$appointment->start_time = $start_time;
$appointment->end_time = $end_time;
$appointment->location = $request->get('location');
$appointment->description = $request->get('description');
$appointment->service_type = $request->get('service_type');
$appointment->status = $request->get('status');
$appointment->save();
if($request->get('service_type') == "1"){
$service = 'education';
}else{
$service = 'visa';
}
return redirect($this->redirect)->with('success', 'Appointment has been updated');
return redirect($this->redirect.'/'.$service)->with('success', 'Appointment has been updated');
}
public function show($id)
{
$appointment = Appointment::with('appointment_booking_detail')->findorfail($id);
return view($this->view . 'show', compact('appointment'));
}
public function destroy($id)
@ -94,4 +153,3 @@ class AppointmentController extends Controller
return redirect($this->redirect)->with('success', 'Appointment has been deleted');
}
}

@ -4,8 +4,9 @@ namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\Contact;
use App\Models\Referral;
use App\Models\Enquiry;
use App\Models\Subscription;
use App\Models\VisaService;
use App\Models\Service;
use Illuminate\Http\Request;
use Illuminate\Routing\Route;
@ -20,12 +21,14 @@ class HomeController extends Controller
public function indexAdmin()
{
if(Auth::check()){
$service= Service::where('status',true);
$visa_service= VisaService::where('status',true);
$education_service= Service::where('status',true);
$enquiry= Enquiry::all();
$contact= Contact::all();
$subscription= Contact::all();
$subscription= Subscription::all();
$contacts = Contact::paginate(config('custom.per_page'));
// $referrals=Referral::paginate(config('custom.per_page'));
return view('admin.index', compact( 'service', 'contact', 'contacts','subscription'));
return view('admin.index', compact( 'visa_service', 'education_service', 'enquiry', 'contacts','contact','subscription'));
}
return view('admin.login');
}

@ -209,49 +209,59 @@ class ServiceSectionController extends Controller
$point_descriptions = $request->point_descriptions ?? [];
$icons = $request->icons ?? [];
if($points != null && $point_ids != null){
foreach($request['point_ids'] as $key => $pid){
if((!empty($points)) && ($points[0] != null)){
$service_section_point = $service_section->service_section_point();
$service_section_point->delete();
foreach($points as $point){
$service_section_point = new ServiceSectionPoint();
$service_section_point = $service_section_point->findorfail($pid);
// $service_section_point = ServiceSectionPoint::find($id);
if(array_key_exists($key,$point_descriptions)){
$service_section_point->point_description = $point_descriptions[$key];
$service_section_point->service_section_id = $service_section->id;
$service_section_point->point = $point;
$service_section_point->save();
}
}
if(array_key_exists($key,$icons)){
$extension = $icons[$key]->getClientOriginalExtension();
$image_folder_type = array_search('service',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
// if($points != null && $point_ids != null){
// foreach($request['point_ids'] as $key => $pid){
// $service_section_point = new ServiceSectionPoint();
// $service_section_point = $service_section_point->findorfail($pid);
// // $service_section_point = ServiceSectionPoint::find($id);
$out_put_path = User::save_image($icons[$key],$extension,$count,$image_folder_type);
is_array($out_put_path) ? $service_section_point->icon = $out_put_path[0] : $service_section_point->icon = $out_put_path;
// $service_section_point->icon = $points_descriptions[$key];
}
$service_section_point->point = $points[$key];
$service_section_point->update();
// if(array_key_exists($key,$point_descriptions)){
// $service_section_point->point_description = $point_descriptions[$key];
// }
// if(array_key_exists($key,$icons)){
// $extension = $icons[$key]->getClientOriginalExtension();
// $image_folder_type = array_search('service',config('custom.image_folders')); //for image saved in folder
}
}
else{
foreach($points as $key => $point){
$service_section_point = new ServiceSectionPoint();
$service_section_point->service_section_id = $service_section->id;
$service_section_point->point = $point;
if(array_key_exists($key,$icons)){
$extension = $icons[$key]->getClientOriginalExtension();
$image_folder_type = array_search('service',config('custom.image_folders')); //for image saved in folder
// $count = rand(100,999);
$count = rand(100,999);
// $out_put_path = User::save_image($icons[$key],$extension,$count,$image_folder_type);
// is_array($out_put_path) ? $service_section_point->icon = $out_put_path[0] : $service_section_point->icon = $out_put_path;
// // $service_section_point->icon = $points_descriptions[$key];
// }
// $service_section_point->point = $points[$key];
// $service_section_point->update();
$out_put_path = User::save_image($icons[$key],$extension,$count,$image_folder_type);
is_array($out_put_path) ? $service_section_point->icon = $out_put_path[0] : $service_section_point->icon = $out_put_path;
// $service_section_point->icon = $points_descriptions[$key];
}
$service_section_point->save();
}
}
// }
// }
// else{
// foreach($points as $key => $point){
// $service_section_point = new ServiceSectionPoint();
// $service_section_point->service_section_id = $service_section->id;
// $service_section_point->point = $point;
// if(array_key_exists($key,$icons)){
// $extension = $icons[$key]->getClientOriginalExtension();
// $image_folder_type = array_search('service',config('custom.image_folders')); //for image saved in folder
// $count = rand(100,999);
// $out_put_path = User::save_image($icons[$key],$extension,$count,$image_folder_type);
// is_array($out_put_path) ? $service_section_point->icon = $out_put_path[0] : $service_section_point->icon = $out_put_path;
// // $service_section_point->icon = $points_descriptions[$key];
// }
// $service_section_point->save();
// }
// }
// $service_point = $service_section->service_section_point();
// $service_point->delete();
// foreach($points as $key => $point){

@ -11,8 +11,8 @@ class AppointmentController extends Controller
{
public function index(){
$educationAppointments = Appointment::where('service_type', '1')->get();
$visaAppointments = Appointment::where('service_type', '2')->get();
$educationAppointments = Appointment::where('date', '>=', Carbon::today())->where('service_type', '1')->get();
$visaAppointments = Appointment::where('date', '>=', Carbon::today())->where('service_type', '2')->get();
// foreach($educationAppointments as $appointment){
// $startTime = Carbon::createFromFormat('H:i', $appointment->start_time);
// $date = Carbon::createFromFormat('H:i', $appointment->start_time);
@ -23,48 +23,123 @@ class AppointmentController extends Controller
}
public function get_appointment_by_date(Request $request){
$dateTime = $request->date;
$date_parts = explode(" ", $dateTime);
$month_number = date_parse($date_parts[1])['month'];
$carbon = Carbon::createFromDate($date_parts[3], $month_number, $date_parts[2]);
$date = $carbon->format('Y-m-d');
$appointments = Appointment::whereDate('date',$date)->where(['status' => 1, 'is_booked' => false])->get();
// $users = DB::table('appointments')->whereDate('created_at', '2022-12-01')->get();
// $time = [];
// foreach($appointments as $appointment){
// array_push($time, [$appointment->start_time, $appointment->id]);
// }
// dd($time);
return response()->json(['appointment' => $appointments]);
$type_id = $request->id;
$appointments_all = Appointment::whereDate('date',$date)->where(['service_type' => $type_id,'is_booked' => false,'status' => 1])->get();
$old_date = Carbon::createFromFormat('Y-m-d', $date);
$formated_date = $old_date->format('M d, Y');
$currentTime = Carbon::now();
$appointments = [];
foreach ($appointments_all as $appointment) {
$start_time = explode(" ", $appointment->start_time);
$start_time = $start_time[0];
$appointmentDate = Carbon::createFromFormat('Y-m-d H:i', $appointment->date.' '.$start_time);
if ($appointmentDate->gt($currentTime)) {
array_push($appointments, $appointment);
}
}
return response()->json(['appointment' => $appointments,'formated_date' => $formated_date]);
}
public function form_submit(Request $request){
$request->validate([
'name' => 'required',
'email' => 'required|email',
'phone' => 'required',
]);
$appointment_id = $request->get('appointment_id');
$appointment = Appointment::findorfail($appointment_id);
$appointment_detail = new AppointmentBookingDetail();
$appointment_detail->name = $request->get('name');
$appointment_detail->email = $request->get('email');
$appointment_detail->phone = $request->get('phone');
$appointment_detail->notes = $request->get('notes');
$appointment_id = $request->get('appointment_id');
$appointment_detail->appointment_id = $appointment_id;
$email = $request['email'];
$name = $request['name'];
$phone = $request['phone'];
if($appointment_detail->save()){
$appointment = Appointment::findorfail($appointment_id);
$date = Carbon::createFromFormat('Y-m-d', $appointment->date);
$formated_date = $date->format('M d, Y');
$appointment->is_booked = true;
$appointment->save();
}
$subject = 'Appointment Booked Successfully.';
dispatch(function() use ($name,$email,$phone,$subject,$formated_date,$appointment) {
\Mail::send('appointment_confirmed', array(
'full_name' =>$name,
'email' =>$email,
'date' => $formated_date,
'start_time' => $appointment['start_time'],
return response()->json(['appointment' => $appointment_detail],200);
'end_time' => $appointment['end_time'],
'phone' =>$phone,
'subject' =>$subject
), function($message) use ($subject,$email,$name){
// $subject=($service!= '') ? 'Enquiry for '.$service : 'Contact/Feedback';
$message->subject($subject);
// $message->from('admin@eteducation.com.au', 'Admin');
$message->to($email, $name)->subject($subject);
// $message->cc('extratechweb@gmail.com', 'Extratech')->subject($subject);
// $message->cc('admin@eteducation.com.au', 'Extratech')->subject($subject);
});
});
dispatch(function() use ($name,$email,$phone,$subject,$formated_date,$appointment) {
\Mail::send('appointment_confirmed_for_admin', array(
'full_name' =>$name,
'email' =>$email,
'date' => $formated_date,
'start_time' => $appointment['start_time'],
'end_time' => $appointment['end_time'],
'phone' =>$phone,
'subject' =>$subject
), function($message) use ($subject){
// $subject=($service!= '') ? 'Enquiry for '.$service : 'Contact/Feedback';
$message->subject($subject);
// $message->to($email, $name)->subject($subject);
$message->to('mahesh@extratechs.com.au', 'Extratech')->subject($subject);
// $message->cc('admin@eteducation.com.au', 'Extratech')->subject($subject);
});
});
}
return response()->json(['appointment_detail' => $appointment_detail,'appointment' => $appointment,'formated_date' => $formated_date],200);
}
}

@ -9,7 +9,7 @@ use App\Models\Page;
class BlogController extends Controller
{
public function index(){
$page = Page::where(['title' => 'Blog','status' => 1])->first();
$page = Page::where(['title' => 'Blogs','status' => 1])->first();
$blogs = NewsAndUpdate::where('status',1)->get();
return view('blogs',compact('blogs','page'));
}

@ -0,0 +1,76 @@
<?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');
}
}

@ -8,10 +8,19 @@ use App\Models\Testimonial;
use App\Models\NewsAndUpdate;
use App\Models\Subscription;
use App\Models\AboutUs;
use Illuminate\Support\Facades\Artisan;
use Database\Seeders\AppointmentTableSeeder;
class HomeController extends Controller
{
public function runSeeder(){
Artisan::call('db:seed', ['--class' => AppointmentTableSeeder::class]);
}
public function runQueueJobs(){
Artisan::call('queue:listen');
}
public function index(){
$sliders = Slider::where('status',1)->get();
$testimonials = Testimonial::where('status',1)->get();
$blogs = NewsAndUpdate::where('status',1)->get();

@ -8,12 +8,15 @@ use App\Models\Page;
class VisaController extends Controller
{
public function index(){
public function index()
{
$page = Page::where(['title' => 'Visa', 'status' => 1])->first();
$visas = VisaService::where('status', 1)->get();
return view('visa',compact('visas','page'));
return view('visa', compact('visas', 'pages'));
}
public function details($slug){
public function details($slug)
{
$page = Page::where(['title' => 'Visa', 'status' => 1])->first();
$visas = VisaService::where('status', 1)->get();
$service = VisaService::where(['slug' => $slug, 'status' => 1])->orderby('order_by', 'asc')->first();

@ -0,0 +1,41 @@
<?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));
}
}

@ -0,0 +1,65 @@
<?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 [];
}
}

@ -10,7 +10,8 @@ class AboutUs extends Model
use HasFactory;
protected $table = "about_us";
public function about_us_points(){
public function about_us_points()
{
return $this->hasMany(AboutUsPoint::class);
}
}

@ -10,7 +10,8 @@ class AboutUsPoint extends Model
use HasFactory;
protected $table = "about_us_points";
public function about_us(){
public function about_us()
{
return $this->belongsto(AboutUs::class);
}
}

@ -10,8 +10,8 @@ class Contact extends Model
use HasFactory;
protected $fillable = ['fullname', 'email', 'service_id', 'phone', 'message', 'status', 'created_at'];
public function service(){
public function service()
{
return $this->belongsto(Service::class);
}
}

@ -0,0 +1,11 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Country extends Model
{
use HasFactory;
}

@ -0,0 +1,13 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Enquiry extends Model
{
use HasFactory;
protected $guarded = ['id'];
}

@ -69,7 +69,7 @@ return [
|
*/
'timezone' => 'UTC',
'timezone' => 'Australia/Sydney',
/*
|--------------------------------------------------------------------------

@ -48,8 +48,8 @@ return [
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'database' => env('DB_DATABASE', 'eteducation'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',

@ -0,0 +1,59 @@
<?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');
}
};

@ -0,0 +1,49 @@
<?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
]);
}
}
}
}
}

@ -1,5 +1,5 @@
.sb{
background: #13a64f;
background: #326cbf;
padding-bottom: 50px;
}
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active{
@ -28,7 +28,7 @@
margin-top: 10px;
}
.main-header{
background: #13a64f;
background: #326cbf;
}
.nav-link i{
color:#fff;
@ -206,10 +206,7 @@ svg{
.create-button{
margin-top:10px;
}
.create-button .col-md-12{
/* display:flex;
justify-content:center; */
}
.create-button .col-md-12 button{
padding:10px 50px;
}
@ -265,11 +262,6 @@ svg{
background: none;
}
.table-search{
/* width: fit-content; */
}
.search-form .table-search input{
/* margin-right: 10px; */
border-radius: 5px!important;
@ -277,7 +269,6 @@ svg{
.ds-input:focus{
border-color: #1850b7;
}
/* new edit */
.table td{
@ -320,9 +311,6 @@ svg{
background: none;
border:none;
color:#fff;
}
.dropdown-menubar .dropdown-menu[data-bs-popper]{
}
.dropdown-menubar button:active{
background-color: none;
@ -362,13 +350,13 @@ svg{
}
.btn-green{
color:#fff;
background: #13a64f;
border-color:#13a64f;
background: #326cbf;
border-color:#326cbf;
}
.btn-green:hover{
color:#fff;
background: #ea8937;
border-color:#ea8937;
background: #D933A2;
border-color:#D933A2;
}
.card-header{
padding: 1rem 1rem!important;
@ -453,7 +441,7 @@ p .font-medium{
font-weight: 700;
font-size: 16px;
color: #000;
width: 400px;
width: 300px;
}
.contact-info{
display: inline-block;
@ -469,3 +457,25 @@ p .font-medium{
.admin-table img{
width: 200px !important;
}
.sidebar-icon .menu-title{
display: inline-flex;
align-items: center;
justify-content: space-between;
padding-right: 20px;
}
.badge.notbooked{
background: #1F8D60;
font-size: 1rem;
padding: 0.6rem 1rem;
}
.badge.booked{
background: #C31521;
font-size: 1rem;
padding: 0.6rem 1rem;
}
.contact-info h2{
font-weight: bold;
font-size: 28px;
color: #326CBF;
margin-bottom: 1rem;
}

Binary file not shown.

@ -45,9 +45,9 @@ h2{
justify-content: center;
align-items: center;
text-align: center;
gap: 1.2rem;
gap: 2rem;
text-decoration: none;
padding: 0 0.8rem !important;
padding: 0 0.2rem !important;
list-style: none;
}
.nav-link{
@ -56,6 +56,7 @@ h2{
font-size: 17px;
line-height: 22px;
color: #2B2A29 !important;
padding: 0.5rem 0.1rem;
}
.header .appointment-btn{
text-decoration: none;
@ -64,13 +65,13 @@ h2{
padding: 10px 1rem;
border-radius: 20px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
font-weight: 600;
font-size: 16px;
font-weight: 500;
font-size: 17px;
line-height: 22px;
}
.header .appontment-btn:hover{
background: #E32394;
transition: all 250ms ease-in-out;
.header .appointment-btn:hover{
background-color: #E32394;
transition: background-color 1s ease-out 100ms;
}
.nav-link:hover,
.nav-link:active {
@ -122,6 +123,7 @@ h2{
top: 100%;
animation: fadeInUp 500ms;
padding: 0;
left: -25px;
}
.dropdown-menu a{
font-size: 1rem;
@ -246,7 +248,7 @@ Responsive Codes
.top-links{
display: flex;
align-items: center;
gap: 0.8rem;
gap: 1.8rem;
color: #000000;
margin-right: 0;
}
@ -259,7 +261,17 @@ Responsive Codes
.top-socials a{
font-size: 24px;
}
.top-links a,
.top-links a{
color: #326CBF;
font-weight: bold;
font-size: 16px;
line-height: 24px;
text-decoration: none;
}
.top-links a:hover {
text-decoration: underline;
color: #d933a2;
}
.top-links h2{
text-decoration: none;
font-weight: 500;
@ -280,7 +292,7 @@ Responsive Codes
padding: 3rem 6rem;
position: absolute;
top: 20%;
width: 60%;
width: 50%;
}
.slider-content h2{
font-weight: 700;
@ -449,7 +461,9 @@ Responsive Codes
.faq-section,
.student-visa-section,
.services-page-section,
.appointment-section{
.appointment-section,
.enquiry-form-section,
.privacy-policy-section{
padding: 3rem 6rem;
}
.services-section .row,
@ -856,16 +870,40 @@ Responsive Codes
.scholarship-desc h1,
.scholarship-desc h3,
.career-counselling h3,
.visa-desc h3{
.visa-desc h3, .study-detail-desc h5{
color: #296AC7;
}
.universities-card{
.study-detail-desc h5{
font-weight: 600;
font-size: 22px;
margin-top: 30px;
margin-bottom: 0;
}
/* .universities-card{
background: #FFFFFF;
box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1);
border-radius: 8px;
text-align: center;
padding: 20px;
margin: 20px 0;
} */
.universities-card ul li{
list-style: none;
font-size:16px;
font-weight: 600;
line-height: 30px;
}
.universities-card ul li::before {
content: "\f00c";
color: #296AC7;
font-family: FontAwesome, sans-serif;
display: inline-block;
margin-right: 0.5em;
margin-left: -1.3em;
width: 1.3em;
}
.universities-card ul{
margin-top:15px;
}
.universities-card h5{
font-weight: 700;
@ -966,9 +1004,8 @@ Responsive Codes
color: #E22899;
font-family: FontAwesome, sans-serif;
display: inline-block;
margin-right: 0.5em;
margin-right: 0.4em;
margin-left: -1.3em;
width: 1.3em;
}
.visa-display-section{
margin-top: 40px;
@ -1040,14 +1077,18 @@ Responsive Codes
line-height: 2.6rem;
color: #FFFFFF;
}
.form-sec .form-control::placeholder{
.form-sec .form-control::placeholder,
.enquiry-form-section .form-control::placeholder,
.enquiry-form-section .form-select{
font-weight: 400;
font-size: 14px;
line-height: 26px;
color: #7B8792;
}
.form-sec .form-control{
background: #FFFFFF;
.form-sec .form-control,
.enquiry-form-row .form-control,
.enquiry-form-row .form-select{
background-color: #FFFFFF;
border: 1px solid #B1B1B1;
border-radius: 6px;
padding: 10px;
@ -1077,6 +1118,12 @@ Responsive Codes
line-height: 28px;
color: #0A2849;
}
.enquiry-form-row label{
margin-bottom: 8px;
font-weight: 400;
font-size: 16px;
line-height: 28px;
}
.contact-form .row,
.visa-display-section .row{
display: flex;
@ -1263,8 +1310,7 @@ Responsive Codes
/* blogs page css */
.article-card{
display: flex;
/* align-items: center; */
gap: 20px;
gap: 30px;
width: 100%;
}
.related-articles{
@ -1273,9 +1319,6 @@ Responsive Codes
gap: 30px;
height: 100%;
}
.article-img{
width: 500px;
}
.featured-article img,
.article-img img{
border-radius: 12px;
@ -1402,9 +1445,6 @@ Responsive Codes
flex-direction: column;
gap: 20px;
}
.recent-card-img{
width: 300px;
}
.recent-card-content{
display: flex;
gap: 20px;
@ -1446,6 +1486,16 @@ Responsive Codes
margin: 1rem 0;
justify-content: space-between;
}
.faq-section .accordion-button{
font-weight: bold;
font-size: 17px;
}
.faq-section .accordion{
margin-top:30px;
}
.faq-section .accordion-button:not(.collapsed) {
color: #296ac7;
}
.faq-section .accordion-button:focus{
box-shadow: none;
}
@ -1479,7 +1529,7 @@ Responsive Codes
flex-direction: column;
gap: 20px;
}
.appointment-card{
/* .appointment-card{
background-color: #E5F0FF;
display: flex;
align-items: center;
@ -1489,10 +1539,38 @@ Responsive Codes
padding: 10px 15px;
border-radius: 12px;
width: 360px;
} */
.appointment-section .btn-appointment{
display: flex;
align-items: center;
background-color: #E5F0FF;
text-decoration: none;
color: #000000;
padding: 10px 15px;
border-radius: 8px;
margin-bottom: 15px;
text-align: left;
}
.appointment-section .btn-appointment h2{
font-size: 20px;
font-weight: bold;
}
.appointment-section .appointment-pills .active{
background-color: #326cbf!important;
color: #fff!important;;
}
.appointment-card-img{
width: 40px;
padding:5px;
display: inline-block;
margin-right:8px;
}
.book-modal-info p{
color: #808080;
}
.appointment-section .nav-pills{
width:82%;
}
.appointment-card h3{
font-weight: bold;
@ -1544,7 +1622,6 @@ table.lightgrey-weekends tbody td:nth-child(n+6) {
}
.appointment-section h1{
color: #296AC7;
margin-bottom: 2rem;
}
.calender-section h3{
font-size: 18px;
@ -1563,7 +1640,6 @@ table.lightgrey-weekends tbody td:nth-child(n+6) {
.available-dates{
/* background: #f0f0f0; */
display: inline-block;
text-align: center;
justify-content: center;
color: #272626;
margin-top: 1rem;
@ -1574,11 +1650,11 @@ table.lightgrey-weekends tbody td:nth-child(n+6) {
border: 1px solid #e0ecfb;
color:#1a60c5;
padding: 10px 12px;
margin-left: 15px;
margin: 6px;
}
.available-dates button:nth-of-type(1){
/* .available-dates button:nth-of-type(1){
margin-left:0;
}
} */
.available-dates button, .appointment-section .modal-footer button{
transition: all 250ms ease-in-out;
}
@ -1590,8 +1666,136 @@ table.lightgrey-weekends tbody td:nth-child(n+6) {
.available-dates h5{
margin-bottom: 0;
}
.zabuto-calendar.table>thead>tr>th,
.zabuto-calendar.table>thead:first-child>tr:first-child>td {
color: #000000;
}
.zabuto-calendar.table>thead:first-child>tr:first-child>td{
pointer-events: all;
}
table.lightgrey-weekends tbody td:nth-child(n+6) {
background-color: #f3f3f3 !important;
color: #d30000;
pointer-events: none !important;
}
.event-colourful {
color: #d7d7d7 !important;
cursor: not-allowed;
}
.event-colourful .zabuto-calendar__day{
pointer-events: none;
}
.event-clickable{
pointer-events: all !important;
color: #000000;
cursor: pointer;
background-color: #ecf4ff !important;
}
.event-clickable.active{
background-color: #27ab00 !important;
}
/* appointment page css ends */
/* enquiry page css starts */
.enquiry-from-btn{
padding: 15px 60px;
background: #326CBF;
color: #FFFFFF;
box-shadow: 0px 0px 10px rgb(0 0 0 / 15%);
border: none;
font-weight: 500;
font-size: 16px;
line-height: 22px;
border-radius: 6px;
margin-top: 35px;
}
.enquiry-from-btn:hover{
background-color: #E32394;
transition: background-color 1s ease-out 100ms;
}
.form-select .select-placeholder{
color: #000000;
}
.enquiry-form-row h3{
font-weight: 600;
color: #212529;
margin: 10px 0;
text-align: center;
font-size: 24px;
letter-spacing: 0.001em;
display: inline-block ;
}
.enquiry-form-row h3::after{
content: '';
border-bottom: 2px solid #212529;
margin: 0.5% 45%;
justify-content: center;
display: block;
}
.enquiry-form-section h2{
font-weight: 700;
text-align: center;
font-size: 36px;
line-height: 48px;
letter-spacing: 0.005em;
color: #326CBF;
}
.enquiry-form-section p{
text-align: center;
}
#spouse-married-date,
#spouse-academic,
#spouse-experience,
#spouse-salary,
#work-exp-detail,
#work-salary-mode{
display: none;
}
.married{
display: block !important;
}
.enquiry-form-section .form-control:focus,
.enquiry-form-section .form-select:focus{
box-shadow: none;
border-color: none;
}
.error{
color: red;
font-size: 14px;
line-height: 1.8rem;
}
/* enquiry page css ends */
/* privacy policy css starts */
.privacy-policy-section h1{
font-weight: 700;
text-align: center;
font-size: 36px;
line-height: 48px;
letter-spacing: 0.005em;
color: #326CBF;
margin-bottom: 1rem;
}
.privacy-policy-section ul li{
list-style: none;
color:#353030;
padding: 5px;
}
.privacy-policy-section ul li::before{
content: "\f058";
color: #326CBF;
font-family: FontAwesome;
display: inline-block;
margin-right: 0.6em;
margin-left: -1.3em;
width: 1.3em;
}
.definition-policy,
.personal-policy,
.contact-policy{
background: #eff2f4;
padding: 2rem;
margin-bottom: 40px;
}
/* privacy policy css ends */
/* Footer Css */
.footer{
background: #296AC7;
@ -1776,23 +1980,23 @@ table.lightgrey-weekends tbody td:nth-child(n+6) {
transition: all 200ms ease-in-out;
}
.fa-facebook:hover{
color: #4267B2;
color: #A9C5ED;
}
.fa-twitter:hover{
color: #1DA1F2;
color: #A9C5ED;
}
.fa-linkedin:hover{
color: #0077B5;
color: #A9C5ED;
}
.fa-instagram:hover {
color: #d6249f;
color: #A9C5ED;
/* background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%) !important;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent !important; */
}
.fa-linkedin-in:hover{
color: #0e76a8;
color: #d6249f;
}
.box{
width: 50px;
@ -1833,6 +2037,9 @@ table.lightgrey-weekends tbody td:nth-child(n+6) {
.displayBtn{
display: block;
}
.displayEnqBtn{
display: inline-block;
}
/* Footer Css */
/* mobile view css */
@media only screen and (min-width: 320px) and (max-width: 480px) {
@ -1840,10 +2047,13 @@ table.lightgrey-weekends tbody td:nth-child(n+6) {
font-size: 28px;
line-height: 38px;
}
h2 {
h2,
.featured-article h2,
.blog-detail-desc h2,
.visa-content h3 {
font-weight: 600;
font-size: 22px;
line-height: 38px;
line-height: 34px;
}
#topbar{
padding: 0.5rem 0;
@ -1927,7 +2137,9 @@ table.lightgrey-weekends tbody td:nth-child(n+6) {
.lets-chat-section,
.blog-banner,
.overseas-section,
.services-page-section{
.services-page-section,
.enquiry-form-section,
.privacy-policy-section{
padding: 2rem;
}
.contact-form-section,
@ -2024,6 +2236,28 @@ table.lightgrey-weekends tbody td:nth-child(n+6) {
.service-page-card{
min-height: 20pc;
}
.study-detail-desc h5{
margin-bottom: 15px;
}
.universities-card ul{
margin:0;
}
.universities-card ul:nth-last-of-type(4){
margin-bottom:20px;
}
.faq-section .accordion-button{
line-height: 27px;
align-items: flex-start;
}
.faq-section .accordion-button, .accordion-body{
line-height: 27px;
}
.appointment-section{
padding:2rem;
}
.appointment-section .nav-pills {
width: 96%;
}
}
/* mobile view css end */
/* ipad, tablets screen css */
@ -2096,7 +2330,9 @@ table.lightgrey-weekends tbody td:nth-child(n+6) {
.our-values-section,
.blog-banner,
.overseas-section,
.services-page-section{
.services-page-section,
.enquiry-form-section,
.privacy-policy-section{
padding: 3rem;
}
.services-content h1,
@ -2188,7 +2424,9 @@ table.lightgrey-weekends tbody td:nth-child(n+6) {
.lets-chat-section,
.our-values-section,
.overseas-section,
.services-page-section{
.services-page-section,
.enquiry-form-section,
.privacy-policy-section{
padding: 3rem;
}
.why-us-section::before,
@ -2255,24 +2493,41 @@ table.lightgrey-weekends tbody td:nth-child(n+6) {
}
/* Desktops, large screens css ends */
/* Extra large screens, TV css */
@media only screen and (min-width: 1201px) and (max-width: 1220px) {
@media only screen and (min-width: 1201px) and (max-width: 1240px) {
.navbar-list{
gap: 0.5rem;
}
.header .appointment-btn,
.nav-link{
font-size: 14px;
}
}
@media only screen and (min-width: 1241px) and (max-width: 1360px) {
.navbar-list{
gap: 0.5rem;
}
.header .appointment-btn,
.nav-link{
font-size: 15px;
}
}
/* Extra large screens, TV css ends */
@media only screen and (min-width: 1201px) and (max-width: 1440px) {
@media only screen and (min-width: 1360px) and (max-width: 1440px) {
.navbar-list{
gap: 1rem;
}
.review-card{
min-height: 37pc;
}
.values-lists a{
padding: 15px 15px 15px 0;
}
}
@media only screen and (min-width: 1440px) and (max-width: 1460px) {
.navbar-list{
gap: 1rem;
}
}
@media only screen and (min-width: 1440px) and (max-width: 1560px) {
.review-card{
min-height: 37pc;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

@ -0,0 +1,12 @@
<svg width="66" height="66" viewBox="0 0 66 66" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M51.0779 47.1385C51.0779 47.1385 43.2868 54.45 32.9846 54.45C22.6824 54.45 14.8965 47.1385 14.8965 47.1385C14.8965 47.1385 13.4476 40.1827 17.191 28.1738C19.1658 21.8419 47.2674 21.1974 49.4691 26.7352C53.2126 36.135 51.0779 47.1385 51.0779 47.1385Z" fill="#C31780"/>
<path d="M14.8963 47.1385L17.3661 49.1185C17.3661 49.1185 17.3455 45.1997 18.5572 41.5439C19.011 40.1775 20.63 39.6052 21.8469 40.3735L31.2777 46.2877C31.7947 46.6114 32.3914 46.7852 33.0014 46.7898C33.6113 46.7943 34.2106 46.6294 34.7324 46.3135C39.2389 43.5806 50.9952 36.4289 51.5314 35.9906C51.5314 35.9906 51.5314 35.1089 51.3097 33.9849L14.7622 34.0313L14.8963 47.1385Z" fill="#AA2376"/>
<path d="M63.3238 26.828L34.0363 44.2716C33.3969 44.6531 32.5977 44.6531 31.9531 44.2716L2.67596 26.828C1.86127 26.3433 1.86127 25.1625 2.67596 24.6778L31.9635 7.23423C32.6028 6.85267 33.4021 6.85267 34.0466 7.23423L63.3341 24.6778C64.1436 25.1625 64.1436 26.3433 63.3238 26.828Z" fill="#E22899"/>
<path d="M33.0206 42.9928C33.0155 42.9928 33.0052 42.998 33 42.998C32.9175 42.998 32.835 42.9773 32.7628 42.9309L2.15533 25.2863C2.15533 25.2863 2.00579 25.5698 2.15533 26.0803C2.31001 26.5908 2.5472 26.7558 2.67611 26.8331L31.9636 44.2767C32.2833 44.4675 32.6442 44.5655 33.0052 44.5655H33.0258V42.9928H33.0206Z" fill="#F266BB"/>
<path d="M32.9998 42.9928C33.0049 42.9928 33.0153 42.998 33.0204 42.998C33.1029 42.998 33.1854 42.9773 33.2576 42.9309L63.8651 25.2863C63.8651 25.2863 64.0146 25.5698 63.8651 26.0803C63.7104 26.5908 63.4732 26.7558 63.3443 26.8331L34.0568 44.2767C33.7371 44.4675 33.3762 44.5655 33.0153 44.5655H32.9946V42.9928H32.9998Z" fill="#C41780"/>
<path d="M18.2788 36.1247L18.4438 34.6758C18.4438 34.6758 31.0818 27.8025 32.3296 27.0806C33.5774 26.3587 34.8871 25.5544 35.4697 24.9098C36.501 23.7755 35.7585 23.0639 35.7585 23.0639C35.7585 23.0639 34.9438 24.3839 32.9999 24.1519C31.8862 24.0178 30.4372 23.1155 30.1949 22.6926C29.9526 22.2698 15.9276 32.9536 15.9276 32.9536L15.8296 34.6706L18.2788 36.1247Z" fill="#AA2376"/>
<path d="M35.7585 23.069C34.4075 24.9562 32.1182 24.1312 32.1182 24.1312C32.1182 24.1312 24.9458 27.5704 24.6777 27.0497C24.4096 26.5289 30.6022 23.3423 30.6022 23.3423C30.6022 23.3423 30.2568 22.0739 30.2929 21.5325C30.2929 21.5325 19.0935 28.6584 14.8911 31.0561C12.6894 32.3142 12.2202 33.5001 12.2253 35.1708C12.2253 35.9029 12.2357 38.28 12.246 39.6979C12.246 39.9609 12.1325 40.2084 11.9314 40.3734C11.627 40.6229 11.3816 40.9369 11.2131 41.2926C11.0446 41.6484 10.9571 42.0371 10.9569 42.4308C10.9569 43.2197 11.3024 43.9261 11.8489 44.4159C12.1428 44.6789 12.081 45.2461 12.1068 45.6122C12.1583 46.3134 12.1068 46.6331 11.818 47.2828C11.5344 47.917 11.2714 48.5667 11.091 49.237C10.9518 49.7526 10.8589 50.2837 10.7661 50.8097C10.1525 54.3314 9.8741 58.0954 8.24988 61.3336C8.21929 61.3941 8.20103 61.4601 8.19615 61.5277C8.19127 61.5953 8.19988 61.6633 8.22146 61.7275C8.24305 61.7918 8.27719 61.8512 8.3219 61.9021C8.36661 61.9531 8.421 61.9947 8.48191 62.0245C8.60438 62.0863 8.74633 62.0971 8.87675 62.0546C9.00717 62.0121 9.11548 61.9197 9.17801 61.7976C10.0236 60.1115 10.4619 58.2656 10.8228 56.4351C10.8022 58.0903 10.7919 59.7609 10.7352 61.5656C10.7249 61.9162 10.6991 62.6226 11.0188 62.7773C12.2202 63.36 12.2202 61.5656 12.2202 61.5656C12.2202 61.5656 12.2357 63.1795 13.8702 63.1795C15.5047 63.1795 15.6233 61.5656 15.6233 61.5656C15.6233 61.5656 15.7419 63.0454 16.5824 62.9733C16.9227 62.9423 17.3713 62.7361 17.2114 60.9675C17.0516 59.204 16.6546 52.8825 16.4844 50.8818C16.2472 48.1129 15.3397 46.4681 15.1541 45.4884C15.0871 45.1172 15.0819 44.7304 15.3758 44.4881C15.6749 44.243 15.9171 43.9357 16.0855 43.5875C16.2538 43.2394 16.3443 42.8587 16.3507 42.4721C16.3571 42.0854 16.2792 41.702 16.1224 41.3485C15.9656 40.9949 15.7337 40.6798 15.4428 40.425C15.3394 40.3346 15.2585 40.2214 15.2066 40.0943C15.1547 39.9672 15.1332 39.8297 15.1438 39.6928C15.2418 38.3573 15.35 36.4186 15.4377 35.97C15.8193 33.9539 16.8144 33.5929 17.8354 32.9948C18.8563 32.3915 33.6444 25.6781 34.5055 25.1058C36.0988 24.0384 35.7585 23.069 35.7585 23.069Z" fill="#E2A610"/>
<path d="M35.7588 23.069C34.4852 24.8686 31.8401 24.0642 31.8401 24.0642C31.8401 24.0642 25.0802 27.06 25.5288 26.5186C25.9722 25.9772 30.6026 23.3423 30.6026 23.3423C30.6026 23.3423 30.2571 22.0739 30.2932 21.5325C30.2932 21.5325 18.8979 28.117 14.479 31.2829C13.3394 32.1028 11.9266 33.4434 13.0765 34.7789C13.6076 35.3925 14.6337 35.5214 15.2885 35.0367C15.6855 34.7479 15.9949 34.3251 16.3455 33.99C16.7787 33.5672 17.3046 33.299 17.8202 32.9948C18.8412 32.3915 33.6293 25.6781 34.4904 25.1058C36.0991 24.0384 35.7588 23.069 35.7588 23.069Z" fill="#FFCA28"/>
<path d="M13.4628 47.3653C12.7822 47.3653 12.3232 47.3086 11.9056 47.2106C11.8311 47.1936 11.7652 47.1504 11.7197 47.0889C11.6743 47.0274 11.6525 46.9517 11.6581 46.8755L11.7922 44.9058C11.8076 44.7047 11.9984 44.5655 12.1943 44.6222C12.6584 44.7563 13.5865 44.8903 15.1025 44.5706C15.2881 44.5294 15.4737 44.6583 15.4943 44.8491L15.7006 46.8084C15.7161 46.9683 15.6129 47.1178 15.4582 47.1539C14.6693 47.3344 14.097 47.3653 13.4628 47.3653Z" fill="#9E740B"/>
<path d="M51.0777 47.1385C51.0777 47.1385 51.9904 42.3741 51.6243 37.3055C51.5624 36.4496 51.0365 35.7122 50.6291 38.708C50.3971 40.425 49.8918 45.5658 49.0307 48.7781C50.3455 47.8294 51.0777 47.1385 51.0777 47.1385ZM33.8919 18.9699C34.2683 19.0885 34.6138 19.3772 34.7118 19.7639C34.8407 20.2796 34.5158 20.7952 34.1652 21.1974C33.4794 21.9863 32.5358 22.6772 31.4891 22.6411C31.1436 22.6308 30.7724 22.5174 30.561 22.2441C30.4115 22.0533 30.3599 21.8058 30.3444 21.5635C30.2516 19.7949 32.2522 18.4542 33.8919 18.9699Z" fill="#FF55BC"/>
</svg>

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

@ -1,12 +1,12 @@
@extends('layout.app')
@section('title')
<title>About Us</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="description" content="{{strip_tags($about->sub_description)}}">
<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."/>
<meta property="og:image" content="{{url('frontend/images/about-banner.png')}}"/>
<meta property="og:title" content="About Us"/>
<meta property="og:description" content="{{strip_tags($about->sub_description)}}"/>
@endsection
@section('content')
<section class="about-header-section">
@ -71,33 +71,32 @@
<div class="row gx-5">
<div class="col-md-6">
<div class="values-left">
<p>
We work with you to turn your plan to study overseas into a launch pad for professional success and personal growth.
ET Education combines experience and technology to help you make the most informed decision possible.
<p id="values-text">
At ET Education, we prioritise transparent communication, fair pricing, and simplified procedures to ensure our students and clients have a stress-free experience as they work towards their educational and immigration aspirations.
</p>
<div class="values-img">
<img src="{{url('frontend/images/about/tranprancy.jpg')}}" class="img-fluid" id="values-img" alt="">
<img src="{{url('frontend/images/about/tranprancy.jpg')}}" class="w-100" id="values-img" alt="">
</div>
</div>
</div>
<div class="col-md-6">
<div class="values-lists">
<a onclick="changeImg('{{url('frontend/images/about/tranprancy.jpg')}}','{{1}}')" id="values-link{{1}}" class="link-active">
<a onclick="changeImg('{{url('frontend/images/about/tranprancy.jpg')}}','At ET Education, we prioritise transparent communication, fair pricing, and simplified procedures to ensure our students and clients have a stress-free experience as they work towards their educational and immigration aspirations.','{{1}}')" id="values-link{{1}}" class="link-active">
<h2>Transparency</h2>
</a>
<a onclick="changeImg('{{url('frontend/images/about/Commitment.jpg')}}','{{2}}')" id="values-link{{2}}">
<a onclick="changeImg('{{url('frontend/images/about/Commitment.jpg')}}','We are committed to providing exceptional education and visa services to students. With a team of experienced professionals, they ensure personalised guidance to help students achieve their academic and career goals.','{{2}}')" id="values-link{{2}}">
<h2>Commitment</h2>
</a>
<a onclick="changeImg('{{url('frontend/images/about/professionlaiosn-1.jpg')}}','{{3}}')" id="values-link{{3}}">
<a onclick="changeImg('{{url('frontend/images/about/professionlaiosn-1.jpg')}}','We work with you to turn your plan to study overseas into a launch pad for professional success and personal growth. ET Education combines experience and technology to help you make the most informed decision possible.','{{3}}')" id="values-link{{3}}">
<h2>Professionalism</h2>
</a>
<a onclick="changeImg('{{url('frontend/images/about/realiability.jpg')}}','{{4}}')" id="values-link{{4}}">
<a onclick="changeImg('{{url('frontend/images/about/realiability.jpg')}}','We are a reliable choice for students seeking assistance with education and visa services.  Our commitment to ethical and transparent practices, combined with expertise and experience, ensures that students can trust us to provide high-quality support throughout their journey.','{{4}}')" id="values-link{{4}}">
<h2>Reliability</h2>
</a>
<a onclick="changeImg('{{url('frontend/images/about/Integrity.jpg')}}','{{5}}')" id="values-link{{5}}">
<a onclick="changeImg('{{url('frontend/images/about/Integrity.jpg')}}','We believe in conducting ourselves ethically and having integrity in every aspect of our service. We believe in complete transparency in our communication, are committed to our student’s needs, and strive to achieve the best possible outcome in our every endeavour.','{{5}}')" id="values-link{{5}}">
<h2>Integrity</h2>
</a>
<a onclick="changeImg('{{url('frontend/images/about/trusthworthy.jpg')}}','{{6}}')" id="values-link{{6}}">
<a onclick="changeImg('{{url('frontend/images/about/trusthworthy.jpg')}}','At ET Education, we continuously strive to provide credible and trustworthy counselling to students worldwide to help them further their academic and professional growth in Australia. And in doing so, we always keep our customer’s welfare and satisfaction at the centre.','{{6}}')" id="values-link{{6}}">
<h2>Trustworthy</h2>
</a>
</div>
@ -114,7 +113,7 @@
@endsection
@section('script')
<script>
function changeImg(img, id){
function changeImg(img, para, id){
if ($('.link-active').length > 0) {
pre_id = $('.link-active')[0]['id'];
myId = document.getElementById(pre_id);
@ -124,7 +123,9 @@
var link = document.getElementById("values-link"+ id);
link.classList.add("link-active")
var image = document.getElementById('values-img');
image.src=img
var paragraph = document.getElementById('values-text');
image.src=img;
paragraph.innerHTML=para;
}
</script>
@endsection

@ -13,7 +13,6 @@
</div><!-- /.container-fluid -->
</section>
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<!-- SELECT2 EXAMPLE -->
@ -59,14 +58,16 @@
<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')}}">
<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>
<input type="text" class="form-control" id="inputPassword3" name="keyword"
value="{{ old('keyword') }}" required>
</div>
</div>
<div class="col-md-6">
@ -87,7 +88,9 @@
<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>
<option value="{{ $in }}"
{{ old('status') == $in ? 'selected' : '' }}>
{{ $val }}</option>
@endforeach
</select>
@ -110,47 +113,38 @@
@section('script')
<script>
ClassicEditor
.create( document.querySelector( '#body' ),
{
.create(document.querySelector('#body'), {
ckfinder: {
uploadUrl: '{{ route('image.upload') . '?_token=' . csrf_token() }}',
}
})
ClassicEditor
.create( document.querySelector( '#body1' ),
{
.create(document.querySelector('#body1'), {
ckfinder: {
uploadUrl: '{{ route('image.upload') . '?_token=' . csrf_token() }}',
}
})
ClassicEditor
.create( document.querySelector( '#body2' ),
{
.create(document.querySelector('#body2'), {
ckfinder: {
uploadUrl: '{{route('image.upload').'?_token='.csrf_token()}}', }
uploadUrl: '{{ route('image.upload') . '?_token=' . csrf_token() }}',
}
})
ClassicEditor
.create( document.querySelector( '#body3' ),
{
.create(document.querySelector('#body3'), {
ckfinder: {
uploadUrl: '{{route('image.upload').'?_token='.csrf_token()}}', }
uploadUrl: '{{ route('image.upload') . '?_token=' . csrf_token() }}',
}
})
ClassicEditor
.create( document.querySelector( '#body4' ),
{
.create(document.querySelector('#body4'), {
ckfinder: {
uploadUrl: '{{route('image.upload').'?_token='.csrf_token()}}', }
})
.catch( error =>
{ console.error( error );
uploadUrl: '{{ route('image.upload') . '?_token=' . csrf_token() }}',
}
);
})
.catch(error => {
console.error(error);
});
</script>
@endsection

@ -42,19 +42,19 @@
<div class="col-md-6">
<div class="form-group">
<label> Date <span style="color: red";> * </span> </label>
<input type="date" class="form-control" id="inputPassword3" name="date" value="{{$appointment->date}}" required>
<input type="date" class="form-control" id="inputPassword3" name="date" value="{{$appointment->date}}" required/>
</div>
</div>
<div class="col-md-6" >
<div class="form-group" >
<label>Start Time <span style="color: red";> * </span></label>
<input type="time" name="start_time" class="form-control" required value = "{{$appointment->start_time}}"/>
<input type="time" name="start_time" class="form-control" value = "{{$appointment->start_time}}" required/>
</div>
</div>
<div class="col-md-6" >
<div class="form-group" >
<label>End Time <span style="color: red";> * </span></label>
<input type="time" name="end_time" class="form-control" required value = "{{$appointment->end_time}}"/>
<input type="time" name="end_time" class="form-control" value = "{{$appointment->end_time}}" required/>
</div>
</div>
<div class="col-md-6">

@ -21,7 +21,7 @@
<div class="col-md-12">
<div class="card">
<div class="card-header">
<h3 class="card-title">Appointments</h3>
<h3 class="card-title">{{ $service }} Appointments</h3>
<div class="card-tools">
<a class="btn btn-green" href="{{url('admin/appointments/create')}}" role="button">Create</a>
</div>
@ -35,19 +35,29 @@
<div class="row">
<div class="col-md-4">
<div class="input-group input-group-sm mb-3 table-search w-100">
<input type="search" name="date" class="form-control ds-input" placeholder="Date" aria-label="Small" aria-describedby="inputGroup-sizing-sm" onchange="filterList()">
<input type="date" name="date" value = "{{ $date ?? null }}" class="form-control ds-input" placeholder="Date" aria-label="Small" aria-describedby="inputGroup-sizing-sm" onchange="filterList()">
</div>
</div>
<div class="col-md-4">
<div class="input-group input-group-sm mb-3 table-search w-100">
<select name="is_booked" class="form-control ds-input" onchange="filterList()">
<option value="" {{ is_null($is_booked) ? 'selected' : '' }} disabled >Filter By Booking Status</option>
<option {{ $is_booked ? 'selected' : '' }} value="1">Booked</option>
<option {{ (!is_null($is_booked) && !$is_booked) ? 'selected' : '' }} value="2">Open</option>
</select>
</div>
</div>
<div class="col-md-4">
<div class="input-group input-group-sm mb-3 table-search w-100">
<select name="status" class="form-control ds-input" onchange="filterList()">
<option value="" disabled selected>Search By Status</option>
<option value="" disabled selected>Filter By Status</option>
@foreach(config('custom.status') as $in => $val)
<option value="{{$in}}">{{$val}}</option>
<option value="{{$in}}" {{($status ==$in) ? 'selected':''}} >{{$val}}</option>
@endforeach
</select>
</div>
</div>
</div>
</form>
@ -55,9 +65,11 @@
<thead>
<tr>
<th style="width: 10px">S.N.</th>
<th style="width: 10px">Service Type</th>
<th class="text-center">Date</th>
<th class="text-center">Start Time</th>
<th class="text-center">End Time</th>
<th class="text-center">Booking Status</th>
<th class="text-center">Action</th>
</tr>
</thead>
@ -65,13 +77,22 @@
@foreach($appointments as $setting)
<tr>
<th scope="row">{{$loop->iteration}}</th>
<td class="text-center">{{config('custom.service_type')[$setting->service_type]}}</td>
<td class="text-center">{{$setting->date}}</td>
<td class="text-center">{{$setting->start_time}}</td>
<td class="text-center">{{$setting->end_time}}</td>
@if($setting->is_booked)
<td class="text-center"><span class="badge booked text-bg-secondary">Booked</span></td>
@else
<td class="text-center"><span class="badge notbooked text-bg-secondary">Open</span></td>
@endif
<td class="d-flex justify-content-center action-icons">
@if($setting->appointment_booking_detail()->count() > 0)
<a href="{{url('admin/appointments/'.$setting->id.'/view')}}" class="btn btn-sm" data-bs-toggle="tooltip" data-bs-placement="top" title="view">
<i class="fa-solid fa-eye"></i>
</a>
@endif
<a href="{{url('admin/appointments/'.$setting->id.'/edit')}}" class="btn btn-sm" data-bs-toggle="tooltip" data-bs-placement="top" title="edit">
<i class="fas fa-pencil-alt"></i>
</a>

@ -19,7 +19,7 @@
<!-- SELECT2 EXAMPLE -->
<div class="card card-default">
<div class="card-header">
<h3 class="card-title">Applicant</h3>
<h3 class="card-title">Appointment Details</h3>
<a href="{{url('admin/applicants')}}" class="btn btn-green back-button active" role="button" aria-pressed="true">List</a>
</div>
<div class="card-body">
@ -27,60 +27,55 @@
@include('errors.error')
<div class="row">
<div class="col-md-12">
<div class="col-md-12 mt-4">
<label for="service_name" style="font-weight: bold; font-size: 20px; color: #DD6227">Booking Details</label></br>
<ul class="contact-info">
<li class="d-flex">
<span>Appointment Date: </span>
<span>{{$appointment->date}}</span>
</li>
<li class="d-flex">
<span>Appointment Start Time: </span>
<span>{{$appointment->start_time}}</span>
</li>
<li class="d-flex">
<span>Appointment End Time: </span>
<span>{{$appointment->end_time}}</span>
</li>
</ul>
</div>
<div class="col-md-12">
<label for="service_name" style="font-weight: bold; font-size: 20px; color: #DD6227">Applicant Details</label></br>
<ul class="contact-info">
@php $appointment_detail = $appointment->appointment_booking_detail; @endphp
<li class="d-flex">
<span>Full Name:</span>
<span>{{$applicants->name}}</span>
<span>{{$appointment_detail->name}}</span>
</li>
<li class="d-flex">
<span>Email:</span>
<span>{{$applicants->email}}</span>
<span>{{$appointment_detail->email}}</span>
</li>
<li class="d-flex">
<span>Phone:</span>
<span>{{$applicants->phone}}</span>
<span>{{$appointment_detail->phone}}</span>
</li>
<li class="d-flex">
<span>State:</span>
<span>{{config('custom.states')[$applicants->state]}}</span>
</li>
</ul>
</div>
<div class="col-md-12 mt-4">
<label for="service_name" style="font-weight: bold; font-size: 20px; color: #DD6227">Interested Areas</label></br>
<ul class="contact-info">
<li class="d-flex">
<span>Sevices:</span>
<span>
@foreach($applicants->applicant_service as $service)
{{App\Models\Service::find($service->service_id)->name}}<br />
@endforeach
</span>
</li>
<li class="d-flex">
<span>Message: </span>
<span>{{$applicants->message}}</span>
<span>Notes:</span>
<span>{{$appointment_detail->notes}}</span>
</li>
<li class="d-flex">
<span>Resume: </span>
<a target = "_blank" href="{{url($applicants->resume)}}" class="d-flex">
<!-- <div class="profile-icon mr-2">
<img src="{{url('admin/images/view-icon.png')}}" alt="">
</div> -->
<p>View Resume</p>
</a>
<!-- <span>{{url($applicants->resume)}}</span> -->
</li>
</ul>
</div>
</div>
</div>

@ -1,157 +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">
<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

@ -1,203 +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">
<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

@ -1,116 +0,0 @@
@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

@ -1,148 +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">
<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

@ -20,30 +20,27 @@
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header">
<h3 class="card-title">Referrals</h3>
<div class="card-header d-flex flex-column">
<h3 class="card-title">Enquiries</h3>
<div class="card-tools">
{{-- <a class="btn btn-green" href="{{url('admin/projects/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="col-md-4">
<div class="input-group input-group-sm mb-3 table-search w-100">
<input type="search" name="name" class="form-control ds-input" placeholder="Name" aria-label="Small" aria-describedby="inputGroup-sizing-sm" onchange="filterList()">
<input type="search" name="name" class="form-control ds-input" placeholder="Search by first name" aria-label="Small" aria-describedby="inputGroup-sizing-sm" onchange="filterList()">
</div>
</div>
<div class="col-md-4">
<div class="input-group input-group-sm mb-3 table-search w-100">
<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>
<input type="search" name="email" class="form-control ds-input" placeholder="Search by email" aria-label="Small" aria-describedby="inputGroup-sizing-sm" onchange="filterList()">
</div>
</div>
</div>
@ -53,40 +50,36 @@
<thead>
<tr>
<th style="width: 10px">S.N.</th>
<th class="text-center">Participant Name</th>
<th class="text-center">Mobile</th>
<th class="text-center">Suburb</th>
<th class="text-center">Full Name</th>
<th class="text-center">Birth Date</th>
<th class="text-center">Email</th>
<th class="text-center">Phone</th>
<th class="text-center">Action</th>
</tr>
</thead>
<tbody>
@foreach($settings as $setting)
@foreach($enquiries as $enquiry)
<tr>
<th scope="row">{{$loop->iteration}}</th>
<td class="text-center">{{$setting->name}}</td>
<td class="text-center">{{$setting->mobile_no}}</td>
<td class="text-center">{{$setting->suburb}}</td>
<!-- <td class="text-center">
<a class="btn btn-primary btn-sm" href="{{url('admin/referrals/'.$setting->id.'/view')}}">
<i class="fas fa-folder">
</i>
View
</a>
</td> -->
<td class="text-center">{{$enquiry->first_name . ' ' .(!is_null($enquiry->middle_name) ? $enquiry->middle_name .' ' :''). $enquiry->last_name}}</td>
<td class="text-center">{{$enquiry->dob}}</td>
<td class="text-center">{{$enquiry->email}}</td>
<td class="text-center">{{$enquiry->phone}}</td>
<td class="d-flex justify-content-center action-icons">
<a href="{{url('admin/referrals/'.$setting->id.'/view')}}" class="btn btn-sm" data-bs-toggle="tooltip" data-bs-placement="top" title="view">
<a href="{{url('admin/enquiries/'.$enquiry->id.'/view')}}" class="btn btn-sm" data-bs-toggle="tooltip" data-bs-placement="top" title="view">
<i class="fa-solid fa-eye"></i>
</a>
<a href="{{url('admin/enquiries/'.$enquiry->id.'/delete')}}" class="btn btn-sm" data-bs-toggle="tooltip" data-bs-placement="top" title="delete" onclick="return confirm('Are you sure you want to delete?');">
<i class="fas fa-trash"></i>
</td>
</tr>
@endforeach
</tbody>
</table>
<div class="pagination-default" style="margin-top: 30px;">
{!! $settings->links() !!}
<div class="pagination-default" style="margin-top: 10px;">
{!! $enquiries->links() !!}
</div>
</div>

@ -0,0 +1,22 @@
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

@ -0,0 +1,165 @@
@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

@ -12,7 +12,7 @@
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="#">Home</a></li>
<li class="breadcrumb-item active">Agility Homecare Dashboard</li>
<li class="breadcrumb-item active">ET Education | Visas Dashboard</li>
</ol>
</div><!-- /.col -->
</div><!-- /.row -->
@ -29,8 +29,8 @@
<!-- small box -->
<div class="small-box bg-info">
<div class="inner">
<h3>{{$service-> count()}}</h3>
<p>Service</p>
<h3>{{ $visa_service->count() }}</h3>
<p>Visa Service</p>
</div>
<div class="icon">
<i class="fa-solid fa-headset"></i>
@ -38,49 +38,50 @@
<a href="#" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
<div class="col-lg-3 col-6">
<!-- small box -->
<div class="small-box bg-success">
<div class="small-box bg-info">
<div class="inner">
<h3>2</h3>
<p>Total Number of Referral</p>
<h3>{{ $education_service->count() }}</h3>
<p>Education Service</p>
</div>
<div class="icon">
<i class="fa-solid fa-user-group"></i>
<i class="fa-solid fa-headset"></i>
</div>
<a href="referrals" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
<a href="#" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
<div class="col-lg-3 col-6">
<!-- small box -->
<div class="small-box bg-warning">
<div class="small-box bg-success">
<div class="inner">
<h3>{{$contact -> count()}}</h3>
<p>Total Number of Contact</p>
<h3>{{ $enquiry->count() }}</h3>
<p>Total Number of Enquiries</p>
</div>
<div class="icon">
<i class="fa-solid fa-address-book"></i>
<i class="fa-solid fa-user-group"></i>
</div>
<a href="contacts" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
<a href="enquiries" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
<div class="col-lg-3 col-6">
<!-- small box -->
<div class="small-box bg-danger">
<div class="small-box bg-warning">
<div class="inner">
<h3>{{$subscription -> count()}}</h3>
<p>Number of Subscription</p>
<h3>{{$contact->count()}}</h3>
<p>Total Number of Contacts</p>
</div>
<div class="icon">
<i class="fa-solid fa-hand-pointer"></i>
<i class="fa-solid fa-address-book"></i>
</div>
<a href="subscriptions" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
<a href="contacts" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
<!-- ./col -->
</div>
<!-- /.row -->
<!-- Main row -->

@ -6,6 +6,7 @@
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>ET-Education | Admin Dashboard</title>
<link rel="icon" href="{{url('frontend/icons/favicon.ico')}}">
<!-- Google Font: Source Sans Pro -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
{!! Html::style('admin/plugins/fontawesome-free/css/all.min.css') !!}
@ -190,6 +191,14 @@
relative_urls : false,
});
}
$(document).ready(function(){
$("#myAppointmentBtn").click(function(){
$("#myAppointment").collapse("toggle");
var x = document.getElementById('icon-toggle-appointment');
x.classList.toggle("fa-angle-down");
});
});
// initTinymce();
</script>

@ -102,9 +102,6 @@
</a>
</li>
<li class="nav-item">
<a href="{{url('admin/about_us')}}" class="nav-link {{(Request::segment(2) == 'about_us') ? 'active' : ''}}">
<i class="fa-solid fa-users"></i>
@ -116,7 +113,7 @@
<li class="nav-item">
<a href="{{url('admin/pages')}}" class="nav-link {{(Request::segment(2) == 'pages') ? 'active' : ''}}">
<i class="fa fa-quote-right" aria-hidden="true"></i>
<i class="fa-regular fa-folder-open"></i>
<p>
Pages
</p>
@ -125,21 +122,36 @@
<li class="nav-item">
<a href="{{url('admin/blogs')}}" class="nav-link {{(Request::segment(2) == 'news_and_updates') ? 'active' : ''}}">
<i class="fa fa-quote-right" aria-hidden="true"></i>
</i><i class="fa-solid fa-blog" aria-hidden="true"></i>
<p>
Blogs
</p>
</a>
</li>
<li class="nav-item">
<a href="{{url('admin/appointments')}}" class="nav-link {{(Request::segment(2) == 'appointments') ? 'active' : ''}}">
<i class="fa fa-quote-right" aria-hidden="true"></i>
<p>
Appointments
</p>
<a class="nav-link ">
<div class="sidebar-icon w-100" id="myAppointmentBtn">
<i class="fa-regular fa-calendar-check"></i>
<span class="menu-title w-100">
<p>Appointments</p>
<i class="fa-solid fa-angle-right" id="icon-toggle-appointment"></i></span>
</div>
</a>
<div class="collapse" id="myAppointment">
<ul class="nav flex-column sub-menu">
<li class="nav-item">
<a class="nav-link {{(Request::segment(2) == 'education') ? 'active' : ''}}" href="{{url('admin/appointments/education')}}">
<i class="fa-solid fa-book-open-reader"></i> <p>Education Services</p>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{url('admin/appointments/visa')}}">
<i class="fa-brands fa-cc-visa"></i> <p>Visa Services</p>
</a>
</li>
</ul>
</div>
</li>
<li class="nav-item">
<a href="{{url('admin/testimonials')}}" class="nav-link {{(Request::segment(2) == 'testimonials') ? 'active' : ''}}">
<i class="fa fa-quote-right" aria-hidden="true"></i>
@ -150,45 +162,30 @@
</li>
<li class="nav-item">
<a href="{{url('admin/faqs')}}" class="nav-link {{(Request::segment(2) == 'faqs') ? 'active' : ''}}">
<i class="fa fa-quote-right" aria-hidden="true"></i>
<i class="fa-solid fa-circle-question" aria-hidden="true"></i>
<p>
FAQs
</p>
</a>
</li>
<li class="nav-item">
<a href="{{url('admin/contacts')}}" class="nav-link">
<a href="{{url('admin/contacts')}}" class="nav-link {{(Request::segment(2) == 'contacts') ? 'active' : ''}}">
<i class="fa-solid fa-id-badge"></i>
<p>
Contact/Enquiry
Contact
</p>
</a>
</li>
<!-- <li class="nav-item">
<a href="{{url('admin/seo_titles')}}" class="nav-link {{(Request::segment(2) == 'departments') ? 'active' : ''}}">
<i class="fa-solid fa-magnifying-glass"></i>
<li class="nav-item">
<a href="{{url('admin/enquiries')}}" class="nav-link {{(Request::segment(2) == 'enquiries') ? 'active' : ''}}">
<i class="fa-solid fa-id-badge"></i>
<p>
Seo Titles
Enquiries
</p>
</a>
</li> -->
</li>
</ul>
</nav>
<!-- /.sidebar-menu -->
@ -206,3 +203,4 @@
<!-- /.control-sidebar -->
</div>
<!-- ./wrapper -->

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>AplusAgency |Admin Login</title>
<title>ET-Visas | Admin Login</title>
<!-- Google Font: Source Sans Pro -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">

@ -1,157 +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">
<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

@ -1,203 +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">
<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

@ -1,135 +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">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

@ -11,69 +11,88 @@
@section('content')
<section class="appointment-section">
<div class="row">
<div class="col-md-5">
<div class="col-md-12 mb-3">
<h1>Book an Appointment</h1>
<div class="appointment-cards">
<a href="" class="appointment-card">
<div class="appointment-card-img">
<img src="{{url('frontend/icons/visa-approved.svg')}}" class="img-fluid" alt="">
<p>Please select the service and available date to book</p>
</div>
<div>
<h3>Education Services</h3>
<!-- Start of Tab -->
<div class="row">
<div class="col-sm-12 col-md-4 d-flex align-items-start">
<div class="nav appointment-pills flex-column nav-pills me-3" id="v-pills-tab" role="tablist" aria-orientation="vertical">
<button class="btn-appointment nav-link active" id="v-pills-education-tab" data-type = "1" data-bs-toggle="pill" data-bs-target="#v-pills-education" type="button" role="tab" aria-controls="v-pills-home" aria-selected="true">
<i class="appointment-card-img"><img src="{{url('frontend/icons/visa-approved.svg')}}" class="img-fluid" alt=""></i>
<h2>Education Services</h2>
</button>
<button class="btn-appointment nav-link" id="v-pills-visa-tab" data-type = "2" data-bs-toggle="pill" data-bs-target="#v-pills-visa" type="button" role="tab" aria-controls="v-pills-visa" aria-selected="false">
<i class="appointment-card-img"><img src="{{url('frontend/icons/visa-approved.svg')}}" class="img-fluid" alt=""></i>
<h2>Migration | Visa Services</h2>
</button>
</div>
</a>
<a href="" class="appointment-card">
<div class="appointment-card-img">
<img src="{{url('frontend/icons/visa-approved.svg')}}" class="img-fluid" alt="">
</div>
<div>
<h3>Visa Services</h3>
<div class="col-sm-12 col-md-8">
<div class="tab-content" id="v-pills-tabContent">
<div class="tab-pane fade show active" id="v-pills-education" role="tabpanel" aria-labelledby="v-pills-education-tab" tabindex="0">
<div class="calender-section">
<div class="calendar-top">
<h5>Time Zone:</h5>
<h5>Australia | Sydney</h5>
</div>
</a>
<h2>Select Available Date</h2>
<h3>Education services | 30 mins</h3>
<div id="1-calendar-apppearance"></div>
<div id='1-available-dates' class="available-dates"></div>
</div>
</div>
<div class="col-md-7">
<!-- Start of Visa Block -->
<div class="tab-pane fade" id="v-pills-visa" role="tabpanel" aria-labelledby="v-pills-visa-tab" tabindex="0">
<div class="calender-section">
<div class="calendar-top">
<h5>Time Zone:</h5>
<h5>Australia | Sydney</h5>
</div>
<h2>Select available date</h2>
<h3>Education services | 30 mins</h3>
<div id="demo-calendar-apppearance"></div>
<div id='available-dates' class="available-dates">
<!-- <h5 id='available-dates'></h5> -->
<h2>Select Available Date</h2>
<h3>Visa services | 30 mins</h3>
<div id="2-calendar-apppearance"></div>
<div id='2-available-dates' class="available-dates"></div>
</div>
</div>
<!-- End of Visa Block -->
</div>
</div>
</div>
<!-- End of Tab -->
<!-- Appointment Modal -->
<div class="modal fade" id="modal" tabindex="-1" role="dialog" aria-labelledby="appointmentModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="appointmentModalLabel">Book Appointment</h3>
<h3 class="modal-title" id="appointmentModalLabel">Book Appointment</span></h3>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
<!-- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button> -->
</div>
<div class="modal-body">
<div class="book-modal-info">
<p>You are about to book appointment for <span id = "booking_service"></span> at date &nbsp;<span id = "booking_date"></span><span class="time" id = "start_time"></span> to <span id = "end_time"></span></p>
</div>
<!-- Form with the fields name, email, phone, and notes -->
<form id ="appointment-form">
<input type="hidden" name="appointment_id" id="appointment_id">
<div class="form-group mb-2">
<label for="name">Name</label>
<input type="text" class="form-control mt-1" id="name" name="name" required>
<input type="text" class="form-control mt-1" id="app-name" name="name" onkeyup="validateAppName()">
<span class="error" id="app-name-error"></span>
</div>
<div class="form-group mb-2">
<label for="email">Email</label>
<input type="email" class="form-control mt-1" id="email" name="email" required>
<input type="email" class="form-control mt-1" id="app-email" name="email" onkeyup="validateAppEmail()">
<span class="error" id="app-email-error"></span>
</div>
<div class="form-group mb-2">
<label for="phone">Phone</label>
<input type="tel" class="form-control mt-1" id="phone" name="phone" required>
<input type="tel" class="form-control mt-1" id="app-phone" name="phone" onkeyup="validateAppPhone()">
<span class="error" id="app-phone-error"></span>
</div>
<div class="form-group mb-2">
<label for="notes">Notes</label>
@ -82,124 +101,110 @@
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" onclick = "submitAppointment(event)" class="btn btn-primary">Book Appointment</button>
</div>
</div>
</div>
</div>
</section>
<!-- Modal -->
<!-- <div class="modal fade" id="modal" tabindex="-1" role="dialog" aria-labelledby="appointmentModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="appointmentModalLabel">Book Appointment</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" onclick = "submitAppointment()" class="btn btn-primary" id="appointmentbtn">Book Appointment</button>
<button class="buttonload btn btn-primary" id="buttonenqload" disabled>
<i class="fas fa-spinner fa-pulse"></i> Submiting
</button>
</div>
<div class="modal-body">
<form id = "appointment-form" onsubmit="submitAppointment(event)">
<input type="hidden" name="appointment_id" id="appointment_id">
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control" id="name" name="name" required>
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" class="form-control" id="email" name="email" required>
</div>
<div class="form-group">
<label for="phone">Phone</label>
<input type="tel" class="form-control" id="phone" name="phone" required>
</div>
<div class="form-group">
<label for="notes">Notes</label>
<textarea class="form-control" id="notes" name = "notes"></textarea>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary">Book Appointment</button>
</div>
</div>
</div>
</div> -->
</section>
@endsection
@section('script')
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script>
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
var $calender = $("#demo-calendar-apppearance");
$('#v-pills-education-tab').click(function (e) {
var id = $(this).data("type");
var $calender = $("#"+id+"-calendar-apppearance");
displayCalendar($calender,id);
});
$('#v-pills-visa-tab').click(function (e) {
var id = $(this).data("type");
var $calender = $("#"+id+"-calendar-apppearance");
displayCalendar($calender,id);
});
$(document).ready(function () {
var $calender = $("#1-calendar-apppearance");
var id = 1;
displayCalendar($calender,id);
});
function displayCalendar($calender,id){
var id = id;
var now = new Date();
var appointments_list = id == 1 ? {!! json_encode($educationAppointments) !!} : {!! json_encode($visaAppointments) !!};
var events = [];
appointments_list.forEach(function(list) {
events.push({
date: list.date,
classname: "clickable event-clickable"
});
});
$calender.zabuto_calendar({
data: [
@foreach($educationAppointments as $appointment)
@php
$date = Carbon\Carbon::createFromFormat('Y-m-d', $appointment->date);
$start_time = Carbon\Carbon::createFromFormat('H:i', $appointment->start_time);
$end_time = Carbon\Carbon::createFromFormat('H:i', $appointment->end_time);
@endphp
{
date: "{{ $date->format('Y-m-d') }}",
content: "{{ $start_time->format('H:i') }} - {{ $end_time->format('H:i') }}"
},
@endforeach
],
classname: 'table clickable table-bordered lightgrey-weekends',
classname: 'table event-colourful table-bordered lightgrey-weekends',
week_starts: 'monday',
show_days: true,
cell_border: true,
today: true,
show_days: true,
weekstartson: 0,
today_markup: '<span class="badge bg-primary">[day]</span>',
navigation_markup: {
prev: '<i class="fas fa-chevron-circle-left"></i>',
next: '<i class="fas fa-chevron-circle-right"></i>'
}
},
});
events:events
var availableDates = document.getElementById('available-dates')
});
let allBtns = document.querySelectorAll("td")
$calender.on('zabuto:calendar:day', function (e) {
var now = new Date();
var date = e.date;
//get available time for selected date
$.ajax({
url: "/appointments_by_date",
type:"POST",
data:{
date:date,
date:date,id:id
},
success:function(response){
if (response) {
var appointments = response.appointment;
dispalyAppointments(appointments,date);
formated_date = response.formated_date
dispalyAppointments(appointments,formated_date,id);
}
},
error: function(response) {
}
});
})
// On click, remove the MyClass on ALL td
allBtns.forEach(function(el){
el.classList.remove("active");
});
function dispalyAppointments(appointments,date) {
// Add the class on clicked one
e.target.classList.add("active");
})
}
function dispalyAppointments(appointments,formated_date,id) {
//display available appointments in timeslot
if (appointments.length > 0) {
@ -207,65 +212,115 @@
for (var i = 0; i < appointments.length; i++) {
var appointment = appointments[i];
var isAm = appointment.start_time < '12:00:00';
timeSlots += '<button type="button" class="time-slot" data-toggle="modal" data-target="#appointmentModal" data-appointment-id="' + appointment.id + '">' + appointment.start_time + ' - ' + appointment.end_time +' ' + (isAm ? 'AM' : 'PM') + '</button>';
// var isAmStart = appointment.start_time < '12:00:00';
// var isAmEnd = appointment.end_time < '12:00:00';
var isAmStart = '';
var isAmEnd = '';
timeSlots += '<button type="button" class="time-slot" data-toggle="modal" data-target="#appointmentModal" data-appointment-id="' + appointment.id + '" data-start-time="'+appointment.start_time+'" + data-end-time="'+appointment.end_time+'" >' + appointment.start_time +' - ' + appointment.end_time +'</button>';
}
$('#available-dates').html(timeSlots);
$('#'+id+'-available-dates').html(timeSlots);
$('.time-slot').click(function (e) {
e.preventDefault();
var appointmentId = $(this).data("appointment-id");
// $("#modal").attr("id", "modal-" + appointmentId);
var startTime = $(this).data("start-time");
var endTime = $(this).data("end-time");
$('#appointment-form input[name="appointment_id"]').val(appointmentId);
// $("#modal-" + appointmentId).modal("show");
$('#booking_date').html('<b>'+formated_date+'</b>');
if(id == 1){
$('#booking_service').html('<b>Education Service</b>');
}
if(id == 2){
$('#booking_service').html('<b>Migration/Visa Service</b>');
}
$('#start_time').html('&nbsp;<b>('+startTime+'</b>');
$('#end_time').html('<b>'+endTime+')</b>');
$("#modal").modal("show");
// showAppointmentForm(appointmentId);
});
}
else{
$('#available-dates').html("No appointments available for " + date);
$('#'+id+'-available-dates').html("No appointments available for " + "<b>"+formated_date+"</b>");
}
}
function showAppointmentForm(appointmentId){
// $("#appointmentModal").modal();
// show Appointment booking form
// Reset the form
// $('#appointment-form')[0].reset();
// Store the appointment ID in a hidden field
// $('#appointment-form input[name="appointment_id"]').val(appointmentId);
appNameError = document.getElementById('app-name-error');
appEmailError = document.getElementById('app-email-error');
appPhoneError = document.getElementById('app-phone-error');
loaderenqBtn = document.getElementById('buttonenqload');
appointmentBtn = document.getElementById('appointmentbtn');
function validateAppName(){
var appName = document.getElementById('app-name').value;
if(appName.length == 0){
$('#name-email').focus();
appNameError.innerHTML = "Name Field is required !";
return false;
}
appNameError.innerHTML = '';
return true;
}
// Show the form
// $('#appointment-form').show();
function validateAppEmail(){
var appEmail = document.getElementById('app-email').value;
if(appEmail.length == 0){
$('#name-email').focus();
appEmailError.innerHTML = "Email Field is required !";
return false;
}
if(!appEmail.match(/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(.\w{2,3})+$/)){
appEmailError.innerHTML = "Invalid email address";
return false;
}
appEmailError.innerHTML = '';
return true;
}
function validateAppPhone(){
var appPhone = document.getElementById('app-phone').value;
if(appPhone.length == 0){
$('#app-phone').focus();
appPhoneError.innerHTML = "Phone Field is required !";
return false;
}
if(!appPhone.match(/^\d{10}$/)){
appPhoneError.innerHTML = "Invalid mobile number";
return false;
}
appPhoneError.innerHTML = '';
return true;
}
function submitAppointment(event){
event.preventDefault();
function submitAppointment(){
if(!validateAppName() || !validateAppEmail() || !validateAppPhone()){
return false;
}else{
loaderenqBtn.classList.add('displayBtn')
appointmentBtn.classList.add('buttonload')
$.ajax({
url: "/appointment_submit",
type: "post",
data: $("form").serialize(),
success: function(response) {
$("#modal").modal("hide");
alert('Appointment successfuuly booked');
// Handle the success response
// e.g. close the modal, show a success message, etc.
// var isAmStart = response.appointment.start_time < '12:00:00';
// var isAmEnd = response.appointment.end_time < '12:00:00';
loaderenqBtn.classList.remove('displayBtn');
Swal.fire({
title: 'Booked!!',
text: 'Appointment Successfully Booked for '+response.appointment_detail['name']+' at '+response.formated_date +'('+response.appointment['start_time']+' - ' + response.appointment['end_time']+' )',
icon: 'success'
}).then(function(){
location.reload();
}
)
}
});
}
}
</script>
@endsection

@ -0,0 +1,25 @@
<style>
.main-column{
display:flex;
width:100%;
}
.column-one{
width:50%;
}
</style>
<h1>Appointment Booked Successfully</h1>
<br />
<div class="main-column" style = "display:block; width:100%;">
<div class="column-one" style = "display:block; width:100%;">
<h3>Please, find out the booking details below</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>Your Full Name:</b> {{ $full_name }}<br /><br />
<b>Phone:</b> {{$phone}}<br /><br />
</div>
</div>

@ -0,0 +1,25 @@
<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,12 +1,12 @@
@extends('layout.app')
@section('title')
<title>Blogs Detail</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.">
<title>{{$blog->title}}</title>
<meta name="description" content="{{(\Illuminate\Support\Str::limit(strip_tags($blog->description), 100, $end='...'))}}">
<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."/>
<meta property="og:image" content="{{url($blog->image)}}"/>
<meta property="og:title" content="{{$blog->title}}"/>
<meta property="og:description" content="{{(\Illuminate\Support\Str::limit(strip_tags($blog->description), 100, $end='...'))}}"/>
@endsection
@section('content')
<section class="blog-detail-section">
@ -26,16 +26,16 @@
</div>
<div class="social-share">
<?php
$baseUrl="http://www.eteducation.com.au/blog/";
$baseUrl="https://eteducation.com.au/blog/";
// $slug="$setting->slug";
?>
<a target="_blank" class="socials-icon" href="http://www.facebook.com/sharer.php?u={{$baseUrl.'/blog/'}}">
<a target="_blank" class="socials-icon" href="https://www.facebook.com/sharer.php?u={{$baseUrl.$blog->slug}}">
<i class="fa-brands fa-facebook-f"></i>
</a>
<a target="_blank" class="socials-icon" href="http://twitter.com/share?text=Visit the link &url={{$baseUrl.'/blog/'}}">
<a target="_blank" class="socials-icon" href="https://twitter.com/share?text=Visit the link &url={{$baseUrl.$blog->slug}}">
<i class="fa-brands fa-twitter"></i>
</a>
<a target="_blank" class="socials-icon" href="http://www.linkedin.com/shareArticle?mini=true&url={{$baseUrl.'/blog/'}}">
<a target="_blank" class="socials-icon" href="https://www.linkedin.com/shareArticle?mini=true&url={{$baseUrl.$blog->slug}}">
<i class="fa-brands fa-linkedin-in"></i>
</a>
</div>
@ -55,10 +55,10 @@
<h1>Most Popular Blogs</h1>
@foreach(App\Models\NewsAndUpdate::where('id','!=',$blog->first()->id)->where('status','1')->get() as $recent)
<a href="{{url('blog/'.$recent->slug)}}" class="recent-card-content">
<div class="recent-card-img">
<div class="col-md-4 recent-card-img">
<img src="{{url($recent->thumbnail ?? $recent->image)}}" class="w-100" alt="">
</div>
<div class="recent-post-desc">
<div class="col-md-8 recent-post-desc">
@php $date = Carbon\Carbon::createFromFormat('Y-m-d', $recent->publish_date);@endphp
<h5>{{$date->format('j M, Y')}}</h5>
<h5>2 min read</h5>
@ -66,26 +66,6 @@
</div>
</a>
@endforeach
<!-- <a href="blog-detail" class="recent-card-content">
<div class="recent-card-img">
<img src="{{url('frontend/images/blank.png')}}" class="w-100" alt="">
</div>
<div class="recent-post-desc">
<h5>25/01/2023</h5>
<h5>2 min read</h5>
<h2>Best ways to settle your career in Australia</h2>
</div>
</a>
<a href="blog-detail" class="recent-card-content">
<div class="recent-card-img">
<img src="{{url('frontend/images/blank.png')}}" class="w-100" alt="">
</div>
<div class="recent-post-desc">
<h5>25/01/2023</h5>
<h5>2 min read</h5>
<h2>Best ways to settle your career in Australia</h2>
</div>
</a> -->
</div>
</div>
</div>

@ -44,44 +44,19 @@
<div class="col-md-7">
<div class="related-articles">
@foreach($blogs->where('blog_type','!=',1) as $blog)
<div class="article-card">
<div class="article-img">
<img src="{{url($blog->thumbnail ?? $blog->image)}}" class="w-100" alt="">
<div class="col-md-4 article-img">
<img src="{{url($blog->thumbnail ?? $blog->image)}}" class="img-fluid" alt="">
</div>
<div class="article-desc">
<div class="col-md-8 article-desc">
<h3 class="dinline mr-3">Study in Australia</h3>
<h6 class="dinline mr-3">{{$blog->publish_date}}</h6>
<h2>{{$blog->title}} </h2>
{!!(\Illuminate\Support\Str::limit($blog->description, 200, $end='...'))!!}</p>
{!!(\Illuminate\Support\Str::limit($blog->description, 200, $end=''))!!}</p>
<a href="{{url('/blog/'.$blog->slug)}}">Read More <i class="fa-solid fa-arrow-right-long ms-2 fa-xs"></i></a>
</div>
</div>
@endforeach
<!-- <div class="article-card">
<div class="article-img">
<img src="{{url('frontend/images/blog-passport.png')}}" class="w-100" alt="">
</div>
<div class="article-desc">
<h3>Study in Australia</h3>
<h6>Dec 09, 2022, 2 mins read</h6>
<h2>Ten Reasons that make Australia the Best Destination </h2>
<p>If you want to study in a city surrounded by lush greenery and a pleasant atmosphere..</p>
<a href="blog-detail">Read More <i class="fa-solid fa-arrow-right-long ms-2 fa-xs"></i></a>
</div>
</div>
<div class="article-card">
<div class="article-img">
<img src="{{url('frontend/images/blog-passport.png')}}" class="w-100" alt="">
</div>
<div class="article-desc">
<h3>Study in Australia</h3>
<h6>Dec 09, 2022, 2 mins read</h6>
<h2>Ten Reasons that make Australia the Best Destination </h2>
<p>If you want to study in a city surrounded by lush greenery and a pleasant atmosphere..</p>
<a href="blog-detail">Read More <i class="fa-solid fa-arrow-right-long ms-2 fa-xs"></i></a>
</div>
</div> -->
</div>
</div>
</div>

@ -0,0 +1,552 @@
@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

@ -0,0 +1,76 @@
<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>

@ -4,6 +4,7 @@
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="csrf-token" content="{{ csrf_token() }}" />
<meta name="theme-color" content="#296AC7" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@yield('title')
<link rel="icon" href="{{url('frontend/icons/favicon.ico')}}">
@ -61,7 +62,7 @@
</div>
<div class="social-links d-none d-md-flex align-items-center">
<div class="top-links">
{{-- <a href="/login" target="_blank">login</a> | <a href="/signup" target="_blank">Signup</a> --}}
<a href="/enquiry">Enquiry</a>
<h2>Find us on</h2>
</div>
<div class="top-socials">
@ -114,7 +115,7 @@
</ul>
</li>
<li class="nav-item">
<a class="nav-link" href="{{url('/blogs')}}">BLOG</a>
<a class="nav-link" href="{{url('/blogs')}}">BLOGS</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{url('contact')}}">CONTACT</a>
@ -186,7 +187,7 @@
<ul class="list-unstyled">
<li>
@foreach($services as $service)
<a href="{{url('education/'.$service->slug)}}" target="_blank" rel='noreferrer' class=' footer-link'>
<a href="{{url('education/'.$service->slug)}}" class=' footer-link'>
{{$service->name}}
</a>
@endforeach
@ -201,7 +202,7 @@
<ul class="list-unstyled">
<li>
@foreach(App\Models\VisaService::where('status',1)->get() as $visa_service)
<a href="{{url('/visa/'.$visa_service->slug)}}" target="_blank" rel='noreferrer' class=' footer-link'>
<a href="{{url('/visa/'.$visa_service->slug)}}" class=' footer-link'>
{{$visa_service->name}}
</a>
@endforeach
@ -256,8 +257,8 @@
</div>
<div class="bottom-footer text-center p-3" >
<div class='row footer-text'>
<p class='col-md-4'>ET Education and Visa Services © 2021. All Rights Reserved. </p>
<p class='col-md-4 policy'><a >Disclaimer</a> | <a >Privacy Policy</a> | <a >Feedback and Complaints</a></p>
<p class='col-md-4'>ET Education and Visa Services © 2023. All Rights Reserved. </p>
<p class='col-md-4 policy'><a >Disclaimer</a> | <a href="privacy_policy">Privacy Policy</a> | <a >Feedback and Complaints</a></p>
<p class='col-md-4'>Designed & Developed By: <a target="-blank" rel="noreferrer" href="https://www.extratechs.com.au/">Extratech</a></p>
</div>
</div>
@ -340,4 +341,44 @@
}
</script>
<!--Whatsapp-->
<script>
var fullPath1 = window.location.href;
var url = 'https://wati-integration-service.clare.ai/ShopifyWidget/shopifyWidget.js?69991';
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = url;
var options = {
"enabled":true,
"chatButtonSetting":{
"backgroundColor":"#4dc247",
"ctaText":"",
"borderRadius":"25",
"marginLeft":"30",
"marginBottom":"30",
"marginRight":"30",
"position":"right"
},
"brandSetting":{
"brandName":"ET Education | Visa",
"brandSubTitle":"Online",
"brandImg":"{{url('images/ET-Education.jpg')}}",
"welcomeText":"👋 Want to chat about ET Education?\n I'm here to help you find your way.",
"messageText":"Hello, I have a question about",
"backgroundColor":"#0a5f54",
"ctaText":"Start Chat",
"borderRadius":"25",
"autoShow":true,
"phoneNumber":"+61405978672"
}
};
s.onload = function() {
CreateWhatsappChatWidget(options);
$('.wa-chat-box-poweredby').hide();
};
var x = document.getElementsByTagName('script')[0];
x.parentNode.insertBefore(s, x);
</script>
</html>

@ -0,0 +1,166 @@
@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

@ -83,14 +83,14 @@
</a>
</div>
<div class="col-lg-4 col-md-6">
<a href="{{url('visa/business-visa')}}" class="text-decoration-none">
<a href="https://extratechs.com.au/academy" target="_blank" class="text-decoration-none">
<div class="service-page-card">
<div class="blog-img">
<img src="{{url('frontend/images/services/Business-visa.jpg')}}" class="w-100" alt="">
</div>
<div class="service-page-content">
<h2>Business Visa</h2>
<p>Acquire a Business Visa and take advantage of Australia's thriving market to expand and succeed with your business.</p>
<h2>Job Ready Program</h2>
<p>Launch your career with job-ready programs - targeted training, industry connections, and job placement opportunities for success.</p>
</div>
</div>
</a>

@ -33,18 +33,37 @@
<div class="study-detail-desc">
<h1>{{$second_section->title}}</h1>
{!!$second_section->description!!}
<h5>The popular universities in NSW</h5>
</div>
<div class="row">
@foreach($second_section->service_section_point as $point)
@php $universities = $second_section->service_section_point; @endphp
<div class="col-md-3">
<div class="universities-card">
<img src="{{url($point->icon ?? '')}}" class="w-100" alt="">
<h5>{{$point->point}}</h5>
<ul>
@foreach($universities->take(3) as $point)
<li>{{$point->point}}</li>
@endforeach
</ul>
</div>
</div>
<div class="col-md-3">
<div class="universities-card">
<ul>
@foreach($universities->skip(3)->take(3) as $point)
<li>{{$point->point}}</li>
@endforeach
</ul>
</div>
</div>
<div class="col-md-3">
<div class="universities-card">
<ul>
@foreach($universities->skip(6)->take(3) as $point)
<li>{{$point->point}}</li>
@endforeach
</ul>
</div>
</div>
{!!$second_section->sub_description!!}
</div>
</section>

@ -4,7 +4,7 @@
<meta name="description" content="ET Education and Visa Services, presented by Extratech, is an adept provider of excellent education consultation, information, and visa guidance solution to students seeking schooling abroad.">
<meta name="robots" content="index, follow" />
<meta property="og:url" content="" />
<meta property="og:image" content="{{url('frontend/images/banner.png')}}"/>
<meta property="og:image" content="{{url($sliders->first()->image ?? '')}}"/>
<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
@ -96,17 +96,17 @@
</div>
<div class="service-card">
<div class="service-icon">
<img src="{{url('frontend/icons/migration-visa.png')}}" alt="">
<img src="{{url('frontend/icons/jrp.png')}}" alt="">
</div>
<h2>Business Visa</h2>
<p>Unleash your entrepreneurial spirit in Australia.</p>
<a href="visa/business-visa">Learn More</a>
<h2>Job Ready Program</h2>
<p>Get into the job market with a correct set of skills.</p>
<a href="https://extratechs.com.au/academy" target="_blank">Learn More</a>
</div>
</div>
<div class="services-slider">
<div class="service-card">
<div class="service-icon">
<img src="{{url('frontend/icons/ribbon.png')}}" alt="">
<img src="{{url('frontend/icons/career-counselling.png')}}" alt="">
</div>
<h2>Career Counselling</h2>
<p>Get the right guidance to leap through your career.</p>
@ -124,7 +124,7 @@
<div class="services-slider">
<div class="service-card">
<div class="service-icon">
<img src="{{url('frontend/icons/abroad-icon.png')}}" alt="">
<img src="{{url('frontend/icons/account-student.png')}}" alt="">
</div>
<h2>Student Visa</h2>
<p>Visit Australia to participate in the course of study.</p>
@ -272,7 +272,7 @@
<p>Get the updates about moving to Australia with the right guidance and information from our experts.</p>
</div>
<div class="row">
@foreach($blogs as $blog)
@foreach($blogs->take(3) as $blog)
<div class="col-md-4 col-sm-12">
<a href="{{url('blog/'.$blog->slug)}}" class="text-decoration-none">
<div class="blog-card">
@ -316,8 +316,7 @@
settings: {
slidesToShow: 1,
slidesToScroll: 1,
infinite: true,
dots: false
infinite: true
}
},
{

@ -39,9 +39,11 @@ use App\Http\Controllers\Admin\SeoTitleController;
use App\Http\Controllers\Admin\VisaServiceController;
use App\Http\Controllers\Admin\FaqController;
use App\Http\Controllers\Admin\VisaServiceSectionController;
use App\Models\Country;
use App\Http\Controllers\Admin\TeamController;
use App\Http\Controllers\Admin\AppointmentController;
use App\Http\Controllers\EnquiryController;
/*
|--------------------------------------------------------------------------
@ -54,6 +56,8 @@ use App\Http\Controllers\Admin\AppointmentController;
|
*/
Route::get('/mycron', [HomeController::class, 'runQueueJobs']);
Route::get('/seed', [HomeController::class, 'runSeeder']);
Route::get('/', [HomeController::class, 'index'])->name('home.index');
Route::get('login', [HomeAdminController::class, 'getLogin'])->name('login');
@ -250,8 +254,9 @@ Route::group(['middleware'=>['auth']],function (){
Route::get('contacts', [ContactUsController::class, 'index']);
Route::get('contacts/{id}/view', [ContactUsController::class, 'show']);
Route::get('enrollments',[EnrollmentController::class,'index']);
Route::get('enrollments/{id}/view',[EnrollmentController::class,'show']);
Route::get('enquiries', [EnquiryController::class, 'index']);
Route::get('enquiries/{id}/view', [EnquiryController::class, 'show']);
Route::get('enquiries/{id}/delete', [EnquiryController::class, 'delete']);
Route::get('teams', [TeamController::class, 'index']);
Route::get('teams/create', [TeamController::class, 'create']);
@ -267,7 +272,8 @@ Route::group(['middleware'=>['auth']],function (){
Route::post('careers/{id}', [CareerController::class, 'update']);
Route::get('careers/{id}', [CareerController::class, 'show']);
Route::get('appointments',[AppointmentController::class,'index']);
Route::get('appointments/education', [AppointmentController::class, 'education_appointments']);
Route::get('appointments/visa', [AppointmentController::class, 'visa_appointments']);
Route::get('appointments/create', [AppointmentController::class, 'create']);
Route::post('appointments', [AppointmentController::class, 'store']);
Route::get('appointments/{id}/edit', [AppointmentController::class, 'edit']);
@ -285,11 +291,7 @@ Route::group(['middleware'=>['auth']],function (){
Route::get('accomodations/points_remove/{id}', [AccomodationController::class, 'points_remove']);
Route::get('accomodations/information_points_remove/{id}', [AccomodationController::class, 'information_points_remove']);
Route::get('accomodations/slider_points_remove/{id}', [AccomodationController::class, 'slider_points_remove']);
});
});
Route::get('/services', function () {
return view('services');
@ -300,11 +302,13 @@ Route::get('/career_counselling', function () {
Route::get('/insurance', function () {
return view('insurance');
});
// Route::get('/appointment', function () {
// return view('appointment');
// Route::get('/enquiry', function () {
// $countries = Country::all();
// return view('enquiry-form', compact('countries'));
// });
// Route::get('/visa', function () {
// return view('visa');
// });
Route::get('/enquiry' , [EnquiryController::class, 'form']);
Route::post('/enquiry' , [EnquiryController::class, 'submit'])->name('enquiry.submit');
Route::get('/privacy_policy ', function () {
return view('privacy_policy');
});

Loading…
Cancel
Save