-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemp.php
More file actions
558 lines (522 loc) · 27.5 KB
/
Copy pathtemp.php
File metadata and controls
558 lines (522 loc) · 27.5 KB
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
<!DOCTYPE html>
<html lang="en">
<head>
<title>Material Admin - Dashboard</title>
<!-- BEGIN META -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="your,keywords">
<meta name="description" content="Short explanation about this website">
<!-- END META -->
<!-- BEGIN STYLESHEETS -->
<link href='http://fonts.googleapis.com/css?family=Roboto:300italic,400italic,300,400,500,700,900' rel='stylesheet' type='text/css'/>
<link type="text/css" rel="stylesheet" href="../assets/css/theme-default/bootstrap.css" />
<link type="text/css" rel="stylesheet" href="../assets/css/theme-default/materialadmin.css?1425466319" />
<link type="text/css" rel="stylesheet" href="../assets/css/theme-default/font-awesome.min.css?1422529194" />
<link type="text/css" rel="stylesheet" href="../assets/css/theme-default/material-design-iconic-font.min.css?1421434286" />
<link type="text/css" rel="stylesheet" href="../assets/css/theme-default/libs/select2/select2.css?1424887856" />
<link type="text/css" rel="stylesheet" href="../assets/css/theme-default/libs/multi-select/multi-select.css?1424887857" />
<link type="text/css" rel="stylesheet" href="../assets/css/theme-default/libs/bootstrap-datepicker/datepicker3.css?1424887858" />
<link type="text/css" rel="stylesheet" href="../assets/css/theme-default/libs/jquery-ui/jquery-ui-theme.css?1423393666" />
<link type="text/css" rel="stylesheet" href="../assets/css/theme-default/libs/bootstrap-colorpicker/bootstrap-colorpicker.css?1424887860" />
<link type="text/css" rel="stylesheet" href="../assets/css/theme-default/libs/bootstrap-tagsinput/bootstrap-tagsinput.css?1424887862" />
<link type="text/css" rel="stylesheet" href="../assets/css/theme-default/libs/typeahead/typeahead.css?1424887863" />
<link type="text/css" rel="stylesheet" href="../assets/css/theme-default/libs/dropzone/dropzone-theme.css?1424887864" />
<link type="text/css" rel="stylesheet" href="../assets/css/theme-default/libs/DataTables/jquery.dataTables.css?1423553989" />
<link type="text/css" rel="stylesheet" href="../assets/css/theme-default/libs/DataTables/extensions/dataTables.colVis.css?1423553990" />
<link type="text/css" rel="stylesheet" href="../assets/css/theme-default/libs/DataTables/extensions/dataTables.tableTools.css?1423553990" />
<link type="text/css" rel="stylesheet" href="../assets/css/theme-default/libs/toastr/toastr.css?1425466569" />
<link type="text/css" href="../../../assets/css/jquery-ui.min.css" rel="stylesheet" />
<link rel = "stylesheet" href = "../../../assets/css/style.css" />
<link type="text/css" rel="stylesheet" href="http://cuportal.covenantuniversity.edu.ng/assets/css/style.css" />
<style type="text/css">
.center-text{
text-align: center;
}
</style>
<!-- END STYLESHEETS -->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script type="text/javascript" src="assets/js/libs/utils/html5shiv.js?1403934957"></script>
<script type="text/javascript" src="assets/js/libs/utils/respond.min.js?1403934956"></script>
<![endif]-->
</head>
<body class="menubar-hoverable header-fixed ">
<div id="container">
<section>
<div class="section-body">
<div class="row">
<div class="col-md-12">
<input type="button" style="float: right;" class="btn btn-default" onclick=" window.open('printstatementofaccount.php?id=L0xRaEtaQXhiSVNsbzJZeW1XTlVHZz09')" value="Print Statement"/>
<br/><br/>
<form class="form" name="statementform" id="statementform" Method="post" action =''>
<div class="card">
<div class="card-body">
<div class="form-group">
<Select id = 'sessionp' name= 'sessionp' placeholder="Select a Session" onchange="document.getElementById('statementform').submit()">
<option value=''>...</option><option value='21'>2022/2023</option><option value='22'>2023/2024</option><option value='23' selected>2024/2025</option> </Select>
<label for="sessionp">SELECT A SESSION</label>
</div>
</div>
<div class="card-head style-default">
<header><meta http-equiv="Content-Type" content="text/html; charset=utf-8">Statement of Account for 2024/2025 Session (naira)</header>
</div>
<div class="card-body">
<div class="row">
<div class="col-sm-3">
<div class="form-group">
<input type="text" readonly="readonly" class="form-control" id="Firstname1" name="name" value="Solution Okeniyi">
<label for="name">Name</label>
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<input type="text" readonly="readonly" class="form-control" name="registrationno" value="2204038" />
<label for="registrationno">Registration Number</label>
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<input type="text" readonly="readonly" class="form-control" name="matno" value="22CK031243" />
<label for="matno">Matriculation Number</label>
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<input type="text" readonly="readonly" class="form-control" name="program" value="Electrical And Electronics Engineering" />
<label>Program</label>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-3">
<div class="form-group">
<!-- <input type="text" readonly="readonly" class="form-control" name="college" value="--><!--" />-->
<textarea readonly="readonly" class="form-control" name="college">Engineering</textarea>
<label>College</label>
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<!-- <input type="text" readonly="readonly" class="form-control" name="deparment" value="--><!--" />-->
<textarea class="form-control" readonly="readonly" name="department">EIE</textarea>
<label>Department</label>
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<input type="text" readonly="readonly" class="form-control" name="level" value="300" />
<label>Level</label>
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<input type="text" readonly="readonly" class="form-control" name="hall" value="" />
<label>Hall</label>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-5">
<h3 align="center" class="text-primary">Bill</h3>
<div class="form-group">
<table id="datatable" class="table table-bordered table-striped table-hover">
<thead>
<tr>
<th>S/N</th>
<th>Purpose</th>
<th>Amount</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>school fees:</td>
<td width="10%" align="right">1,591,200</td>
<td>15-Sep-2024 4:18 am</td>
</tr>
<tr>
<td></td>
<td><b>Total Bills: </b></td>
<td align="right"><b>1,591,200</b></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<h3 align="center" class="text-primary">Refund History</h3>
<div class="form-group table-responsive">
<table id="datatable" class="table table-bordered table-striped table-hover">
<thead>
<tr class="active">
<th>S/N</th>
<th>Bank</th>
<th>Account Number</th>
<th>Amount Approved</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td></td>
<td><b>Total Refund: </b></td>
<td align="right"><b>0</b></td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="col-sm-7">
<h3 align="center" class="text-primary">Payment History</h3>
<div class="form-group table-responsive">
<table id="datatable2" class="table table-bordered table-striped table-hover">
<thead>
<tr class="active">
<th>S/N</th>
<th>Receipt No</th>
<th>Purpose</th>
<th>Payment Type</th>
<th>Bank</th>
<th>Amount</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td><b>Total Payment: </b></td>
<td align="right"><b>0</b></td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<h3 align="center" class="text-primary">Account Summary</h3>
<div class="row">
<div class="col-sm-offset-1 col-sm-2">
<div class="form-group">
<label>Amount Brought Forward</label>
<input type="text" readonly="readonly" class="form-control" name="brotforward" value="37,150" />
</div>
</div>
<div class="col-sm-2">
<div class="form-group">
<input type="text" readonly="readonly" class="form-control" name="tcharges" value="1,591,200" />
<label>Total Charges</label>
</div>
</div>
<div class="col-sm-2">
<div class="form-group">
<input type="text" readonly="readonly" class="form-control" name="tpayments" value="0" />
<label>Total Payments</label>
</div>
</div>
<div class="col-sm-2">
<div class="form-group">
<input type="text" readonly="readonly" class="form-control" name="trefund" value="0" />
<label>Total Refund</label>
</div>
</div>
<div class="col-sm-2">
<div class="form-group">
<input type="text" readonly="readonly" class="form-control" name="tbalance" value="1,628,350" />
<label>Balance</label>
</div>
</div>
</div>
<!--
<div class="form-group">
<input type="text" disabled class="form-control" name="schoolfees" value="0" />
<label>School Fees</label>
</div>
-->
</div><!--end .card-body -->
</div><!--end .card -->
</form>
</div><!--end .col -->
</div>
<!-- Put print page here hidden="hidden"-->
<div id="DivIdToPrint" hidden="hidden">
<div class="container">
<br/>
<div class="rowprint" style="text-align:center;">
<img style="width:70px; height:70px;" src="../assets/img/CU_LOGO.jpg" />
</div>
<br/>
<div class="rowprint">
<div class="col-md-offset-3 col-md-6 textcenter">
<h2><b>COVENANT UNIVERSITY, OTA</b></h2>
<h3><b>STUDENT'S STATEMENT OF ACCOUNT FOR 2024/2025 Session (naira)</b></h3>
</div>
</div>
<div class="rowprint">
<div class="col-md-6 textleft">
<h3>Personal Details</h3><hr>
</div>
</div>
<div style="@media print{ border: 2px solid #ddd !important;}">
<div class="rowprint">
<div class="col-print-3">
<div class="form-group">
<label>Name</label><br><br>
<label class="fontcustom">Solution Okeniyi</label>
<!-- <input type="text" hidden="hidden" readonly="readonly" class="fontcustom" value="Solution Okeniyi" /> -->
</div>
</div>
<div class="col-print-3">
<div class="form-group">
<label>Registration Number</label><br><br>
<label class="fontcustom">2204038</label>
<!-- <input type="text" readonly="readonly" class="fontcustom" value="2204038" /> -->
</div>
</div>
<div class="col-print-3">
<div class="form-group">
<label>Matriculation Number</label><br><br>
<label class="fontcustom">22CK031243</label>
<!-- <input type="text" readonly="readonly" class="fontcustom" value="22CK031243" /> -->
</div>
</div>
<div class="col-print-3">
<div class="form-group">
<label>Program</label><br><br>
<label class="fontcustom">Electrical and Electronics Engineering</label>
<!-- <input type="text" readonly="readonly" class="fontcustom" value="Electrical and Electronics Engineering" /> -->
</div>
</div>
</div>
<hr class="hr">
<div class="rowprint">
<div class="col-print-3">
<div class="form-group">
<label>College</label><br><br>
<label class="fontcustom">Engineering</label>
<!-- <input type="text" readonly="readonly" class="form-control" value="College of Engineering" /> -->
</div>
</div>
<div class="col-print-3">
<div class="form-group">
<label>Department</label><br><br>
<label class="fontcustom"></label>
<!-- <input type="text" readonly="readonly" class="form-control" value="EIE" /> -->
</div>
</div>
<div class="col-print-3">
<div class="form-group">
<label>Level</label><br><br>
<label class="fontcustom">300</label>
<!-- <input type="text" readonly="readonly" class="form-control" value="300" /> -->
</div>
</div>
<div class="col-print-3">
<div class="form-group">
<label>Hall</label><br><br>
<label class="fontcustom"></label>
<!-- <input type="text" readonly="readonly" class="form-control" value="Daniel" /> -->
</div>
</div>
</div>
</div>
<div class="rowprint">
<div class="col-md-6 textleft">
<h3>Account Details</h3>
<hr>
</div>
</div>
<div class="rowprint">
<div class="col-print-3">
<div class="form-group">
<label>Amount Brought Forward</label><br><br>
<label class="fontcustom">37,150</label>
<!-- <input type="text" readonly="readonly" class="form-control" value="37,150" /> -->
</div>
</div>
<div class="col-print-3">
<div class="form-group">
<label>Portal Payment</label><br><br>
<label class="fontcustom">0</label>
<!-- <input type="text" readonly="readonly" class="form-control" value="0" /> -->
</div>
</div>
<div class="col-print-3">
<div class="form-group">
<label>Total Payment</label><br><br>
<label class="fontcustom">0</label>
<!-- <input type="text" readonly="readonly" class="form-control" value="0" /> -->
</div>
</div>
<div class="col-print-3">
<div class="form-group">
<label>Total Bills</label><br><br>
<label class="fontcustom">1,591,200</label>
<!-- <input type="text" readonly="readonly" class="form-control" value="1,591,200" /> -->
</div>
</div>
</div>
<hr class="hr">
<div class="rowprint">
<div class="col-print-3">
<div class="form-group">
<label>Total Refund</label><br><br>
<label class="fontcustom">0</label>
<!-- <input type="text" readonly="readonly" class="form-control" value="0" /> -->
</div>
</div>
<div class="col-print-3">
<div class="form-group">
<label>Balance</label><br><br>
<label class="fontcustom">1,628,350</label>
<!-- <input type="text" readonly="readonly" class="form-control" value="1,628,350" /> -->
</div>
</div>
</div>
<div class="rowprint">
<div class="col-md-6 textleft">
<h3>Payments</h3>
<hr>
</div>
</div>
<div class="rowprint" style="@media print{min-height: 100px}">
<table class="table table-bordered">
<thead>
<tr class="active">
<th>S/N</th>
<th>Receipt No</th>
<th>Purpose</th>
<th>Payment Type</th>
<th>Bank</th>
<th>Amount</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td><b>Total Payment: </b></td>
<td align="right"><b>0</b></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div class="rowprint">
<div class="col-sm-6 textleft">
<h3>Bills</h3>
<hr>
</div>
</div>
<div class="rowprint" style="@media print{min-height: 100px}">
<table class="table table-bordered">
<thead>
<tr class="active">
<th>S/N</th>
<th>Purpose</th>
<th>Amount</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>SCHOOL FEES</td>
<td width="10%" align="right">1,591,200</td>
<td>15-Sep-2024 4:18 am</td>
</tr>
<tr>
<td></td>
<td><b>Total Bills: </b></td>
<td align="right"><b>1,591,200</b></td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- end print page -->
</div><!--end .section-body -->
</section>
</div><!--end #content-->
<!-- END CONTENT -->
<!-- BEGIN JAVASCRIPT -->
<script src="../assets/js/libs/jquery/jquery-1.11.2.min.js"></script>
<script src="../assets/js/libs/jquery/jquery-migrate-1.2.1.min.js"></script>
<script src="../assets/js/libs/jquery-ui/jquery-ui.min.js"></script>
<script src="../assets/js/libs/jquery-validation/dist/jquery.validate.min.js"></script>
<script src="../assets/js/libs/bootstrap/bootstrap.min.js"></script>
<script src="../assets/js/libs/spin.js/spin.min.js"></script>
<script src="../assets/js/libs/autosize/jquery.autosize.min.js"></script>
<script src="../assets/js/libs/select2/select2.min.js"></script>
<script src="../assets/js/libs/bootstrap-tagsinput/bootstrap-tagsinput.min.js"></script>
<script src="../assets/js/libs/multi-select/jquery.multi-select.js"></script>
<script src="../assets/js/libs/inputmask/jquery.inputmask.bundle.min.js"></script>
<script src="../assets/js/libs/moment/moment.min.js"></script>
<script src="../assets/js/libs/bootstrap-datepicker/bootstrap-datepicker.js"></script>
<script src="../assets/js/libs/bootstrap-colorpicker/bootstrap-colorpicker.min.js"></script>
<script src="../assets/js/libs/typeahead/typeahead.bundle.min.js"></script>
<script src="../assets/js/libs/dropzone/dropzone.min.js"></script>
<script src="../assets/js/libs/nanoscroller/jquery.nanoscroller.min.js"></script>
<script src="../assets/js/libs/jquery-number/jquery.number.min.js"></script>
<script src="../assets/js/core/source/App.js"></script>
<script src="../assets/js/core/source/AppNavigation.js"></script>
<script src="../assets/js/core/source/AppOffcanvas.js"></script>
<script src="../assets/js/core/source/AppCard.js"></script>
<script src="../assets/js/core/source/AppForm.js"></script>
<script src="../assets/js/core/source/AppNavSearch.js"></script>
<script src="../assets/js/core/source/AppVendor.js"></script>
<script src="../assets/js/core/demo/Demo.js"></script>
<script src="../assets/js/core/demo/DemoFormComponents.js"></script>
<!-- Data tables -->
<script src="../assets/js/libs/DataTables/jquery.dataTables.min.js"></script>
<script src="../assets/js/libs/DataTables/extensions/ColVis/js/dataTables.colVis.min.js"></script>
<script src="../assets/js/libs/DataTables/extensions/TableTools/js/dataTables.tableTools.min.js"></script>
<script src="../assets/js/core/demo/DemoTableDynamic.js"></script>
<script src="../assets/js/jsfunctions.js"></script>
<!-- END JAVASCRIPT -->
<div id="device-breakpoints"><div class="device-xs visible-xs" data-breakpoint="xs"></div><div class="device-sm visible-sm" data-breakpoint="sm"></div><div class="device-md visible-md" data-breakpoint="md"></div><div class="device-lg visible-lg" data-breakpoint="lg"></div></div>
</body>
</html><!-- BEGIN CONTENT-->
<script type="text/javascript">
function AlertMe(hashed){
alert('heres the hashed key ' + hashed);
}
function setPrint (hashed){
}
function printDiv(divvalue, regno)
{
var divToPrint=document.getElementById(divvalue);
var newWin = window.open('','Print-Window');
newWin.document.open();
newWin.document.write("<html><head>");
newWin.document.write("<title>STATEMENT OF ACCOUNT</title><link href='http://fonts.googleapis.com/css?family=Roboto:300italic,400italic,300,400,500,700,900' rel='stylesheet' type='text/css' /><link type='text/css' rel='stylesheet' href='../assets/css/print.css' /><link type='text/css' rel='stylesheet' href='../assets/css/style.css' />");
newWin.document.write("<style>@media print{.fontcustom {font-size: 16px; font-family: helvetica;} .textleft {text-align:left;} .textcenter {text-align:center;} .nobreak {page-break-after:avoid;} .page-break { display:block; page-break-after:always;} }</style>");
newWin.document.write("</head><body onload='window.print()'>"+divToPrint.innerHTML+"</body></html>");
// newWin.document.write("<title>STATEMENT OF ACCOUNT</title><link href='http://fonts.googleapis.com/css?family=Roboto:300italic,400italic,300,400,500,700,900' rel='stylesheet' type='text/css' /><link type='text/css' rel='stylesheet' href='../../../assets/css/bootstrap.min.css' />");
// newWin.document.write("<style>@media print{line-height: 150%;} .nobreak {page-break-after:avoid;} .page-break { display:block; page-break-after:always;}}</style>");
setTimeout(function(){newWin.document.close();},500);
setTimeout(function(){newWin.close();},500);
// //var newWin = window.open('','','width=1000,height=1000');
// document.open();
// document.write("<html>");
// document.write("<title>STATEMENT OF ACCOUNT</title><link href='http://fonts.googleapis.com/css?family=Roboto:300italic,400italic,300,400,500,700,900' rel='stylesheet' type='text/css' /><link type='text/css' rel='stylesheet' href='assets/css/theme-default/bootstrap.css?1422792965' /><link type='text/css' rel='stylesheet' href='assets/css/style.css' />");
// document.write("<style>@media print{ .nobreak {page-break-after:avoid;} .page-break { display:block; page-break-after:always;}@page {size: landscape}}</style>");
// document.write("<body>"+divToPrint.innerHTML+"</body></html>");
// focus();
// window.print();
// document.close();
// setTimeout(function(){close();},10);
// window.location.href = "viewstatementofaccount.php?matno=" + matno;
}
//window.onload = printDiv;
</script>