-
Notifications
You must be signed in to change notification settings - Fork 0
/
receive.php
135 lines (89 loc) · 4.14 KB
/
receive.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
<?php
require_once "int/header.php";
require_once "int/nav.php";
require_once "int/topbar.php";
$view = view_receive();
?>
<!-- BEGIN CONTENT PART -->
<div id="content" class="main-content">
<div class="layout-px-spacing">
<div class="page-header">
<nav class="breadcrumb-one" aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="javascript:void(0);">Dashboad</a>
</li>
<li class="breadcrumb-item active" aria-current="page">
<a href="javascript:void(0);">Analytics</a>
</li>
</ol>
</nav>
</div>
<!-- Start HERE -->
<?php require_once "int/r_location.php"; ?>
<div class="card-body">
<div>
<h4>Today Receive</h4>
</div>
<div class="row layout-top-spacing" id="cancel-row">
<div class="col-xl-12 col-lg-12 col-sm-12 layout-spacing">
<div class="widget-content widget-content-area br-6">
<table id="html5-extension" class="table table-hover non-hover" style="width: 100%">
<thead>
<tr>
<th>Name</th>
<th>Avatar</th>
<th>Color</th>
<th>Size</th>
<th>Qty</th>
<th>Date</th>
<th>Supplier</th>
<th class="dt-no-sorting">Action</th>
</tr>
</thead>
<tbody>
<?php
while ($row = mysqli_fetch_assoc($view)) {
?>
<tr>
<td><?php echo $row['r_name'] ?>
</td>
<td>
<div class="d-flex">
<div class="usr-img-frame mr-2 rounded-circle">
<img alt="avatar" class="img-fluid rounded-circle"
src="img/product/<?php echo $row['r_img'] ?>" />
</div>
</div>
</td>
<td><?php echo $row['color_name'] ?>
</td>
<td><?php echo $row['size_name'] ?>
</td>
<td><?php echo $row['r_qty'] ?>
</td>
<td><?php
$date= $row['r_date'];
$date_1=(date('d/m/Y', strtotime($date)));
echo $date_1;
?>
</td>
<td><?php echo $row['s_name'] ?>
</td>
<td>
<a
href="del.php?r_id=<?php echo $row['r_id'] ?>">
<button class="btn btn-outline-danger mb-2">Delete</button>
</a>
</td>
</tr>
<?php } ?>
</tbody>
</tbody>
</table>
</div>
</div>
</div>
<!-- End Here -->
<?php
require_once "int/footer.php";