Raffales-LMS/resources/views/followup/followupDate.blade.php
2024-04-16 15:43:24 +05:45

72 lines
2.3 KiB
PHP

@extends('layouts.admin.admin')
@section('page-specific-styles')
<link rel="stylesheet" href="{{ asset('css/jquery.dataTables.min.css') }}">
<link rel="stylesheet" href="{{ asset('css/TableTools.min.css') }}" />
<link rel="stylesheet" href="{{ asset('css/lightbox.css') }}" />
@endsection
@section('title', 'Followups')
@section('content')
<div class="nk-block-head">
<div class="nk-block-head-between flex-wrap gap g-2">
<div class="nk-block-head-content">
<h2 class="nk-block-title">Followup Lists According to Recent Dates</h1>
<nav>
<ol class="breadcrumb breadcrumb-arrow mb-0">
<li class="breadcrumb-item"><a href="#">Home</a></li>
<li class="breadcrumb-item"><a href="#">Followup Lists</a></li>
</ol>
</nav>
</div>
</div>
</div>
<div class="nk-block">
<div class="card mt-3 mb-2">
<table class="datatable-init table" data-nk-container="table-responsive" id="CustomTable">
<thead class="table-light">
<tr>
<th>SN</th>
<th>Student Name</th>
<th>Email</th>
<th>Phone</th>
<th>Next Schedule</th>
<th>Follow Up By</th>
<th>Remarks</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
@each('followup.partials.table', $followupbydate, 'followup')
</tbody>
</table>
</div>
</div>
@stop
@section('page-specific-scripts')
<script src="{{ asset('js/datatables.min.js') }}"></script>
<script src="{{ asset('js/lightbox.js') }}"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#datatable').DataTable();
});
$(document).on('click','.addfollowup',function (e) {
let commission_id = $(this).data('commission_id');
$(".change_claim_commission").val(commission_id);
$('.add_followup').modal('show');
});
</script>
@endsection