Subversion Repositories SmartDukaan

Rev

Rev 25640 | Rev 30601 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
25640 tejbeer 1
 
2
 <script>
3
 
4
 
5
 
6
   $(function() {
7
	$('input[name="dateTime"]').daterangepicker(getSingleDatePicker(),dateRangeCallback);
8
 
9
 
10
	 var object={timePicker: true,locale : {format : 'DD/MM/YYYY hh A'}};
11
      $('input[name="scheduleTime"]').daterangepicker($.extend(getSingleDatePicker(),object), dateRangeCallback);
12
 
13
	});
14
 
15
 </script>
16
 
17
 
18
 
19
 
20
 <div class="modal-header">
21
	        <button type="button" class="close" data-dismiss="modal">&times;</button>
22
	        <h4 class="modal-title">Customer Detail</h4>
23
	      </div>
24
	   <div class="modal-body">
25
 
26
		<div id="hygiene-table">
27
		<div class="row">
28
	    	<div class="col-lg-12">
29
	    		<table class="table table-striped table-advance table-hover">
30
	    			<tbody>
31
	    				<tr>
32
	    					<th>Partner Name</th>
33
	    					<th>Date of Purchase</th>
34
	    					<th>Customer Name</th>
35
	    					<th>Customer Mobile</th>
36
	    					<th>Customer City</th>
37
 
38
 
39
	    				</tr>
40
	    					#if($fofoOrder)
41
			    				<tr class="hygiene-data-table" data="">
42
			    					<td>$customRetailer.getBusinessName()</td>
43
			    					<td>$fofoOrder.getCreateTimestamp().format($dateTimeFormatter)</td>
44
			    					<td>$customerAddress.getName()</td>
45
			    					<td>$customerAddress.getPhoneNumber()</td>
46
			    					<td>$customerAddress.getCity()</td>
47
 
48
 
49
 
50
			    				</tr>
51
 
52
			    				#else
53
		    				<tr>
54
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
55
		    				</tr>	
56
		    				#end
57
 
58
 
59
	    			</tbody>
60
	    		</table>
61
	    	</div>
62
	    </div>
63
	      </div>
64
 
65
	    	<div class="row">
66
	    	<div class="col-lg-12">
67
	    		<table class="table table-striped table-advance table-hover">
68
	    			<tbody>
69
	    				<tr>
70
	    					<th>Description</th>
71
	    					<th>Quantity</th>
72
 
73
	    				</tr>
74
	    					#if(!$fofoOrderItems.isEmpty())
75
			    			#foreach( $request in $fofoOrderItems  )
76
			    				<tr class="hygiene-data-table" data="">
77
			    					<td>$request.getBrand() $request.getModelName() $request.getModelNumber() $request.getColor()</td>
78
			    					<td>$request.getQuantity()</td>
79
 
80
 
81
			    				</tr>	
82
 
83
		    			#end
84
		    			#else
85
		    				<tr>
86
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
87
		    				</tr>
88
		    			#end
89
	    			</tbody>
90
	    		</table>
91
	    	</div>
92
	    </div>
93
 
94
               <div class = "row">
95
 
96
 
97
					<div class="col-lg-3 form-group">
98
					<label for="status"> Status</label> 
99
						<select class="form-control input-sm" id = "status" name = "status" placeholder="Status" onchange="statusChange()">
100
							<option value="" disabled selected>Status</option>
101
		             		<option value="connected">Connected</option>
102
		             		<option value="Not connected">Not Connected</option>
103
		             		<option value="Not Connected Closed">Not Connected Closed</option>
104
		             	</select>
105
					</div>
106
 
107
					<div class="col-lg-3 form-group">
108
					<label for="remark"> Remark</label>
25789 tejbeer 109
						<select class="form-control input-sm" id = "remark" name = "remark" onchange="changeRemark()" placeholder="Remark">
25640 tejbeer 110
							<option value="" disabled selected>Remark</option>
111
		             		<option value="done">Done</option>
112
		             		<option value="Not Reachable">Not Reachable</option>
113
		             		<option value="Out of Service">Out of Service</option>
114
		             		<option value="Ringing">Ringing</option>
115
		             		<option value="Busy">Busy</option>
116
		             		<option value="Switch off">Switch off</option>
117
		             		<option value="Not Interested">Not Interested</option>
