changes in email template for enquiries and form submittion, other all minor error fixed.
This commit is contained in:
@@ -20,8 +20,11 @@ class CounselorController extends Controller
|
||||
$model = Counselor::query()->latest();
|
||||
return DataTables::eloquent($model)
|
||||
->addIndexColumn()
|
||||
->addColumn('checkbox', function (Counselor $enquiry) {
|
||||
return '<input type="checkbox" class="enquiry-select" value="' . $enquiry->id . '" data-name="' . $enquiry->name . '">';
|
||||
})
|
||||
->addColumn('action', 'ccms::counselor.datatable.action')
|
||||
->rawColumns(['action'])
|
||||
->rawColumns(['checkbox', 'action'])
|
||||
->toJson();
|
||||
}
|
||||
return view('ccms::counselor.index', [
|
||||
|
@@ -18,10 +18,14 @@ class EnquiryController extends Controller
|
||||
|
||||
public function index()
|
||||
{
|
||||
$is_enrolled = request()->get('is_enrolled', null);
|
||||
if (request()->ajax()) {
|
||||
$model = Enquiry::query()->latest();
|
||||
return DataTables::eloquent($model)
|
||||
->addIndexColumn()
|
||||
->addColumn('checkbox', function (Enquiry $enquiry) {
|
||||
return '<input type="checkbox" class="enquiry-select" value="' . $enquiry->id . '" data-name="' . $enquiry->name . '">';
|
||||
})
|
||||
->setRowClass(function (Enquiry $enquiry) {
|
||||
return $enquiry->is_read ? 'text-muted' : 'text-dark';
|
||||
})
|
||||
@@ -35,7 +39,7 @@ class EnquiryController extends Controller
|
||||
return $enquiry->message ?? '-';
|
||||
})
|
||||
->addColumn('action', 'ccms::enquiry.datatable.action')
|
||||
->rawColumns(['action'])
|
||||
->rawColumns(['checkbox', 'action'])
|
||||
->toJson();
|
||||
}
|
||||
return view('ccms::enquiry.index', [
|
||||
|
@@ -22,8 +22,11 @@ class FranchiseController extends Controller
|
||||
$model = Franchise::query()->latest();
|
||||
return DataTables::eloquent($model)
|
||||
->addIndexColumn()
|
||||
->addColumn('checkbox', function (Franchise $enquiry) {
|
||||
return '<input type="checkbox" class="enquiry-select" value="' . $enquiry->id . '" data-name="' . $enquiry->name . '">';
|
||||
})
|
||||
->addColumn('action', 'ccms::franchise.datatable.action')
|
||||
->rawColumns(['action'])
|
||||
->rawColumns(['checkbox', 'action'])
|
||||
->toJson();
|
||||
}
|
||||
return view('ccms::franchise.index', [
|
||||
@@ -112,5 +115,4 @@ class FranchiseController extends Controller
|
||||
return redirect()->back()->with('error', $th->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -22,8 +22,11 @@ class NewsletterController extends Controller
|
||||
$model = Newsletter::query()->latest();
|
||||
return DataTables::eloquent($model)
|
||||
->addIndexColumn()
|
||||
->addColumn('checkbox', function (Newsletter $enquiry) {
|
||||
return '<input type="checkbox" class="enquiry-select" value="' . $enquiry->id . '" data-name="' . $enquiry->name . '">';
|
||||
})
|
||||
->addColumn('action', 'ccms::newsletter.datatable.action')
|
||||
->rawColumns(['action'])
|
||||
->rawColumns(['checkbox', 'action'])
|
||||
->toJson();
|
||||
}
|
||||
return view('ccms::newsletter.index', [
|
||||
@@ -111,5 +114,4 @@ class NewsletterController extends Controller
|
||||
return redirect()->back()->with('error', $th->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -22,18 +22,16 @@ class VacancyController extends Controller
|
||||
$model = Vacancy::query()->latest();
|
||||
return DataTables::eloquent($model)
|
||||
->addIndexColumn()
|
||||
->addColumn('checkbox', function (Vacancy $enquiry) {
|
||||
return '<input type="checkbox" class="enquiry-select" value="' . $enquiry->id . '" data-name="' . $enquiry->name . '">';
|
||||
})
|
||||
->addColumn('action', 'ccms::vacancy.datatable.action')
|
||||
->rawColumns(['action'])
|
||||
->rawColumns(['checkbox', 'action'])
|
||||
->toJson();
|
||||
}
|
||||
return view('ccms::vacancy.index', [
|
||||
'title' => 'Vacancy List',
|
||||
]);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -10,12 +10,13 @@
|
||||
@php
|
||||
$columns = [
|
||||
[
|
||||
'title' => 'S.N',
|
||||
'data' => 'DT_RowIndex',
|
||||
'name' => 'DT_RowIndex',
|
||||
'title' => '<input type="checkbox" id="select-all">',
|
||||
'data' => 'checkbox',
|
||||
'name' => 'checkbox',
|
||||
'orderable' => false,
|
||||
'searchable' => false,
|
||||
'sortable' => false,
|
||||
'className' => 'align-middle',
|
||||
'width' => '1%',
|
||||
],
|
||||
['title' => 'Name', 'data' => 'name', 'name' => 'name'],
|
||||
['title' => 'Email', 'data' => 'email', 'name' => 'email'],
|
||||
@@ -32,6 +33,20 @@
|
||||
@endphp
|
||||
<x-data-table-script :route="route('counselor.index')" :reorder="null" :columns="$columns" />
|
||||
</div>
|
||||
<div class="card" id="customerList">
|
||||
|
||||
<div class="card-body p-2">
|
||||
{{-- <div class="table-responsive">
|
||||
{{ $dataTable->table(['class' => 'table table-sm w-100', 'data-is_enrolled' => $is_enrolled], true) }}
|
||||
</div> --}}
|
||||
|
||||
<div class="row mt-3">
|
||||
<div class="col-md-3">
|
||||
{{ html()->select('action', [2 => 'Send News Letter', 3 => 'Send Mail'])->placeholder('Bulk Actions')->class('form-select bulk-select') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
@@ -10,12 +10,13 @@
|
||||
@php
|
||||
$columns = [
|
||||
[
|
||||
'title' => 'S.N',
|
||||
'data' => 'DT_RowIndex',
|
||||
'name' => 'DT_RowIndex',
|
||||
'title' => '<input type="checkbox" id="select-all">',
|
||||
'data' => 'checkbox',
|
||||
'name' => 'checkbox',
|
||||
'orderable' => false,
|
||||
'searchable' => false,
|
||||
'sortable' => false,
|
||||
'className' => 'align-middle',
|
||||
'width' => '1%',
|
||||
],
|
||||
['title' => 'Name', 'data' => 'name', 'name' => 'name'],
|
||||
['title' => 'Email', 'data' => 'email', 'name' => 'email'],
|
||||
@@ -31,8 +32,23 @@
|
||||
],
|
||||
];
|
||||
@endphp
|
||||
|
||||
<x-data-table-script :route="route('enquiry.index')" :reorder="null" :columns="$columns" />
|
||||
</div>
|
||||
<div class="card" id="customerList">
|
||||
|
||||
<div class="card-body p-2">
|
||||
{{-- <div class="table-responsive">
|
||||
{{ $dataTable->table(['class' => 'table table-sm w-100', 'data-is_enrolled' => $is_enrolled], true) }}
|
||||
</div> --}}
|
||||
|
||||
<div class="row mt-3">
|
||||
<div class="col-md-3">
|
||||
{{ html()->select('action', [2 => 'Send News Letter', 3 => 'Send Mail'])->placeholder('Bulk Actions')->class('form-select bulk-select') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
@@ -10,12 +10,13 @@
|
||||
@php
|
||||
$columns = [
|
||||
[
|
||||
'title' => 'S.N',
|
||||
'data' => 'DT_RowIndex',
|
||||
'name' => 'DT_RowIndex',
|
||||
'title' => '<input type="checkbox" id="select-all">',
|
||||
'data' => 'checkbox',
|
||||
'name' => 'checkbox',
|
||||
'orderable' => false,
|
||||
'searchable' => false,
|
||||
'sortable' => false,
|
||||
'className' => 'align-middle',
|
||||
'width' => '1%',
|
||||
],
|
||||
['title' => 'First Name', 'data' => 'first_name', 'name' => 'first_name'],
|
||||
['title' => 'Last Name', 'data' => 'last_name', 'name' => 'first_name'],
|
||||
@@ -40,6 +41,20 @@
|
||||
@endphp
|
||||
<x-data-table-script :route="route('franchise.index')" :reorder="null" :columns="$columns" />
|
||||
</div>
|
||||
<div class="card" id="customerList">
|
||||
|
||||
<div class="card-body p-2">
|
||||
{{-- <div class="table-responsive">
|
||||
{{ $dataTable->table(['class' => 'table table-sm w-100', 'data-is_enrolled' => $is_enrolled], true) }}
|
||||
</div> --}}
|
||||
|
||||
<div class="row mt-3">
|
||||
<div class="col-md-3">
|
||||
{{ html()->select('action', [2 => 'Send News Letter', 3 => 'Send Mail'])->placeholder('Bulk Actions')->class('form-select bulk-select') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
@@ -10,12 +10,13 @@
|
||||
@php
|
||||
$columns = [
|
||||
[
|
||||
'title' => 'S.N',
|
||||
'data' => 'DT_RowIndex',
|
||||
'name' => 'DT_RowIndex',
|
||||
'title' => '<input type="checkbox" id="select-all">',
|
||||
'data' => 'checkbox',
|
||||
'name' => 'checkbox',
|
||||
'orderable' => false,
|
||||
'searchable' => false,
|
||||
'sortable' => false,
|
||||
'className' => 'align-middle',
|
||||
'width' => '1%',
|
||||
],
|
||||
['title' => 'Email', 'data' => 'email', 'name' => 'email'],
|
||||
[
|
||||
@@ -28,6 +29,20 @@
|
||||
@endphp
|
||||
<x-data-table-script :route="route('newsletter.index')" :reorder="null" :columns="$columns" />
|
||||
</div>
|
||||
<div class="card" id="customerList">
|
||||
|
||||
<div class="card-body p-2">
|
||||
{{-- <div class="table-responsive">
|
||||
{{ $dataTable->table(['class' => 'table table-sm w-100', 'data-is_enrolled' => $is_enrolled], true) }}
|
||||
</div> --}}
|
||||
|
||||
<div class="row mt-3">
|
||||
<div class="col-md-3">
|
||||
{{ html()->select('action', [2 => 'Send News Letter', 3 => 'Send Mail'])->placeholder('Bulk Actions')->class('form-select bulk-select') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
@@ -10,12 +10,13 @@
|
||||
@php
|
||||
$columns = [
|
||||
[
|
||||
'title' => 'S.N',
|
||||
'data' => 'DT_RowIndex',
|
||||
'name' => 'DT_RowIndex',
|
||||
'title' => '<input type="checkbox" id="select-all">',
|
||||
'data' => 'checkbox',
|
||||
'name' => 'checkbox',
|
||||
'orderable' => false,
|
||||
'searchable' => false,
|
||||
'sortable' => false,
|
||||
'className' => 'align-middle',
|
||||
'width' => '1%',
|
||||
],
|
||||
['title' => 'First Name', 'data' => 'first_name', 'name' => 'first_name'],
|
||||
['title' => 'Last Name', 'data' => 'last_name', 'name' => 'last_name'],
|
||||
@@ -32,6 +33,20 @@
|
||||
@endphp
|
||||
<x-data-table-script :route="route('vacancy.index')" :reorder="null" :columns="$columns" />
|
||||
</div>
|
||||
<div class="card" id="customerList">
|
||||
|
||||
<div class="card-body p-2">
|
||||
{{-- <div class="table-responsive">
|
||||
{{ $dataTable->table(['class' => 'table table-sm w-100', 'data-is_enrolled' => $is_enrolled], true) }}
|
||||
</div> --}}
|
||||
|
||||
<div class="row mt-3">
|
||||
<div class="col-md-3">
|
||||
{{ html()->select('action', [2 => 'Send News Letter', 3 => 'Send Mail'])->placeholder('Bulk Actions')->class('form-select bulk-select') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
@@ -3,12 +3,12 @@ return [
|
||||
[
|
||||
'text' => 'Dashboard',
|
||||
'url' => 'admin/dashboard',
|
||||
'icon' => 'ri-home-4-line',
|
||||
'icon' => 'ri-home-fill text-primary',
|
||||
],
|
||||
|
||||
[
|
||||
'text' => 'Authorization',
|
||||
'icon' => 'ri-user-settings-line',
|
||||
'icon' => 'ri-group-fill text-info',
|
||||
'module' => 'User',
|
||||
'submenu' => [
|
||||
[
|
||||
@@ -32,7 +32,7 @@ return [
|
||||
[
|
||||
'text' => 'Setting',
|
||||
'url' => 'admin/setting',
|
||||
'icon' => 'ri-settings-4-line',
|
||||
'icon' => 'ri-settings-2-fill text-danger',
|
||||
'module' => 'CCMS',
|
||||
'can' => ['setting.index'],
|
||||
],
|
||||
@@ -40,14 +40,14 @@ return [
|
||||
[
|
||||
'text' => 'Menu',
|
||||
'url' => 'admin/menu',
|
||||
'icon' => 'ri-menu-line',
|
||||
'icon' => 'ri-menu-fill text-dark',
|
||||
'module' => 'CCMS',
|
||||
'can' => ['menu.index'],
|
||||
],
|
||||
|
||||
[
|
||||
'text' => 'Enquiries',
|
||||
'icon' => 'ri-cellphone-line',
|
||||
'icon' => 'ri-cellphone-fill text-success',
|
||||
'module' => 'CCMS',
|
||||
'submenu' => [
|
||||
|
||||
@@ -83,18 +83,10 @@ return [
|
||||
],
|
||||
],
|
||||
|
||||
// [
|
||||
// 'text' => 'Offer Popup',
|
||||
// 'url' => 'admin/popup',
|
||||
// 'icon' => 'ri-gift-2-line',
|
||||
// 'module' => 'CCMS',
|
||||
// 'can' => ['popup.index'],
|
||||
// ],
|
||||
|
||||
[
|
||||
'text' => 'Counter',
|
||||
'url' => 'admin/counter',
|
||||
'icon' => 'ri-add-circle-line',
|
||||
'icon' => 'ri-add-circle-fill text-info',
|
||||
'module' => 'CCMS',
|
||||
'can' => ['counter.index'],
|
||||
],
|
||||
@@ -102,7 +94,7 @@ return [
|
||||
[
|
||||
'text' => 'Page',
|
||||
'url' => 'admin/page',
|
||||
'icon' => 'ri-pages-line',
|
||||
'icon' => 'ri-pages-fill text-warning',
|
||||
'module' => 'CCMS',
|
||||
'can' => ['page.index'],
|
||||
],
|
||||
@@ -110,7 +102,7 @@ return [
|
||||
[
|
||||
'text' => 'Slider',
|
||||
'url' => 'admin/slider',
|
||||
'icon' => 'ri-slideshow-3-line',
|
||||
'icon' => 'ri-slideshow-3-fill text-dark',
|
||||
'module' => 'CCMS',
|
||||
'can' => ['slider.index'],
|
||||
],
|
||||
@@ -118,7 +110,7 @@ return [
|
||||
[
|
||||
'text' => 'Testimonial',
|
||||
'url' => 'admin/testimonial',
|
||||
'icon' => 'ri-feedback-line',
|
||||
'icon' => 'ri-feedback-fill text-success',
|
||||
'module' => 'CCMS',
|
||||
'can' => ['testimonial.index'],
|
||||
],
|
||||
@@ -126,7 +118,7 @@ return [
|
||||
[
|
||||
'text' => 'Partner',
|
||||
'url' => 'admin/partner',
|
||||
'icon' => 'ri-hand-heart-line',
|
||||
'icon' => 'ri-hand-heart-fill text-danger',
|
||||
'module' => 'CCMS',
|
||||
'can' => ['partner.index'],
|
||||
],
|
||||
@@ -134,7 +126,7 @@ return [
|
||||
[
|
||||
'text' => 'Service',
|
||||
'url' => 'admin/service',
|
||||
'icon' => 'ri-customer-service-2-line',
|
||||
'icon' => 'ri-customer-service-2-fill text-success',
|
||||
'module' => 'CCMS',
|
||||
'can' => ['service.index'],
|
||||
],
|
||||
@@ -142,7 +134,7 @@ return [
|
||||
[
|
||||
'text' => 'Events',
|
||||
'url' => 'admin/event',
|
||||
'icon' => 'ri-feedback-line',
|
||||
'icon' => 'ri-calendar-todo-fill text-primary',
|
||||
'module' => 'CCMS',
|
||||
'can' => ['event.index'],
|
||||
],
|
||||
@@ -150,7 +142,7 @@ return [
|
||||
[
|
||||
'text' => 'Team',
|
||||
'url' => 'admin/team',
|
||||
'icon' => 'ri-team-line',
|
||||
'icon' => 'ri-team-fill text-primary',
|
||||
'module' => 'CCMS',
|
||||
'can' => ['team.index'],
|
||||
],
|
||||
@@ -158,7 +150,7 @@ return [
|
||||
[
|
||||
'text' => 'Career',
|
||||
'url' => 'admin/career',
|
||||
'icon' => 'ri-feedback-line',
|
||||
'icon' => 'ri-feedback-fill text-info',
|
||||
'module' => 'CCMS',
|
||||
'can' => ['career.index'],
|
||||
],
|
||||
@@ -166,14 +158,14 @@ return [
|
||||
[
|
||||
'text' => 'Blog',
|
||||
'url' => 'admin/blog',
|
||||
'icon' => 'ri-newspaper-line',
|
||||
'icon' => 'ri-newspaper-fill text-dark',
|
||||
'module' => 'CCMS',
|
||||
'can' => ['blog.index'],
|
||||
],
|
||||
|
||||
[
|
||||
'text' => 'Study Abroad',
|
||||
'icon' => 'ri-earth-line',
|
||||
'icon' => 'ri-earth-fill text-success',
|
||||
'module' => 'CCMS',
|
||||
'submenu' => [
|
||||
[
|
||||
@@ -191,7 +183,7 @@ return [
|
||||
|
||||
[
|
||||
'text' => 'Testimonial Videos',
|
||||
'icon' => ' ri-camera-line',
|
||||
'icon' => ' ri-camera-fill text-dark',
|
||||
'module' => 'CCMS',
|
||||
'submenu' => [
|
||||
[
|
||||
@@ -209,7 +201,7 @@ return [
|
||||
|
||||
[
|
||||
'text' => 'FAQ',
|
||||
'icon' => 'ri-questionnaire-line',
|
||||
'icon' => 'ri-questionnaire-fill text-danger',
|
||||
'module' => 'CCMS',
|
||||
'submenu' => [
|
||||
[
|
||||
@@ -229,7 +221,7 @@ return [
|
||||
|
||||
[
|
||||
'text' => 'Course Finder',
|
||||
'icon' => 'ri-book-2-line',
|
||||
'icon' => 'ri-book-2-fill text-primary',
|
||||
'module' => 'CourseFinder',
|
||||
'submenu' => [
|
||||
|
||||
@@ -266,7 +258,7 @@ return [
|
||||
|
||||
[
|
||||
'text' => 'Cost Calculator',
|
||||
'icon' => 'ri-newspaper-line',
|
||||
'icon' => 'ri-newspaper-fill text-info',
|
||||
'module' => 'CostCalculator',
|
||||
'submenu' => [
|
||||
[
|
||||
@@ -285,15 +277,16 @@ return [
|
||||
[
|
||||
'text' => 'Free Resources',
|
||||
'url' => 'admin/documents',
|
||||
'icon' => 'ri-file-text-line',
|
||||
'icon' => 'ri-file-text-fill text-dark',
|
||||
'module' => 'Document',
|
||||
'can' => ['documents.index'],
|
||||
],
|
||||
// [
|
||||
// 'text' => 'Resume Builder',
|
||||
// 'url' => 'admin/resume',
|
||||
// 'icon' => 'ri-pages-line',
|
||||
// 'module' => 'CCMS',
|
||||
// 'can' => ['resume.index'],
|
||||
// ],
|
||||
|
||||
[
|
||||
'text' => 'Template',
|
||||
'url' => 'admin/template',
|
||||
'icon' => 'ri-mail-send-fill text-info',
|
||||
'module' => 'Template',
|
||||
'can' => ['template.index'],
|
||||
]
|
||||
];
|
||||
|
4974
public/assets/css/app.min.css
vendored
4974
public/assets/css/app.min.css
vendored
File diff suppressed because it is too large
Load Diff
@@ -37,8 +37,7 @@
|
||||
aria-labelledby="heading-question-1">
|
||||
|
||||
@foreach ($countries as $country)
|
||||
<div id="{{ $country_id }}"
|
||||
class="accordion-content resource text-16 leading-20 text-black bg-white px-10 flex items-center gap-10 "
|
||||
<div class="accordion-content resource text-16 leading-20 text-black bg-white px-10 flex items-center gap-10 "
|
||||
onclick="showTab('tab{{ $country->title }}')">
|
||||
<i class="fa-solid fa-angles-right text-18 text-brand"></i>
|
||||
<p>{{ $country->title }}</p>
|
||||
|
@@ -163,7 +163,7 @@
|
||||
</div>
|
||||
<div class="lqd-lp-excerpt">
|
||||
<p>
|
||||
{{ \Illuminate\Support\Str::limit($item['key'] ?? '', 10) }}
|
||||
{{ \Illuminate\Support\Str::limit($item['key'] ?? '', 50) }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user