-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshowlate.php
151 lines (87 loc) · 4.59 KB
/
showlate.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
<?php require 'ini/confg.php';?>
<?php
require 'topheader.php';?>
<?php require 'headernav.php';?>
<?php
if($_SESSION['is_admin'] == 3 or $_SESSION['viweprim'] ){
$f = new prem();
if($_SERVER['REQUEST_METHOD']== "POST"){
$pre = new reportc();
$get = $pre->showser($_POST['start'],$_POST['end']);
?>
<div class="container-fluid " style="direction: rtl;">
<!-- Textarea -->
<div class="row clearfix">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 ">
<div class="card getmanth" style="margin-top:100px;height:550px; direction: rtl" >
<div class="header bg-red">
<h2>بحث يدوى على المتاخرين عن السداد</h2>
</div>
<div class="body">
</div>
<div class=" col-sm-12 ">
<div class="table-responsive">
<table class="table table-striped table-hover dataTable js-exportable" style="background-color: #fff">
<thead style="color:#000">
<tr>
<th style="color:#000">#</th>
<th>اسم العميل</th>
<th>اسم المنتج</th>
<th>المبلغ المطلوب </th>
<th>المبلغ المدفوع</th>
<th>رقم الهاتف</th>
<th>التاريخ</th>
<th>الصفحه الشخصيه</th>
</tr>
</thead>
<tfoot>
<tr>
<th style="color:#000">#</th>
<th>اسم العميل</th>
<th>اسم المنتج</th>
<th>المبلغ المطلوب </th>
<th>المبلغ المدفوع</th>
<th>رقم الهاتف</th>
<th>التاريخ</th>
<th>الصفحه الشخصيه</th>
</tr>
</tfoot>
<tbody class="msgser">
<?php
if($get !== NULL){
$nuber = 1;
foreach ($get as $data){ ?>
<tr>
<th scope="row"><?=$nuber ++ ;?></th>
<td style='color:#f43737'><?=$data['name'];?></td>
<td style='color:#f43737'><?=$data['prodect_name'];?></td>
<td style='color:#f43737'><?=$data['prem_manth'];?></td>
<td style='color:green'><?=$data['amount_manth'];?></td>
<td style='color:#f43737'> <?=$data['phone'];?></td>
<td style='color:#f43737'><?=$data['date'];?></td>
<td style='color:#f43737'> <a href="reportcustomer1.php?getpremid=<?=$data['prem_id'];?>" class="btn btn-success getpremids"><i class="material-icons">description</i></a></td>
</tr>
<?php }
} else { ?>
<tr>
<td style='color:#f43737'><?php echo msg::setmsg("لايوجد نتائج لبحثك تاكد من كتابه التاريخ بشكب صحيح","danger");?></td>
</tr>
<?php }
}?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php } else {
header("Location:error404.php");
exit();
}
?>
<?php require 'lassfooter.php';
ob_end_flush();
?>