118
		             		<option value="disconnected">Disconnected</option>
119
		             		<option value="Duplicate number">Duplicate number</option>
120
		             		<option value="Wrong number">Wrong number</option>
121
		             		<option value="Partner number">Partner number</option>
122
		             		<option value="Misbehaved">Misbehaved</option>
25789 tejbeer 123
		             		<option value="No Incoming Call"> No Incoming Call</option>
124
		             		<option value="other">Other</option>
25640 tejbeer 125
		             	</select>
25789 tejbeer 126
 
127
		             	<br>
128
		             	 	<input placeholder="Remark" id="textRemark" name="textRemark" type="text" value="" class="form-control input-sm">
25640 tejbeer 129
 
130
					</div>  
131
 
132
	               <div class="col-lg-3 form-group">
133
					<label for="hygieneRating"> Hygiene Rating</label> 
134
						<select  class="form-control input-sm" id ="hygieneRating" placeholder="hygieneRating">
135
							 <option value="" disabled selected>Hygiene Rating</option>
136
							  <option value="false">False</option>
137
							  <option value="true">True</option>
138
						</select>
139
 
140
					</div>      
141
 
142
                   <div class="col-lg-3  form-group" id = "schedule">
143
					<label for="scheduleTime"> Schedule Time </label> 
144
					   	  <input id="scheduleTime" name="scheduleTime"  placeholder="Schedule" type="text" value="" class="form-control input-sm">
145
					</div>
146
 
147
 
148
 
149
 
150
  </div>
151
 
152
 
153
  <div id = "hygiene-detail">
154
             <div class = "row">
155
 
156
 
157
					<div class="col-lg-3 form-group">
158
					<label for="quest1"> Did you get your phone/color of your choice</label> 
159
						<select class="form-control input-sm" id = "quest1" name = "quest1" placeholder="">
160
							<option value="" disabled selected></option>
161
		             		<option value="Yes">Yes</option>
162
		             		<option value="No">No</option>
163
		             	</select>
164
					</div>
165
 
166
					<div class="col-lg-3 form-group">
167
					<label for="quest2">Did you get proper information of the phone</label> 
168
						<select class="form-control input-sm" id = "quest2" name = "quest2" placeholder="">
169
							<option value="" disabled selected></option>
170
		             		<option value="Yes">Yes</option>
171
		             		<option value="No">No</option>
172
		             	</select>
173
					</div>
174
 
175
					<div class="col-lg-3 form-group">
176
					<label for="quest3">Did you get System generated Invoice?</label> 
177
						<select class="form-control input-sm" id = "quest3" name = "quest3" placeholder="">
178
							<option value="" disabled selected></option>
179
		             		<option value="Yes">Yes</option>
180
		             		<option value="No">No</option>
181
		             	</select>
182
					</div>
183
 
184
				<div class="col-lg-3  form-group">
185
					<label for="DOP"> Date of Purchase</label> 
186
					   	  <input id="dop" name="dateTime"  placeholder="DOP" type="text" value="" class="form-control input-sm">
187
					</div>
188
 
189
 
190
  </div>
191
 
192
 
193
 
194
          <div class = "row">
195
 
196
 
197
				<div class="col-lg-3 form-group">
198
					<label for="rating"> Rating</label> 
199
					   	<input placeholder="Rating" id="rating" name="rating" type="text" value="" class="form-control input-sm">
200
					</div>
201
 
202
 
203
				<div class="col-lg-3 form-group">
204
					<label for="feedback"> Feedback</label> 
205
					   	<input placeholder="feedback" id="feedback" name="feedback" type="text" value="" class="form-control input-sm">
206
					</div>
207
 
208
 
209
                <div class="col-lg-3 form-group">
210
					<label for="action"> Action </label> 
211
					   	<input placeholder="action" id="action" name="action" type="text" value="" class="form-control input-sm">
212
				</div>
213
 
214
        </div>
215
 
216
 
217
 
218
 
219
      </div>
220
 
221
       <div class="modal-footer">
222
		        <button type="button" data-dismiss="modal" class="btn btn-default request-cancel">Cancel</button>
223
		        <button type="button" class="btn btn-default add-customer-feedback" data-orderid ="$fofoOrder.getId()">Submit</button>
224
 
225
	   </div>