|
@@ -55,7 +55,7 @@
|
|
|
<link href="{{ asset('css/wait-me/waitMe.min.css')}}" rel="stylesheet" type="text/css">
|
|
|
<link rel="stylesheet" href="{{ asset('/css/switch/rcswitcher.css') }}">
|
|
|
<link rel="stylesheet" href="{{ asset('/css/pretty-checkbox/pretty-checkbox.min.css') }}">
|
|
|
-
|
|
|
+
|
|
|
</head>
|
|
|
<style>
|
|
|
|
|
@@ -355,9 +355,9 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
transition: 1s;
|
|
|
}
|
|
|
.btn1{
|
|
|
- background-color: #141639c4 !important;
|
|
|
- color:white !important;
|
|
|
- border-radius: 20px;
|
|
|
+ background-color: #141639c4 !important;
|
|
|
+ color:white !important;
|
|
|
+ border-radius: 20px;
|
|
|
box-shadow:none !important;
|
|
|
}
|
|
|
.btn1:hover{
|
|
@@ -577,22 +577,26 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<a class="nav-link active rounded" id="student-register" data-bs-toggle="pill" href="#registers" role="tab" aria-controls="registers" aria-selected="false" style="width:114px;">
|
|
|
Registered
|
|
|
</a>
|
|
|
- </li>
|
|
|
+ </li>
|
|
|
<li class="nav-item m-1 ms-2 tech">
|
|
|
<a class="nav-link rounded" id="referral" data-bs-toggle="pill" href="#refer" role="tab" aria-controls="refer" aria-selected="false" style="width:114px;">
|
|
|
- Referral
|
|
|
+ Referral
|
|
|
</a>
|
|
|
- </li>
|
|
|
+ </li>
|
|
|
</ul>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
<div class="col-md-12">
|
|
|
<div class="row align-items-center">
|
|
|
+<<<<<<< HEAD
|
|
|
<div class="card rounded border-0 p-2" style="background-color:white;">
|
|
|
+=======
|
|
|
+ <div class="card rounded border-0 p-3" style="background-color:white;">
|
|
|
+>>>>>>> 392a64ab89536d1a0b58ece205bd1d1b0ce3ceba
|
|
|
<div class="row">
|
|
|
<div class="tab-content" id="pills-tabContent">
|
|
|
<div class="card border-0 tab-pane fade show active" id="registers" role="tabpanel" aria-labelledby="student-register">
|
|
|
<div class="row align-items-center">
|
|
|
- <div class="col-md-12">
|
|
|
+ <div class="col-md-12">
|
|
|
<div class="table-responsive">
|
|
|
<table class="table table-bordered list_table" style="margin: 0px;">
|
|
|
<thead>
|
|
@@ -613,7 +617,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<td style="font-size: 11px;">
|
|
|
<div class="scrolled_content_part">
|
|
|
<div class="single_ad_pref_item">
|
|
|
- <div class="left" style="width:50%;">
|
|
|
+ <div class="left" style="width:50%;">
|
|
|
<div class="uni_details" style="display:flex;">
|
|
|
<div class="inner_left mt-1" style="border: 1px solid black; border-radius: 20px; padding: 9px 4px 5px 8px; height: 37px; width: 37px;">
|
|
|
<i class="fa fa fa-university ms-1"></i>
|
|
@@ -630,7 +634,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</strong>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</td>
|
|
@@ -654,10 +658,10 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
<div class="card border-0 tab-pane fade show" id="refer" role="tabpanel" aria-labelledby="referral">
|
|
|
<div class="row align-items-center">
|
|
|
- <div class="col-md-12">
|
|
|
+ <div class="col-md-12">
|
|
|
<div class="table-responsive">
|
|
|
<table class="table table-bordered list_table" style="margin: 0px;">
|
|
|
<thead>
|
|
@@ -682,7 +686,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<td style="font-size: 11px; text-align:center;">
|
|
|
@if($row->signup==1)
|
|
|
<span class="label_badge_radius" style="background-color: #d8fdd8; color: green;">Yes</span><br>
|
|
|
- @php
|
|
|
+ @php
|
|
|
$refer_signup_user = \App\User::where('email',$row->email)->first();
|
|
|
@endphp
|
|
|
@if($refer_signup_user)
|
|
@@ -691,7 +695,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
@else
|
|
|
<span class="label_badge_radius" style="background-color: #d8fdd8; color: rgb(230, 13, 13);">No</span><br>
|
|
|
@endif
|
|
|
-
|
|
|
+
|
|
|
</td>
|
|
|
</tr>
|
|
|
@endforeach
|
|
@@ -699,7 +703,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<tr>
|
|
|
<td colspan="6" class="text-center text-danger">No data found!</td>
|
|
|
</tr>
|
|
|
- @endif
|
|
|
+ @endif
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
@@ -714,7 +718,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div>
|
|
|
</div><!--end col-->
|
|
|
</div><!--end teb pane-->
|
|
|
-
|
|
|
+
|
|
|
<div class="tab-pane fade p-2 rounded" id="teach" role="tabpanel" aria-labelledby="teacher">
|
|
|
<div class="col-md-12">
|
|
|
<div class="row">
|
|
@@ -724,28 +728,32 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<a class="nav-link active rounded" id="pending" data-bs-toggle="pill" href="#pend" role="tab" aria-controls="pend" aria-selected="false" style="width:100px;">
|
|
|
Pending
|
|
|
</a>
|
|
|
- </li>
|
|
|
+ </li>
|
|
|
<li class="nav-item m-1 ms-2 tech">
|
|
|
<a class="nav-link rounded" id="registered" data-bs-toggle="pill" href="#register" role="tab" aria-controls="register" aria-selected="false" style="width:114px;">
|
|
|
Registered
|
|
|
</a>
|
|
|
- </li>
|
|
|
+ </li>
|
|
|
<li class="nav-item m-1 ms-2 tech">
|
|
|
<a class="nav-link rounded" id="wishlist" data-bs-toggle="pill" href="#list" role="tab" aria-controls="list" aria-selected="false" style="width:114px;">
|
|
|
Wishlist
|
|
|
</a>
|
|
|
- </li>
|
|
|
+ </li>
|
|
|
<li class="nav-item m-1 ms-2 tech">
|
|
|
<a class="nav-link rounded" id="invited" data-bs-toggle="pill" href="#invite" role="tab" aria-controls="sold" aria-selected="false" style="width:114px;">
|
|
|
Invite
|
|
|
</a>
|
|
|
- </li>
|
|
|
+ </li>
|
|
|
</ul>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
<div class="col-md-12">
|
|
|
<div class="row align-items-center">
|
|
|
<div class="col-md-12 mb-3" style="padding:0px;">
|
|
|
+<<<<<<< HEAD
|
|
|
<div class="card rounded border-0 p-2" style="background-color:white;">
|
|
|
+=======
|
|
|
+ <div class="card rounded border-0 p-3" style="background-color:white;">
|
|
|
+>>>>>>> 392a64ab89536d1a0b58ece205bd1d1b0ce3ceba
|
|
|
<div class="row">
|
|
|
<div class="col-12">
|
|
|
<div class="tab-content" id="pills-tabContent">
|
|
@@ -768,12 +776,12 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
@foreach($register_teachers_list as $key=>$row)
|
|
|
<tr>
|
|
|
<td style="font-size: 11px;">{{++$key}}</td>
|
|
|
- <td style="font-size: 11px;"><span style="font-weight: bold !important;">{{$row->first_name }} {{$row->last_name }}</span><br>
|
|
|
- <span>{{$row->designation}}</span><br>
|
|
|
- <span>{{$row->email}}</span>
|
|
|
+ <td style="font-size: 11px;"><span style="font-weight: bold !important;">{{$row->first_name }} {{$row->last_name }}</span><br>
|
|
|
+ <span>{{$row->designation}}</span><br>
|
|
|
+ <span>{{$row->email}}</span>
|
|
|
</td>
|
|
|
<td style="font-size: 11px;">{{$row->university_name}}<br>
|
|
|
- <span>{{$row->uni_website}}</span>
|
|
|
+ <span>{{$row->uni_website}}</span>
|
|
|
</td>
|
|
|
<td style="font-size: 11px;">
|
|
|
@if(isset($row->department))
|
|
@@ -788,7 +796,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<span class="top_part_status_name" style="background: #dcdcdc; color: #8c9094;">
|
|
|
@if($row->status==0)
|
|
|
Pending
|
|
|
- @endif
|
|
|
+ @endif
|
|
|
</span>
|
|
|
<div class="dropdown" style="top: 0.4px; position: absolute; right: 9px;">
|
|
|
<i class="fa fa-caret-down dropdown-toggle add_hover tooltips" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" data-original-title="Change Status" style="color: #8c9094;"></i>
|
|
@@ -801,7 +809,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div>
|
|
|
</div>
|
|
|
</td>
|
|
|
- </tr>
|
|
|
+ </tr>
|
|
|
@endforeach
|
|
|
@else
|
|
|
|
|
@@ -810,7 +818,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<span class="text-danger">No data found!</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
-
|
|
|
+
|
|
|
@endif
|
|
|
</tbody>
|
|
|
</table>
|
|
@@ -818,7 +826,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div><!--end col-->
|
|
|
</div><!--end row-->
|
|
|
</div><!--end teb pane-->
|
|
|
-
|
|
|
+
|
|
|
<div class="card border-0 tab-pane fade" id="register" role="tabpanel" aria-labelledby="registered">
|
|
|
<div class="row align-items-center">
|
|
|
<div class="col-md-12">
|
|
@@ -838,12 +846,12 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
@foreach($active_teachers_list as $key=>$row)
|
|
|
<tr>
|
|
|
<td style="font-size: 11px;">{{++$key}}</td>
|
|
|
- <td style="font-size: 11px;"><span style="font-weight: bold !important;">{{$row->first_name }} {{$row->last_name }}</span><br>
|
|
|
- <span>{{$row->designation}}</span><br>
|
|
|
- <span>{{$row->email}}</span>
|
|
|
+ <td style="font-size: 11px;"><span style="font-weight: bold !important;">{{$row->first_name }} {{$row->last_name }}</span><br>
|
|
|
+ <span>{{$row->designation}}</span><br>
|
|
|
+ <span>{{$row->email}}</span>
|
|
|
</td>
|
|
|
<td style="font-size: 11px;">{{$row->university_name}}<br>
|
|
|
- <span>{{$row->uni_website}}</span>
|
|
|
+ <span>{{$row->uni_website}}</span>
|
|
|
</td>
|
|
|
<td style="font-size: 11px;">
|
|
|
@if(isset($row->department))
|
|
@@ -878,7 +886,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div>
|
|
|
</div>
|
|
|
</td>
|
|
|
- </tr>
|
|
|
+ </tr>
|
|
|
@endforeach
|
|
|
@else
|
|
|
|
|
@@ -887,15 +895,15 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<span class="text-danger">No data found!</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
-
|
|
|
+
|
|
|
@endif
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
</div><!--end col-->
|
|
|
</div><!--end row-->
|
|
|
- </div>
|
|
|
-
|
|
|
+ </div>
|
|
|
+
|
|
|
<div class="card border-0 tab-pane fade" id="list" role="tabpanel" aria-labelledby="wishlist">
|
|
|
<div class="row align-items-center">
|
|
|
<div class="col-md-12">
|
|
@@ -933,7 +941,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div>
|
|
|
</div><!--end col-->
|
|
|
</div><!--end row-->
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</div><!--end tab content-->
|
|
|
</div><!--end col-->
|
|
|
</div><!--end row-->
|
|
@@ -958,7 +966,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="single_glance_row mt-5">
|
|
|
- <div id="load_department"></div>
|
|
|
+ <div id="load_department"></div>
|
|
|
<!-- Tab -->
|
|
|
<div class="col-md-12 d-none">
|
|
|
<div id="" class="mt-2">
|
|
@@ -972,17 +980,17 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<input type="text" class="form-control" placeholder="Department" name="department" required="" style="font-size: 13px;">
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
<div class="col-md-12">
|
|
|
<div class="text-end">
|
|
|
- <button class="btn btn2">Update</button>
|
|
|
+ <button class="btn btn2">Update</button>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</form>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1006,7 +1014,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
<div class="card p-2 rounded border-0 mb-4 mt-3">
|
|
|
<div class="col-md-12">
|
|
|
<div class="text-end mt-2">
|
|
@@ -1014,16 +1022,16 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<button type="button" class="btn btn2" data-toggle="collapse" data-target="#demo15">Add New</button>
|
|
|
</a>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="col-md-12 mb-3">
|
|
|
<div id="demo15" class="collapse mt-2">
|
|
|
<div class="panel-body" style="padding:10px; background-color: #4b4c6824; border: 1px solid #e9e5e5; border-radius: 5px;">
|
|
|
-
|
|
|
+
|
|
|
<div class="row">
|
|
|
<div class="col-md-4">
|
|
|
<div class="mb-2">
|
|
|
<label class="form-label config">Destination</label>
|
|
|
- <div class="form-icon position-relative">
|
|
|
+ <div class="form-icon position-relative">
|
|
|
<select name="country_id" id="country_id" class="form-control" required="" style="font-size: 13px;">
|
|
|
<option value="" selected disabled>Select</option>
|
|
|
@foreach($market_countries as $row)
|
|
@@ -1049,22 +1057,22 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<div class="text-end">
|
|
|
- <button class="btn btn2" id="submit_uni">Save</button>
|
|
|
- <a href="{{url()->current()}}" class="btn btncl"><i class="fa fa-refresh"></i></a>
|
|
|
+ <button class="btn btn2" id="submit_uni">Save</button>
|
|
|
+ <a href="{{url()->current()}}" class="btn btncl"><i class="fa fa-refresh"></i></a>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
{{-- Load country wise university --}}
|
|
|
<div id="country_wise_university"></div>
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1074,7 +1082,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div><!--end col-->
|
|
|
</div><!--end row-->
|
|
|
</div><!--end container-->
|
|
|
-
|
|
|
+
|
|
|
</section><!--end section-->
|
|
|
|
|
|
|
|
@@ -1105,7 +1113,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<script src="{{ asset('css/flatpickr/dist/flatpickr.min.js') }}"></script>
|
|
|
<script src="{{ asset('css/wait-me/waitMe.min.js')}}"></script>
|
|
|
<script src="{{ asset('/css/switch/rcswitcher.js') }}"></script>
|
|
|
-
|
|
|
+
|
|
|
|
|
|
@include('web.layouts.modal')
|
|
|
<script>
|
|
@@ -1141,40 +1149,16 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
|
|
|
selector.waitMe(config);
|
|
|
|
|
|
- }else{
|
|
|
+ }else{
|
|
|
|
|
|
selector.waitMe({
|
|
|
effect: 'facebook',
|
|
|
//color: '#000',
|
|
|
text: 'Please! Wait ...'
|
|
|
- });
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- function pop_up_msg(msg='No message specified', type='success', callback=null){
|
|
|
- new Noty({
|
|
|
- theme:'sunset',
|
|
|
- text: msg,
|
|
|
- type: type,
|
|
|
- timeout:1500,
|
|
|
- callbacks:{
|
|
|
- afterClose: callback
|
|
|
+ });
|
|
|
}
|
|
|
- }).show();
|
|
|
}
|
|
|
|
|
|
- function err_msg(err){
|
|
|
-
|
|
|
- var msg="Request failed to process, try again later.";
|
|
|
-
|
|
|
- if(err.responseJSON && err.responseJSON.msg){
|
|
|
- msg=err.responseJSON.msg;
|
|
|
- }
|
|
|
-
|
|
|
- return msg;
|
|
|
-
|
|
|
- }
|
|
|
|
|
|
function ajax_form(form, cllback=null, config={spinner: true}){
|
|
|
|
|
@@ -1186,7 +1170,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
if(config.spinner) wait_me($(form));
|
|
|
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
$(form).ajaxSubmit({
|
|
|
success:function(res){
|
|
|
|
|
@@ -1226,22 +1210,49 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
|
|
|
});
|
|
|
|
|
|
- } //End of ajax form definition
|
|
|
+ } //End of ajax form definition
|
|
|
|
|
|
- $(function(){
|
|
|
|
|
|
- $('.status_change').on('click', function(e){
|
|
|
- var self =$(this);
|
|
|
+
|
|
|
+ function pop_up_msg(msg='No message specified', type='success', callback=null){
|
|
|
+ new Noty({
|
|
|
+ theme:'sunset',
|
|
|
+ text: msg,
|
|
|
+ type: type,
|
|
|
+ timeout:1500,
|
|
|
+ callbacks:{
|
|
|
+ afterClose: callback
|
|
|
+ }
|
|
|
+ }).show();
|
|
|
+ }
|
|
|
+
|
|
|
+ function err_msg(err){
|
|
|
+
|
|
|
+ var msg="Request failed to process, try again later.";
|
|
|
+
|
|
|
+ if(err.responseJSON && err.responseJSON.msg){
|
|
|
+ msg=err.responseJSON.msg;
|
|
|
+ }
|
|
|
+
|
|
|
+ return msg;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ $(function(){
|
|
|
+
|
|
|
+ $('.status_change').on('click', function(e){
|
|
|
+ var self =$(this);
|
|
|
var id =$(this).data('id');
|
|
|
- var value =$(this).data('value');
|
|
|
+ var value =$(this).data('value');
|
|
|
|
|
|
var form_data={
|
|
|
_token:"{{ csrf_token() }}",
|
|
|
'id':id,
|
|
|
'status':value
|
|
|
- }
|
|
|
+ }
|
|
|
swal({
|
|
|
- title: "Are you sure?",
|
|
|
+ title: "Are you sure?",
|
|
|
text: "Do you want to change this status?",
|
|
|
type: "warning",
|
|
|
showCancelButton: true,
|
|
@@ -1251,7 +1262,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
}, function(isConfirm){
|
|
|
|
|
|
if(isConfirm) {
|
|
|
- $.post("{{ route('ajax-post', ['name'=>'teacher_user_status_change'])}}" ,form_data).done(function(res){
|
|
|
+ $.post("{{ route('ajax-post', ['name'=>'teacher_user_status_change'])}}" ,form_data).done(function(res){
|
|
|
|
|
|
pop_up_msg(res.msg);
|
|
|
window.location.reload();
|
|
@@ -1264,10 +1275,10 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
msg=error.responseJSON.msg;
|
|
|
}
|
|
|
|
|
|
- pop_up_msg(msg, 'error');
|
|
|
- });
|
|
|
- }
|
|
|
- });
|
|
|
+ pop_up_msg(msg, 'error');
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
});
|
|
|
|
|
|
|
|
@@ -1278,19 +1289,19 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
|
|
|
|
|
|
|
|
|
- $('#submit_uni').on('click', function(){
|
|
|
- var country_id =$('#country_id option:selected').val();
|
|
|
+ $('#submit_uni').on('click', function(){
|
|
|
+ var country_id =$('#country_id option:selected').val();
|
|
|
var university_name =$('#university_name').val();
|
|
|
var university_website =$('#university_website').val();
|
|
|
|
|
|
var form_data={
|
|
|
- _token: "{{ csrf_token() }}",
|
|
|
+ _token: "{{ csrf_token() }}",
|
|
|
country_id: country_id,
|
|
|
university_name: university_name,
|
|
|
university_website: university_website,
|
|
|
}
|
|
|
|
|
|
- $.post("{{ route('ajax-post', ['name'=>'add_country_wise_uni']) }}", form_data, function(res){
|
|
|
+ $.post("{{ route('ajax-post', ['name'=>'add_country_wise_uni']) }}", form_data, function(res){
|
|
|
pop_up_msg(res.msg);
|
|
|
|
|
|
fetch_sub_content(
|
|
@@ -1302,7 +1313,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
|
|
|
pop_up_msg(err_msg(err), 'error');
|
|
|
|
|
|
- });
|
|
|
+ });
|
|
|
});
|
|
|
|
|
|
|
|
@@ -1312,16 +1323,16 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
);
|
|
|
|
|
|
|
|
|
- $('.add_department').on('click', function(){
|
|
|
+ $('.add_department').on('click', function(){
|
|
|
+
|
|
|
+ var dapartment =$('#dapartment').val();
|
|
|
|
|
|
- var dapartment =$('#dapartment').val();
|
|
|
-
|
|
|
var form_data={
|
|
|
- _token: "{{ csrf_token() }}",
|
|
|
- dapartment: dapartment,
|
|
|
+ _token: "{{ csrf_token() }}",
|
|
|
+ dapartment: dapartment,
|
|
|
}
|
|
|
|
|
|
- $.post("{{ route('ajax-post', ['name'=>'add_department']) }}", form_data, function(res){
|
|
|
+ $.post("{{ route('ajax-post', ['name'=>'add_department']) }}", form_data, function(res){
|
|
|
pop_up_msg(res.msg);
|
|
|
|
|
|
fetch_sub_content(
|
|
@@ -1333,10 +1344,10 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
|
|
|
pop_up_msg(err_msg(err), 'error');
|
|
|
|
|
|
- });
|
|
|
+ });
|
|
|
});
|
|
|
|
|
|
-
|
|
|
+
|
|
|
});
|
|
|
</script>
|
|
|
</body>
|