Subversion Repositories SmartDukaan

Rev

Rev 25789 | Rev 31189 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25789 Rev 30601
Line 1... Line -...
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" onchange="changeRemark()" 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
		             		<option value="No Incoming Call"> No Incoming Call</option>
-
 
124
		             		<option value="other">Other</option>
-
 
125
		             	</select>
-
 
126
		             	
-
 
127
		             	<br>
-
 
128
		             	 	<input placeholder="Remark" id="textRemark" name="textRemark" type="text" value="" class="form-control input-sm">
-
 
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>
-
 
226
1
<script>
-
 
2
 
-
 
3
 
-
 
4
    $(function () {
-
 
5
        $('input[name="dateTime"]').daterangepicker(getSingleDatePicker());
-
 
6
        var object = {timePicker: true, locale: {format: 'DD/MM/YYYY hh A'}};
-
 
7
        $('input[name="scheduleTime"]').daterangepicker($.extend(getSingleDatePicker(), object));
-
 
8
 
-
 
9
    });
-
 
10
 
-
 
11
</script>
-
 
12
 
-
 
13
 
-
 
14
<div class="modal-header">
-
 
15
    <button type="button" class="close" data-dismiss="modal">&times;</button>
-
 
16
    <h4 class="modal-title">Customer Detail</h4>
-
 
17
</div>
-
 
18
<div class="modal-body">
-
 
19
 
-
 
20
    <div id="hygiene-table">
-
 
21
        <div class="row">
-
 
22
            <div class="col-lg-12">
-
 
23
                <table class="table table-striped table-advance table-hover">
-
 
24
                    <tbody>
-
 
25
                    <tr>
-
 
26
                        <th>Partner Name</th>
-
 
27
                        <th>Date of Purchase</th>
-
 
28
                        <th>Customer Name</th>
-
 
29
                        <th>Customer Mobile</th>
-
 
30
                        <th>Customer City</th>
-
 
31
 
-
 
32
 
-
 
33
                    </tr>
-
 
34
                        #if($fofoOrder)
-
 
35
                        <tr class="hygiene-data-table" data="">
-
 
36
                            <td>$customRetailer.getBusinessName()</td>
-
 
37
                            <td>$fofoOrder.getCreateTimestamp().format($dateTimeFormatter)</td>
-
 
38
                            <td>$customerAddress.getName()</td>
-
 
39
                            <td>$customerAddress.getPhoneNumber()</td>
-
 
40
                            <td>$customerAddress.getCity()</td>
-
 
41
 
-
 
42
 
-
 
43
                        </tr>
-
 
44
 
-
 
45
                        #else
-
 
46
                        <tr>
-
 
47
                            <td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
-
 
48
                        </tr>
-
 
49
                        #end
-
 
50
 
-
 
51
 
-
 
52
                    </tbody>
-
 
53
                </table>
-
 
54
            </div>
-
 
55
        </div>
-
 
56
    </div>
-
 
57
 
-
 
58
    <div class="row">
-
 
59
        <div class="col-lg-12">
-
 
60
            <table class="table table-striped table-advance table-hover">
-
 
61
                <tbody>
-
 
62
                <tr>
-
 
63
                    <th>Description</th>
-
 
64
                    <th>Quantity</th>
-
 
65
 
-
 
66
                </tr>
-
 
67
                    #if(!$fofoOrderItems.isEmpty())
-
 
68
                        #foreach( $request in $fofoOrderItems  )
-
 
69
                        <tr class="hygiene-data-table" data="">
-
 
70
                            <td>$request.getBrand() $request.getModelName() $request.getModelNumber() $request.getColor()</td>
-
 
71
                            <td>$request.getQuantity()</td>
-
 
72
 
-
 
73
 
-
 
74
                        </tr>
-
 
75
 
-
 
76
                        #end
-
 
77
                    #else
-
 
78
                    <tr>
-
 
79
                        <td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
-
 
80
                    </tr>
-
 
81
                    #end
-
 
