-
Notifications
You must be signed in to change notification settings - Fork 1
/
viewMeasurement.php
192 lines (156 loc) · 8.22 KB
/
viewMeasurement.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
<?php include('./constant/layout/head.php');?>
<?php include('./constant/layout/header.php');?>
<?php include('./constant/layout/sidebar.php');?>
<link rel="stylesheet" href="custom/js/order.js">
<?php include('./constant/connect.php');?>
<?php
$orderId = $_GET['id'];
$sql="SELECT * from measurement where order_id='".$orderId."'";
$result=$connect->query($sql)->fetch_assoc(); ?>
?>
<div class="page-wrapper">
<div class="row page-titles">
<div class="col-md-5 align-self-center">
<h3 class="text-primary">View Measurement</h3> </div>
<div class="col-md-7 align-self-center">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="javascript:void(0)">Home</a></li>
<li class="breadcrumb-item active">View Measurement</li>
</ol>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-lg-11" style=" margin-left: 5%;">
<div class="card">
<div class="card-title">
</div>
<div id="add-brand-messages"></div>
<div class="card-body">
<div class="input-states">
<form class="form-horizontal" method="POST" action="" id="editOrderForm">
<div class="form-group">
<div class="row">
<label class="col-sm-2 control-label">Date</label>
<div class="col-sm-10">
<input type="text" value="<?php echo $result['Date']?>" class="form-control" id="orderDate" name="date" autocomplete="off" readonly />
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<label class="col-sm-2 control-label">Description</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="orderDate" name="description" autocomplete="off" value="<?php echo $result['Description']?>" readonly />
</div>
</div>
</div>
<div></div><div></div>
<div class="form-group">
<div class="row">
<label class="col-sm-2 control-label">Shoulder</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="shoulder" autocomplete="off" value="<?php echo $result['Shoulder']?>" readonly />
</div>
<label class="col-sm-2 control-label">SSAS</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="ssas" autocomplete="off" value="<?php echo $result['SSAS']?>" readonly />
</div>
<label class="col-sm-2 control-label">Top Length</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="Tlength" autocomplete="off" value="<?php echo $result['TopLength']?>" readonly />
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<label class="col-sm-2 control-label">Back</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="back" autocomplete="off" value="<?php echo $result['Back']?>" readonly />
</div>
<label class="col-sm-2 control-label">Long Sleeve Length</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="longlength" autocomplete="off" value="<?php echo $result['LSLength']?>" readonly />
</div>
<label class="col-sm-2 control-label">Short Sleeve Length</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="shortlength" autocomplete="off" value="<?php echo $result['SSLength']?>" readonly />
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<label class="col-sm-2 control-label">Sleeve Cuff</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="scuff" autocomplete="off" value="<?php echo $result['SleeveCuff']?>" readonly />
</div>
<label class="col-sm-2 control-label">Neck</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="neck" autocomplete="off" value="<?php echo $result['Neck']?>" readonly />
</div>
<label class="col-sm-2 control-label">Trouser Length
</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="trlength" autocomplete="off" value="<?php echo $result['TrouserLength']?>" readonly />
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<label class="col-sm-2 control-label">Lap</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="lap" autocomplete="off" value="<?php echo $result['Lap']?>" readonly />
</div>
<label class="col-sm-2 control-label">Waist</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="waist" autocomplete="off" value="<?php echo $result['Waist']?>" readonly />
</div>
<label class="col-sm-2 control-label">Hip</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="hip" autocomplete="off" value="<?php echo $result['Hip']?>" readonly />
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<label class="col-sm-2 control-label">Neck Collar</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="ncollar" autocomplete="off" value="<?php echo $result['NeckCollar']?>" readonly />
</div>
<label class="col-sm-2 control-label">Bottom</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="bottom" autocomplete="off" value="<?php echo $result['Bottom']?>" readonly />
</div>
<label class="col-sm-2 control-label">Waist 36 Inches</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="WaistInch" autocomplete="off" value="<?php echo $result['WaistInches']?>" readonly />
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<label class="col-sm-2 control-label">Chest</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="chest" autocomplete="off" value="<?php echo $result['Chest']?>" readonly />
</div>
<label class="col-sm-2 control-label">Length</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="length" autocomplete="off" value="<?php echo $result['Length']?>" readonly />
</div>
<label class="col-sm-2 control-label">Other</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="length" autocomplete="off" value="<?php echo $result['Other']?>" readonly />
</div>
</div>
</div>
<input type="hidden" name="orderId" id="orderId" value="<?php echo $orderId; ?>" />
<!-- <button type="submit" id="editOrderBtn" data-loading-text="Loading..." class="btn btn-success"><i class="glyphicon glyphicon-ok-sign"></i> Save Changes</button> -->
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<?php include('./constant/layout/footer.php');?>