Subversion Repositories SmartDukaan

Rev

Rev 25789 | Go to most recent revision | Details | 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>
109
						<select class="form-control input-sm" id = "remark" name = "remark" placeholder="Remark">
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>
123
		             	</select>
124
 
125
					</div>  
126
 
127
	               <div class="col-lg-3 form-group">
128
					<label for="hygieneRating"> Hygiene Rating</label> 
129
						<select  class="form-control input-sm" id ="hygieneRating" placeholder="hygieneRating">
130
							 <option value="" disabled selected>Hygiene Rating</option>
131
							  <option value="false">False</option>
132
							  <option value="true">True</option>
133
						</select>
134
 
135
					</div>      
136
 
137
                   <div class="col-lg-3  form-group" id = "schedule">
138
					<label for="scheduleTime"> Schedule Time </label> 
139
					   	  <input id="scheduleTime" name="scheduleTime"  placeholder="Schedule" type="text" value="" class="form-control input-sm">
140
					</div>
141
 
142
 
143
 
144
 
145
  </div>
146
 
147
 
148
  <div id = "hygiene-detail">
149
             <div class = "row">
150
 
151
 
152
					<div class="col-lg-3 form-group">
153
					<label for="quest1"> Did you get your phone/color of your choice</label> 
154
						<select class="form-control input-sm" id = "quest1" name = "quest1" placeholder="">
155
							<option value="" disabled selected></option>
156
		             		<option value="Yes">Yes</option>
157
		             		<option value="No">No</option>
158
		             	</select>
159
					</div>
160
 
161
					<div class="col-lg-3 form-group">
162
					<label for="quest2">Did you get proper information of the phone</label> 
163
						<select class="form-control input-sm" id = "quest2" name = "quest2" placeholder="">
164
							<option value="" disabled selected></option>
165
		             		<option value="Yes">Yes</option>
166
		             		<option value="No">No</option>
167
		             	</select>
168
					</div>
169
 
170
					<div class="col-lg-3 form-group">
171
					<label for="quest3">Did you get System generated Invoice?</label> 
172
						<select class="form-control input-sm" id = "quest3" name = "quest3" placeholder="">
173
							<option value="" disabled selected></option>
174
		             		<option value="Yes">Yes</option>
175
		             		<option value="No">No</option>
176
		             	</select>
177
					</div>
178
 
179
				<div class="col-lg-3  form-group">
180
					<label for="DOP"> Date of Purchase</label> 
181
					   	  <input id="dop" name="dateTime"  placeholder="DOP" type="text" value="" class="form-control input-sm">
182
					</div>
183
 
184
 
185
  </div>
186
 
187
 
188
 
189
          <div class = "row">
190
 
191
 
192
				<div class="col-lg-3 form-group">
193
					<label for="rating"> Rating</label> 
194
					   	<input placeholder="Rating" id="rating" name="rating" type="text" value="" class="form-control input-sm">
195
					</div>
196
 
197
 
198
				<div class="col-lg-3 form-group">
199
					<label for="feedback"> Feedback</label> 
200
					   	<input placeholder="feedback" id="feedback" name="feedback" type="text" value="" class="form-control input-sm">
201
					</div>
202
 
203
 
204
                <div class="col-lg-3 form-group">
205
					<label for="action"> Action </label> 
206
					   	<input placeholder="action" id="action" name="action" type="text" value="" class="form-control input-sm">
207
				</div>
208
 
209
        </div>
210
 
211
 
212
 
213
 
214
      </div>
215
 
216
       <div class="modal-footer">
217
		        <button type="button" data-dismiss="modal" class="btn btn-default request-cancel">Cancel</button>
218
		        <button type="button" class="btn btn-default add-customer-feedback" data-orderid ="$fofoOrder.getId()">Submit</button>
219
 
220
	   </div>