-
Notifications
You must be signed in to change notification settings - Fork 1
/
addmeasurement.php
204 lines (162 loc) · 7.96 KB
/
addmeasurement.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
<?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');?>
<div class="page-wrapper">
<div class="row page-titles">
<div class="col-md-5 align-self-center">
<h3 class="text-primary">Add 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">Add 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="php_action/addMeasurement.php" id="editOrderForm">
<?php $orderId = $_GET['id'];
/*
$sql = "SELECT orders.order_id, orders.order_date, orders.client_name, orders.client_contact, orders.sub_total, orders.vat, orders.total_amount, orders.discount, orders.grand_total, orders.paid, orders.due, orders.payment_type, orders.payment_status,orders.payment_place,orders.gstn FROM orders
WHERE orders.order_id = {$orderId}";
$result = $connect->query($sql);
$data = $result->fetch_row();
$sql1 = "SELECT * FROM tbl_client
WHERE id = '".$data[2]."'";
$result1 = $connect->query($sql1);
$data1 = $result1->fetch_assoc();*/
?>
<div class="form-group">
<div class="row">
<label class="col-sm-2 control-label">Date</label>
<div class="col-sm-10">
<input type="date" class="form-control" id="orderDate" name="date" autocomplete="off" value="" />
</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="" />
</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="" />
</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="" />
</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="" />
</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="" />
</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="" />
</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="" />
</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="" />
</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="" />
</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="" />
</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="" />
</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="" />
</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="" />
</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="" />
</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="" />
</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="" />
</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="" />
</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="" />
</div>
<label class="col-sm-2 control-label">Other</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="orderDate" name="other" autocomplete="off" value="" />
</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');?>