-
Notifications
You must be signed in to change notification settings - Fork 0
/
header-summary-accounts.php
executable file
·102 lines (96 loc) · 4.35 KB
/
header-summary-accounts.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!-- Content Row -->
<!--HEADER SUMMARY FOR AN ACCOUNTANT-->
<div class="row">
<!-- Total Students -->
<div class="col-xl-3 col-md-6 mb-4">
<div class="card border-left-primary shadow h-100 py-2">
<div class="card-body">
<div class="row no-gutters align-items-center">
<div class="col mr-2">
<div class="text-xs font-weight-bold text-primary text-uppercase mb-1">
Total Ctr No Created</div>
<?php
$sql = "SELECT * FROM student_bill";
$query = mysqli_query($conn, $sql);
$count = mysqli_num_rows($query);
?>
<div class="h5 mb-0 font-weight-bold text-gray-800"><?php echo $count; ?></div>
</div>
<div class="col-auto">
<i class="fas fa-users fa-2x text-gray-300"></i>
</div>
</div>
</div>
</div>
</div>
<!-- Registered Students -->
<div class="col-xl-3 col-md-6 mb-4">
<div class="card border-left-success shadow h-100 py-2">
<div class="card-body">
<div class="row no-gutters align-items-center">
<div class="col mr-2">
<div class="text-xs font-weight-bold text-success text-uppercase mb-1">
Paid Control Numbers</div>
<?php
$sql = "SELECT * FROM student_bill where status='paid'";
$query = mysqli_query($conn, $sql);
$count = mysqli_num_rows($query);
?>
<div class="h5 mb-0 font-weight-bold text-gray-800"><?php echo $count; ?></div>
</div>
<div class="col-auto">
<i class="fas fa-user-check fa-2x text-gray-300"></i>
</div>
</div>
</div>
</div>
</div>
<!-- Frozen Studies -->
<div class="col-xl-3 col-md-6 mb-4">
<div class="card border-left-info shadow h-100 py-2">
<div class="card-body">
<div class="row no-gutters align-items-center">
<div class="col mr-2">
<div class="text-xs font-weight-bold text-info text-uppercase mb-1">Pending Payments
</div>
<div class="row no-gutters align-items-center">
<div class="col-auto">
<?php
$sql = "SELECT * FROM student_bill where status='pending'";
$query = mysqli_query($conn, $sql);
$count = mysqli_num_rows($query);
?>
<div class="h5 mb-0 mr-3 font-weight-bold text-gray-800"><?php echo $count; ?></div>
</div>
</div>
</div>
<div class="col-auto">
<i class="fas fa-clipboard-list fa-2x text-gray-300"></i>
</div>
</div>
</div>
</div>
</div>
<!-- Pending Requests Card Example -->
<div class="col-xl-3 col-md-6 mb-4">
<div class="card border-left-warning shadow h-100 py-2">
<div class="card-body">
<div class="row no-gutters align-items-center">
<div class="col mr-2">
<div class="text-xs font-weight-bold text-warning text-uppercase mb-1">
Exp Control Numbers</div>
<?php
$sql = "SELECT * FROM student_bill where status='expired'";
$query = mysqli_query($conn, $sql);
$count = mysqli_num_rows($query);
?>
<div class="h5 mb-0 font-weight-bold text-gray-800"><?php echo $count; ?></div>
</div>
<div class="col-auto">
<i class="fas fa-user-clock fa-2x text-gray-300"></i>
</div>
</div>
</div>
</div>
</div>
</div>