|
@@ -395,7 +395,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
<div class="col-md-2" style="display:flex; justify-content: end;">
|
|
<div class="col-md-2" style="display:flex; justify-content: end;">
|
|
<ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
|
|
<ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
|
|
<li class="nav-item dropdown dropdown-notification">
|
|
<li class="nav-item dropdown dropdown-notification">
|
|
- <a href="javascript:void(0)" class="open_modal_page" data-url="{{route('modal-get',['name'=>'admin_invited'])}}" data-title="Invite">
|
|
|
|
|
|
+ <a href="javascript:void(0)" class="open_modal_page" data-url="{{route('modal-get',['name'=>'teacher_invited','id'=>auth_user('admin')->id])}}" data-title="Invite">
|
|
<button class="btn btn2" style="padding: 6px 10px !important;">New lead</button>
|
|
<button class="btn btn2" style="padding: 6px 10px !important;">New lead</button>
|
|
</a>
|
|
</a>
|
|
</li>
|
|
</li>
|
|
@@ -414,7 +414,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
</a>
|
|
</a>
|
|
</li>
|
|
</li>
|
|
</ul> -->
|
|
</ul> -->
|
|
-
|
|
|
|
|
|
+
|
|
<ul class="nav navbar-nav align-items-center ml-auto header_right ps-1">
|
|
<ul class="nav navbar-nav align-items-center ml-auto header_right ps-1">
|
|
<li class="nav-item dropdown dropdown-notification">
|
|
<li class="nav-item dropdown dropdown-notification">
|
|
<a href="">
|
|
<a href="">
|
|
@@ -513,8 +513,8 @@ tbody, td, tfoot, th, thead, tr {
|
|
<th>Student Information</th>
|
|
<th>Student Information</th>
|
|
<th>Teacher Information</th>
|
|
<th>Teacher Information</th>
|
|
<th>Proposal Summary</th>
|
|
<th>Proposal Summary</th>
|
|
- <th>Applied on</th>
|
|
|
|
- <th>Status</th>
|
|
|
|
|
|
+ <th>Applied on</th>
|
|
|
|
+ <th>Status</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody>
|
|
<tbody>
|
|
@@ -586,9 +586,9 @@ tbody, td, tfoot, th, thead, tr {
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-12">
|
|
<div class="col-md-12">
|
|
- <div class="row align-items-center">
|
|
|
|
- <div class="card rounded border-0 p-2" style="background-color:white;">
|
|
|
|
-
|
|
|
|
|
|
+ <div class="row align-items-center">
|
|
|
|
+ <div class="card rounded border-0 p-2" style="background-color:white;">
|
|
|
|
+
|
|
<div class="row">
|
|
<div class="row">
|
|
<div class="tab-content" id="pills-tabContent">
|
|
<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="card border-0 tab-pane fade show active" id="registers" role="tabpanel" aria-labelledby="student-register">
|
|
@@ -745,8 +745,8 @@ tbody, td, tfoot, th, thead, tr {
|
|
</div>
|
|
</div>
|
|
<div class="col-md-12">
|
|
<div class="col-md-12">
|
|
<div class="row align-items-center">
|
|
<div class="row align-items-center">
|
|
- <div class="col-md-12 mb-3" style="padding:0px;">
|
|
|
|
- <div class="card rounded border-0 p-3" style="background-color:white;">
|
|
|
|
|
|
+ <div class="col-md-12 mb-3" style="padding:0px;">
|
|
|
|
+ <div class="card rounded border-0 p-3" style="background-color:white;">
|
|
<div class="row">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div class="col-12">
|
|
<div class="tab-content" id="pills-tabContent">
|
|
<div class="tab-content" id="pills-tabContent">
|
|
@@ -915,20 +915,26 @@ tbody, td, tfoot, th, thead, tr {
|
|
<th>Name</th>
|
|
<th>Name</th>
|
|
<th>Email</th>
|
|
<th>Email</th>
|
|
<th>Invited on</th>
|
|
<th>Invited on</th>
|
|
- <th>Registered</th>
|
|
|
|
|
|
+ <th>Registered</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
|
|
+
|
|
<tbody>
|
|
<tbody>
|
|
- <tr>
|
|
|
|
- <td style="font-size: 11px;">-</td>
|
|
|
|
- <td style="font-size: 11px; width: 22%;">-</td>
|
|
|
|
- <td style="font-size: 11px; width: 30%;">-</td>
|
|
|
|
- <td style="font-size: 11px;">-</td>
|
|
|
|
- <td style="font-size: 11px;">-</td>
|
|
|
|
- </tr>
|
|
|
|
- <!-- <tr>
|
|
|
|
- <td colspan="5" class="text-center text-danger">No data found!</td>
|
|
|
|
- </tr> -->
|
|
|
|
|
|
+ @if(count($invited_registered_list) >0)
|
|
|
|
+ @foreach($invited_registered_list as $key=>$row)
|
|
|
|
+ <tr>
|
|
|
|
+ <td style="font-size: 11px;">{{ ++$key }}</td>
|
|
|
|
+ <td style="font-size: 11px; width: 22%;">{{ $row->first_name }} {{ $row->last_name }}</td>
|
|
|
|
+ <td style="font-size: 11px; width: 30%;">{{ $row->email }}</td>
|
|
|
|
+ <td style="font-size: 11px;">{{ date('d M Y', strtotime($row->created_at)) }}</td>
|
|
|
|
+ <td style="font-size: 11px;">@if(!empty($row->registered_at)) {{ date('d M Y', strtotime($row->registered_at)) }} @else -- @endif</td>
|
|
|
|
+ </tr>
|
|
|
|
+ @endforeach
|
|
|
|
+ @else
|
|
|
|
+ <tr>
|
|
|
|
+ <td colspan="5" class="text-center text-danger">No data found!</td>
|
|
|
|
+ </tr>
|
|
|
|
+ @endif
|
|
</tbody>
|
|
</tbody>
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
@@ -1153,60 +1159,6 @@ tbody, td, tfoot, th, thead, tr {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
- function ajax_form(form, cllback=null, config={spinner: true}){
|
|
|
|
-
|
|
|
|
- $('.btn-submit').prop('disabled', true);
|
|
|
|
- var redirect=$(form).data('redirect');
|
|
|
|
-
|
|
|
|
- if(typeof config=='object'){
|
|
|
|
-
|
|
|
|
- if(config.spinner) wait_me($(form));
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- $(form).ajaxSubmit({
|
|
|
|
- success:function(res){
|
|
|
|
-
|
|
|
|
- wait_me($(form), 'hide');
|
|
|
|
-
|
|
|
|
- if(res.msg){
|
|
|
|
-
|
|
|
|
- pop_up_msg(res.msg, 'success', function(){
|
|
|
|
-
|
|
|
|
- //$('.btn-submit').prop('disabled', false);
|
|
|
|
-
|
|
|
|
- if(redirect) window.location.replace(redirect);
|
|
|
|
- else if(typeof cllback=='function'){
|
|
|
|
- cllback(form);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- });
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- //$.notify(res.msg, 'success');
|
|
|
|
- },
|
|
|
|
- error:function(res){
|
|
|
|
-
|
|
|
|
- wait_me($(form), 'hide');
|
|
|
|
-
|
|
|
|
- var msg="Request failed to process, try again later.";
|
|
|
|
-
|
|
|
|
- if(res.responseJSON && res.responseJSON.msg){
|
|
|
|
- msg=res.responseJSON.msg;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- pop_up_msg(msg, 'error');
|
|
|
|
- $('.btn-submit').prop('disabled', false);
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- });
|
|
|
|
-
|
|
|
|
- } //End of ajax form definition
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
function pop_up_msg(msg='No message specified', type='success', callback=null){
|
|
function pop_up_msg(msg='No message specified', type='success', callback=null){
|
|
new Noty({
|
|
new Noty({
|
|
theme:'sunset',
|
|
theme:'sunset',
|