-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathereport.php
executable file
·393 lines (386 loc) · 23.4 KB
/
ereport.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
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
<!DOCTYPE html>
<html lang="en">
<?php include('assets/_partials/head.php');?>
<body class="hold-transition sidebar-mini">
<!--preloader-->
<div id="preloader">
<div id="status"></div>
</div>
<!-- Site wrapper -->
<div class="wrapper">
<?php include('assets/_partials/header.php');?>
<!-- =============================================== -->
<!-- Left side column. contains the sidebar -->
<aside class="main-sidebar">
<!-- sidebar -->
<?php include('assets/_partials/navbar.php');?>
<!-- /.sidebar -->
</aside>
<!-- =============================================== -->
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="header-icon">
<i class="fa fa-file-o"></i>
</div>
<div class="header-title">
<h1>Expense Report</h1>
<small>List of Expense Report</small>
</div>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-sm-12">
<div class="panel panel-bd lobidrag">
<div class="panel-heading">
<div class="btn-group" id="buttonexport">
<a href="#">
<h4>Expense Summary including Transfer</h4>
</a>
</div>
</div>
<div class="panel-body">
<!-- Plugin content:powerpoint,txt,pdf,png,word,xl -->
<div class="btn-group">
<button class="btn btn-exp btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-bars"></i> Export Table Data</button>
<ul class="dropdown-menu exp-drop" role="menu">
<li>
<a href="#" onclick="$('#dataTableExample1').tableExport({type:'json',escape:'false'});">
<img src="assets/dist/img/json.png" width="24" alt="logo"> JSON</a>
</li>
<li>
<a href="#" onclick="$('#dataTableExample1').tableExport({type:'json',escape:'false',ignoreColumn:'[2,3]'});">
<img src="assets/dist/img/json.png" width="24" alt="logo"> JSON (ignoreColumn)</a>
</li>
<li><a href="#" onclick="$('#dataTableExample1').tableExport({type:'json',escape:'true'});">
<img src="assets/dist/img/json.png" width="24" alt="logo"> JSON (with Escape)</a>
</li>
<li class="divider"></li>
<li><a href="#" onclick="$('#dataTableExample1').tableExport({type:'xml',escape:'false'});">
<img src="assets/dist/img/xml.png" width="24" alt="logo"> XML</a>
</li>
<li><a href="#" onclick="$('#dataTableExample1').tableExport({type:'sql'});">
<img src="assets/dist/img/sql.png" width="24" alt="logo"> SQL</a>
</li>
<li class="divider"></li>
<li>
<a href="#" onclick="$('#dataTableExample1').tableExport({type:'csv',escape:'false'});">
<img src="assets/dist/img/csv.png" width="24" alt="logo"> CSV</a>
</li>
<li>
<a href="#" onclick="$('#dataTableExample1').tableExport({type:'txt',escape:'false'});">
<img src="assets/dist/img/txt.png" width="24" alt="logo"> TXT</a>
</li>
<li class="divider"></li>
<li>
<a href="#" onclick="$('#dataTableExample1').tableExport({type:'excel',escape:'false'});">
<img src="assets/dist/img/xls.png" width="24" alt="logo"> XLS</a>
</li>
<li>
<a href="#" onclick="$('#dataTableExample1').tableExport({type:'doc',escape:'false'});">
<img src="assets/dist/img/word.png" width="24" alt="logo"> Word</a>
</li>
<li>
<a href="#" onclick="$('#dataTableExample1').tableExport({type:'powerpoint',escape:'false'});">
<img src="assets/dist/img/ppt.png" width="24" alt="logo"> PowerPoint</a>
</li>
<li class="divider"></li>
<li>
<a href="#" onclick="$('#dataTableExample1').tableExport({type:'png',escape:'false'});">
<img src="assets/dist/img/png.png" width="24" alt="logo"> PNG</a>
</li>
<li>
<a href="#" onclick="$('#dataTableExample1').tableExport({type:'pdf',pdfFontSize:'7',escape:'false'});">
<img src="assets/dist/img/pdf.png" width="24" alt="logo"> PDF</a>
</li>
</ul>
</div>
<!-- Plugin content:powerpoint,txt,pdf,png,word,xl -->
<div class="table-responsive">
<table id="dataTableExample1" class="table table-bordered table-striped table-hover">
<thead>
<tr class="info">
<th>Total Expense</th>
<th>Total Expense This Month</th>
<th>Total Expense This Week</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td>$ 2,452.00</td>
<td>$ 512.00</td>
<td>$ 125.00</td>
<td class="text-center">
<button type="button" class="btn btn-add btn-xs" data-toggle="modal" data-target="#update"><i class="fa fa-pencil"></i></button>
<button type="button" class="btn btn-danger btn-xs" data-toggle="modal" data-target="#delt"><i class="fa fa-trash-o"></i> </button>
</td>
</tr>
<tr>
<td>$ 2,452.00</td>
<td>$ 512.00</td>
<td>$ 125.00</td>
<td class="text-center">
<button type="button" class="btn btn-add btn-xs" data-toggle="modal" data-target="#update"><i class="fa fa-pencil"></i></button>
<button type="button" class="btn btn-danger btn-xs" data-toggle="modal" data-target="#delt"><i class="fa fa-trash-o"></i> </button>
</td>
</tr>
<tr>
<td>$ 2,452.00</td>
<td>$ 512.00</td>
<td>$ 125.00</td>
<td class="text-center">
<button type="button" class="btn btn-add btn-xs" data-toggle="modal" data-target="#update"><i class="fa fa-pencil"></i></button>
<button type="button" class="btn btn-danger btn-xs" data-toggle="modal" data-target="#delt"><i class="fa fa-trash-o"></i> </button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="col-sm-12">
<div class="panel panel-bd lobidrag">
<div class="panel-heading">
<div class="btn-group" id="btn-add">
<a href="#">
<h4>Last 20 days Expense Summary</h4>
</a>
</div>
</div>
<div class="panel-body">
<div class="btn-group">
<button class="btn btn-exp btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-bars"></i> Export Table Data</button>
<ul class="dropdown-menu exp-drop" role="menu">
<li>
<a href="#" onclick="$('#dataTableExample2').tableExport({type:'json',escape:'false'});">
<img src="assets/dist/img/json.png" width="24" alt="logo"> JSON</a>
</li>
<li>
<a href="#" onclick="$('#dataTableExample2').tableExport({type:'json',escape:'false',ignoreColumn:'[2,3]'});">
<img src="assets/dist/img/json.png" width="24" alt="logo"> JSON (ignoreColumn)</a>
</li>
<li><a href="#" onclick="$('#dataTableExample2').tableExport({type:'json',escape:'true'});">
<img src="assets/dist/img/json.png" width="24" alt="logo"> JSON (with Escape)</a>
</li>
<li class="divider"></li>
<li><a href="#" onclick="$('#dataTableExample2').tableExport({type:'xml',escape:'false'});">
<img src="assets/dist/img/xml.png" width="24" alt="logo"> XML</a>
</li>
<li><a href="#" onclick="$('#dataTableExample2').tableExport({type:'sql'});">
<img src="assets/dist/img/sql.png" width="24" alt="logo"> SQL</a>
</li>
<li class="divider"></li>
<li>
<a href="#" onclick="$('#dataTableExample2').tableExport({type:'csv',escape:'false'});">
<img src="assets/dist/img/csv.png" width="24" alt="logo"> CSV</a>
</li>
<li>
<a href="#" onclick="$('#dataTableExample2').tableExport({type:'txt',escape:'false'});">
<img src="assets/dist/img/txt.png" width="24" alt="logo"> TXT</a>
</li>
<li class="divider"></li>
<li>
<a href="#" onclick="$('#dataTableExample2').tableExport({type:'excel',escape:'false'});">
<img src="assets/dist/img/xls.png" width="24" alt="logo"> XLS</a>
</li>
<li>
<a href="#" onclick="$('#dataTableExample2').tableExport({type:'doc',escape:'false'});">
<img src="assets/dist/img/word.png" width="24" alt="logo"> Word</a>
</li>
<li>
<a href="#" onclick="$('#dataTableExample2').tableExport({type:'powerpoint',escape:'false'});">
<img src="assets/dist/img/ppt.png" width="24" alt="logo"> PowerPoint</a>
</li>
<li class="divider"></li>
<li>
<a href="#" onclick="$('#dataTableExample2').tableExport({type:'png',escape:'false'});">
<img src="assets/dist/img/png.png" width="24" alt="logo"> PNG</a>
</li>
<li>
<a href="#" onclick="$('#dataTableExample2').tableExport({type:'pdf',pdfFontSize:'7',escape:'false'});">
<img src="assets/dist/img/pdf.png" width="24" alt="logo"> PDF</a>
</li>
</ul>
</div>
<div class="table-responsive">
<table id="dataTableExample2" class="table table-bordered table-striped table-hover">
<thead>
<tr class="info">
<th>Date</th>
<th>Accounts</th>
<th>Category</th>
<th>Paid By</th>
<th>Description</th>
<th>Amount</th>
<th>Debit</th>
<th>Balance</th>
</tr>
</thead>
<tbody>
<tr>
<td>01/05/2017</td>
<td>Brac Bank</td>
<td>Internet</td>
<td>Iker cassias</td>
<td>net Bill</td>
<td>$ 2,845.00</td>
<td>$ 1,854.00</td>
<td>$ 3,846.00</td>
</tr>
<tr>
<td>05/09/2017</td>
<td>standard Bank</td>
<td>Internet</td>
<td>Iker cassias</td>
<td>net Bill</td>
<td>$ 2,845.00</td>
<td>$ 1,854.00</td>
<td>$ 3,954.00</td>
</tr>
<tr>
<td>01/05/2017</td>
<td>Sonali Bank</td>
<td>Internet</td>
<td>kazi imran</td>
<td>maintance Bill</td>
<td>$ 2,995.00</td>
<td>$ 1,854.00</td>
<td>$ 3,846.00</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<!--end row-->
<!-- update Modal1 -->
<div class="modal fade" id="update" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header modal-header-primary">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3><i class="fa fa-bar-chart m-r-5"></i> update expense</h3>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12">
<form class="form-horizontal">
<fieldset>
<!-- Text input-->
<div class="col-md-6 form-group">
<label class="control-label">Total Expense</label>
<input type="number" placeholder="Total Expense" class="form-control">
</div>
<div class="col-md-6 form-group">
<label class="control-label">Total Expense This Month</label>
<input type="number" placeholder="Total Expense month" class="form-control">
</div>
<div class="col-md-6 form-group">
<label class="control-label">Total Expense This Week</label>
<input type="number" placeholder="Total Expense week" class="form-control">
</div>
<div class="col-md-12 form-group user-form-group">
<div class="pull-right">
<button type="button" class="btn btn-danger btn-sm">Cancel</button>
<button type="submit" class="btn btn-add btn-sm">Add training</button>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger pull-left" data-dismiss="modal">Close</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->
<!-- Modal -->
<!-- delete Modal2 -->
<div class="modal fade" id="delt" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header modal-header-primary">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3><i class="fa fa-user m-r-5"></i> Delete Expense table</h3>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12">
<form class="form-horizontal">
<fieldset>
<div class="col-md-12 form-group user-form-group">
<label class="control-label">Delete Expense</label>
<div class="pull-right">
<button type="button" class="btn btn-danger btn-sm">NO</button>
<button type="submit" class="btn btn-add btn-sm">YES</button>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger pull-left" data-dismiss="modal">Close</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<?php include('assets/_partials/footer.php');?>
</div>
<!-- ./wrapper -->
<!-- Start Core Plugins
=====================================================================-->
<!-- jQuery -->
<script src="assets/plugins/jQuery/jquery-1.12.4.min.js" type="text/javascript"></script>
<!-- jquery-ui -->
<script src="assets/plugins/jquery-ui-1.12.1/jquery-ui.min.js" type="text/javascript"></script>
<!-- Bootstrap -->
<script src="assets/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<!-- lobipanel -->
<script src="assets/plugins/lobipanel/lobipanel.min.js" type="text/javascript"></script>
<!-- Pace js -->
<script src="assets/plugins/pace/pace.min.js" type="text/javascript"></script>
<!-- table-export js -->
<script src="assets/plugins/table-export/tableExport.js" type="text/javascript"></script>
<script src="assets/plugins/table-export/jquery.base64.js" type="text/javascript"></script>
<script src="assets/plugins/table-export/html2canvas.js" type="text/javascript"></script>
<script src="assets/plugins/table-export/sprintf.js" type="text/javascript"></script>
<script src="assets/plugins/table-export/jspdf.js" type="text/javascript"></script>
<script src="assets/plugins/table-export/base64.js" type="text/javascript"></script>
<!-- dataTables js -->
<script src="assets/plugins/datatables/dataTables.min.js" type="text/javascript"></script>
<!-- SlimScroll -->
<script src="assets/plugins/slimScroll/jquery.slimscroll.min.js" type="text/javascript"></script>
<!-- FastClick -->
<script src="assets/plugins/fastclick/fastclick.min.js" type="text/javascript"></script>
<!-- CRMadmin frame -->
<script src="assets/dist/js/custom.js" type="text/javascript"></script>
<!-- End Core Plugins
=====================================================================-->
<!-- Start Theme label Script
=====================================================================-->
<!-- Dashboard js -->
<script src="assets/dist/js/dashboard.js" type="text/javascript"></script>
<!-- End Theme label Script
=====================================================================-->
</body>
</html>