first commit
This commit is contained in:
71
resources/views/followup/followupDate.blade.php
Normal file
71
resources/views/followup/followupDate.blade.php
Normal file
@@ -0,0 +1,71 @@
|
||||
@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
|
71
resources/views/followup/index.blade.php
Normal file
71
resources/views/followup/index.blade.php
Normal file
@@ -0,0 +1,71 @@
|
||||
@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 </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', $followups, '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
|
28
resources/views/followup/partials/table.blade.php
Normal file
28
resources/views/followup/partials/table.blade.php
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
@if(!empty($followup->registration($followup->id)))
|
||||
|
||||
<tr>
|
||||
<td>{{++$key}}</td>
|
||||
<td>{{ $followup->registration($followup->id)->name}}</td>
|
||||
<td>{{ $followup->registration($followup->id)->email }}</td>
|
||||
<td>{{ $followup->registration($followup->id)->phone }}</td>
|
||||
<td>{{ $followup->next_schedule }}</td>
|
||||
<td>{{ Str::limit($followup->follow_up_by, 47) }}</td>
|
||||
<td>{{ Str::limit($followup->remarks, 47) }}</td>
|
||||
|
||||
<td >
|
||||
<a href="{{route('followup.show', $followup->id)}}" class="btn btn-flat btn-edit btn-color-primary btn-hover-primary btn-icon btn-soft" title="edit">
|
||||
<em class="icon ni ni-edit"></em>
|
||||
</a>
|
||||
<a href="#">
|
||||
<button type="button" class="btn btn-flat btn btn-color-danger btn-hover-danger btn-icon btn-soft" onclick="deleteThis(this); return false;" link="{{ route('followup.destroy', $followup->id) }}">
|
||||
<em class="icon ni ni-trash"></em>
|
||||
</button>
|
||||
</a>
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
|
||||
|
80
resources/views/followup/show.blade.php
Normal file
80
resources/views/followup/show.blade.php
Normal file
@@ -0,0 +1,80 @@
|
||||
@extends('layouts.admin.admin')
|
||||
|
||||
@section('title', 'Followup')
|
||||
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="d-flex">
|
||||
<header class="text-capitalize pt-1">Follow Ups</header>
|
||||
<div class="form-group ml-auto">
|
||||
<div>
|
||||
<a class="btn btn-light waves-effect ml-1" href="{{ route('followup.index') }}">
|
||||
<i class="md md-arrow-back"></i>
|
||||
Back
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card mt-2 p-4">
|
||||
<div class="card-body p-5">
|
||||
<div class="container">
|
||||
<h4>Student Detail: </h4>
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<label>Student Name: <span>{{ $followup->registration($followup->id)->name }}</span></label>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<label>Email: <span>{{ $followup->registration($followup->id)->email }}</span></label>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<label>Phone: <span>{{ $followup->registration($followup->id)->phone }}</span></label>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<hr>
|
||||
<h4>Follow Up Details: </h4>
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<label>Folllow Up By: <span>{{ $followup->follow_up_by }}</span></label>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<label>Next Schedule: <span>{{ $followup->next_schedule }}</span></label>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<label>Remarks: <span>{{ $followup->remarks }}</span></label>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
|
||||
@push('styles')
|
||||
<style type="text/css">
|
||||
#accordion .card-head {
|
||||
cursor: n-resize;
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
|
||||
@push('scripts')
|
||||
<script src="{{ asset('backend/js/libs/jquery-validation/dist/jquery.validate.min.js') }}"></script>
|
||||
<script src="{{ asset('backend/js/libs/jquery-validation/dist/additional-methods.min.js') }}"></script>
|
||||
<script src="{{ asset('backend/js/libs/jquery-ui/jquery-ui.min.js') }}"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('#example').DataTable();
|
||||
});
|
||||
</script>
|
||||
@endpush
|
74
resources/views/followup/todayFollowups.blade.php
Normal file
74
resources/views/followup/todayFollowups.blade.php
Normal file
@@ -0,0 +1,74 @@
|
||||
@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">Todays Followup Lists <span id="todaydate"></span></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', $listorder, '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');
|
||||
|
||||
});
|
||||
|
||||
let today = new Date();
|
||||
document.getElementsById('todaydate').innerHTML = today ;
|
||||
</script>
|
||||
@endsection
|
Reference in New Issue
Block a user