Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
30601 amit.gupta 1
<script>
25640 tejbeer 2
 
3
 
30601 amit.gupta 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>
25640 tejbeer 55
        </div>
30601 amit.gupta 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>