82
                </tbody>
-
 
83
            </table>
-
 
84
        </div>
-
 
85
    </div>
-
 
86
 
-
 
87
    <div class="row">
-
 
88
 
-
 
89
 
-
 
90
        <div class="col-lg-3 form-group">
-
 
91
            <label for="status"> Status</label>
-
 
92
            <select class="form-control input-sm" id="status" name="status" placeholder="Status"
-
 
93
                    onchange="statusChange()">
-
 
94
                <option value="" disabled selected>Status</option>
-
 
95
                <option value="connected">Connected</option>
-
 
96
                <option value="Not connected">Not Connected</option>
-
 
97
                <option value="Not Connected Closed">Not Connected Closed</option>
-
 
98
            </select>
-
 
99
        </div>
-
 
100
 
-
 
101
        <div class="col-lg-3 form-group">
-
 
102
            <label for="remark"> Remark</label>
-
 
103
            <select class="form-control input-sm" id="remark" name="remark" onchange="changeRemark()"
-
 
104
                    placeholder="Remark">
-
 
105
                <option value="" disabled selected>Remark</option>
-
 
106
                <option value="done">Done</option>
-
 
107
                <option value="Not Reachable">Not Reachable</option>
-
 
108
                <option value="Out of Service">Out of Service</option>
-
 
109
                <option value="Ringing">Ringing</option>
-
 
110
                <option value="Busy">Busy</option>
-
 
111
                <option value="Switch off">Switch off</option>
-
 
112
                <option value="Not Interested">Not Interested</option>
-
 
113
                <option value="disconnected">Disconnected</option>
-
 
114
                <option value="Duplicate number">Duplicate number</option>
-
 
115
                <option value="Wrong number">Wrong number</option>
-
 
116
                <option value="Partner number">Partner number</option>
-
 
117
                <option value="Misbehaved">Misbehaved</option>
-
 
118
                <option value="No Incoming Call"> No Incoming Call</option>
-
 
119
                <option value="other">Other</option>
-
 
120
            </select>
-
 
121
 
-
 
122
            <br>
-
 
123
            <input placeholder="Remark" id="textRemark" name="textRemark" type="text" value=""
-
 
124
                   class="form-control input-sm">
-
 
125
 
-
 
126
        </div>
-
 
127
 
-
 
128
        <div class="col-lg-3 form-group">
-
 
129
            <label for="hygieneRating"> Hygiene Rating</label>
-
 
130
            <select class="form-control input-sm" id="hygieneRating" placeholder="hygieneRating">
-
 
131
                <option value="" disabled selected>Hygiene Rating</option>
-
 
132
                <option value="false">False</option>
-
 
133
                <option value="true">True</option>
-
 
134
            </select>
-
 
135
 
-
 
136
        </div>
-
 
137
 
-
 
138
        <div class="col-lg-3  form-group" id="schedule">
-
 
139
            <label for="scheduleTime"> Schedule Time </label>
-
 
140
            <input id="scheduleTime" name="scheduleTime" placeholder="Schedule" type="text" value=""
-
 
141
                   class="form-control input-sm">
-
 
142
        </div>
-
 
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
        <div class="row">
-
 
189
 
-
 
190
 
-
 
191
            <div class="col-lg-3 form-group">
-
 
192
                <label for="rating"> Rating</label>
-
 
193
                <input placeholder="Rating" id="rating" name="rating" type="text" value=""
-
 
194
                       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=""
-
 
201
                       class="form-control input-sm">
-
 
202
            </div>
-
 
203
 
-
 
204
 
-
 
205
            <div class="col-lg-3 form-group">
-
 
206
                <label for="action"> Action </label>
-
 
207
                <input placeholder="action" id="action" name="action" type="text" value=""
-
 
208
                       class="form-control input-sm">
-
 
209
            </div>
-
 
210
 
-
 
211
        </div>
-
 
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
-
 
219
        </button>
-
 
220
 
-
 
221
    </div>
-
 
222
227
223