Subversion Repositories SmartDukaan

Rev

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

Rev 31083 Rev 31274
Line 1... Line -...
1
<style>
-
 
2
    .row {
-
 
3
        margin: 0 auto;
-
 
4
    }
-
 
5
 
-
 
6
    .modal-content {
-
 
7
        background: white;
-
 
8
    }
-
 
9
 
-
 
10
    .modelHeaderCustom {
-
 
11
        font-size: 14px;
-
 
12
        font-weight: bold;
-
 
13
    }
-
 
14
 
-
 
15
    .border-highlight {
-
 
16
        border: 3px solid red;
-
 
17
    }
-
 
18
 
-
 
19
    hr {
-
 
20
        background-color: #007aff;
-
 
21
        border: none;
-
 
22
        height: 1px;
-
 
23
        background: #007aff;
-
 
24
    }
-
 
25
 
-
 
26
    .control-label {
-
 
27
        margin-top: 0;
-
 
28
        margin-bottom: 0;
-
 
29
        padding-top: 7px;
-
 
30
        font-weight: bold;
-
 
31
        font-size: 14px;
-
 
32
    }
-
 
33
 
-
 
34
    .form-group {
-
 
35
        border-bottom: 1px solid #eff2f7;
-
 
36
        padding-bottom: 15px;
-
 
37
        margin-bottom: 15px;
-
 
38
    }
-
 
39
 
-
 
40
    .right {
-
 
41
        float: right;
-
 
42
    }
-
 
43
 
-
 
44
    .form-control {
-
 
45
        color: #373737;
-
 
46
    }
-
 
47
 
-
 
48
    .table-align-center {
-
 
49
        text-align: center;
-
 
50
    }
-
 
51
</style>
-
 
52
 
-
 
53
<script type="text/javascript">
1
<script type="text/javascript">
54
    var cartItemIndex = 0;
2
    var cartItemIndex = 0;
55
    accessoriesDeals = $accessoriesDeals;
3
    accessoriesDeals = $accessoriesDeals;
56
    pendingPOCustomer = $pendingPOCustomer;
4
    pendingPOCustomer = $pendingPOCustomer;
57
    pendingPO = $pendingPO;
5
    pendingPO = $pendingPO;
Line 78... Line 26...
78
        $('input[name="dgmfgdate"]').daterangepicker({
26
        $('input[name="dgmfgdate"]').daterangepicker({
79
            minDate: new Date(currentYear, currentMonth - 6, currentDate),
27
            minDate: new Date(currentYear, currentMonth - 6, currentDate),
80
            maxDate: new Date(currentYear, currentMonth, currentDate),
28
            maxDate: new Date(currentYear, currentMonth, currentDate),
81
            singleDatePicker: true,
29
            singleDatePicker: true,
82
        }, function (start, end) {
30
        }, function (start, end) {
83
            mfgDate = start.format(moment.HTML5_FMT.DATETIME_LOCAL_SECONDS);
31
            const mfgDate = start.format(moment.HTML5_FMT.DATETIME_LOCAL_SECONDS);
84
 
32
 
85
        });
33
        });
86
        formLoaded();
34
        formLoaded();
87
    });
35
    });
88
</script>
36
</script>
Line 107... Line 55...
107
            <div class="card row">
55
            <div class="card row">
108
                <p>Your Cart is Empty.</p>
56
                <p>Your Cart is Empty.</p>
109
            </div>
57
            </div>
110
        #else
58
        #else
111
            <div class="row">
59
            <div class="row">
112
                <div class="table-responsive col-lg-8"
-
 
113
                     style="background-color: white">
60
                <div class="col-lg-8 container" style="background-color: white">
114
                    <div class="row">
61
                    <div class="row">
-
 
62
                        <div class="col-lg-12">
115
                        <h4 class="modelHeaderCustom" style="font-size: 22px;">Product
63
                            <h4 class="modelHeaderCustom" style="font-size: 22px;">Product
116
                            Information</h4>
64
                                Information</h4>
117
                        <table id="order-items" class="table table-condensed">
65
                            <table id="order-items" class="table table-condensed">
118
                            <tr>
66
                                <tr>
119
                                <th style="width: 25%">Description</th>
67
                                    <th style="width: 25%">Description</th>
120
                                <th style="width: 5%">Qty</th>
68
                                    <th style="width: 5%">Qty</th>
121
                                <th style="width: 13%">Serial Number</th>
69
                                    <th style="width: 13%">Serial Number</th>
122
                                <th style="width: 13%">Unit Price</th>
70
                                    <th style="width: 13%">Unit Price</th>
123
                                <th style="widht:13%">Activation Discount</th>
71
                                    <th style="widht:13%">Activation Discount</th>
124
                                <th style="width: 15%">Mobile Insurance</th>
72
                                    <th style="width: 17%">Mobile Insurance</th>
125
                                <th style="width: 15%">Total Price</th>
73
                                    <th style="width: 13%">Total Price</th>
126
                            </tr>
74
                                </tr>
127
 
75
 
128
                            #foreach ($cartItem in $cartItems) #set($mrp="MRP")
76
                                #foreach ($cartItem in $cartItems) #set($mrp="MRP")
129
                                #if($mopPriceMap.get($cartItem.getItemId()).getMrp()!=0)
77
                                    #if($mopPriceMap.get($cartItem.getItemId()).getMrp()!=0)
130
                                    #set($mrp="$mopPriceMap.get($cartItem.getItemId()).getMrp()(MRP)")
78
                                        #set($mrp="$mopPriceMap.get($cartItem.getItemId()).getMrp()(MRP)")
131
                                #end
79
                                    #end
132
                                #set($placeHolder = "$mopPriceMap.get($cartItem.getItemId()).getPrice()(MOP) - $mrp")
-
 
133
                                #set($dp = $mopPriceMap.get($cartItem.getItemId()).getPurchasePrice())
-
 
134
                                #if($accessoriesDeals && $cartItem.getItemType() =="NON_SERIALIZED")
-
 
135
                                    #set($placeHolder =
80
                                    #set($placeHolder =
-
 
81
                                        "$mopPriceMap.get($cartItem.getItemId()).getPrice()(MOP) - $mrp")
-
 
82
                                    #set($dp = $mopPriceMap.get($cartItem.getItemId()).getPurchasePrice())
-
 
83
                                    #if($accessoriesDeals && $cartItem.getItemType() =="NON_SERIALIZED")
-
 
84
                                        #set($placeHolder =
136
                                        "$mopPriceMap.get($cartItem.getItemId()).getPurchasePrice()(DP) -
85
                                            "$mopPriceMap.get($cartItem.getItemId()).getPurchasePrice()(DP) -
137
                                            $mopPriceMap.get($cartItem.getItemId()).getPrice()(MOP) - $mrp")
86
                                                $mopPriceMap.get($cartItem.getItemId()).getPrice()(MOP) - $mrp")
138
                                #end
87
                                    #end
139
                                #if($cartItem.getItemType() =="SERIALIZED") #set($start = 1)
88
                                    #if($cartItem.getItemType() =="SERIALIZED") #set($start = 1)
140
                                    #set($end = $cartItem.getQuantity())
89
                                        #set($end = $cartItem.getQuantity())
141
                                    #set($range = [$start..$end])
90
                                        #set($range = [$start..$end])
142
                                    #foreach ($index in $range)
91
                                        #foreach ($index in $range)
-
 
92
                                            <tr>
-
 
93
                                                <td>$cartItem.getDisplayName()</td>
-
 
94
                                                <td class="table-align-center">1</td>
-
 
95
                                                <td class="table-align-center"><input readonly type="text"
-
 
96
                                                                                      itemId="$cartItem.getItemId()"
-
 
97
                                                                                      itemType="$cartItem.getItemType()"
-
 
98
                                                                                      name="serialNumber"
-
 
99
                                                                                      class="serialNumber input-sm form-control">
-
 
100
                                                </td>
-
 
101
                                                <td class="table-align-center"><input type="number"
-
 
102
                                                                                      class="unitPrice form-control input-sm"
-
 
103
                                                                                      name="unitPrice"
-
 
104
                                                                                      quantity="1"
-
 
105
                                                                                      itemId="$cartItem.getItemId()"
-
 
106
                                                                                      mopPrice="$mopPriceMap.get($cartItem.getItemId()).getPrice()"
-
 
107
                                                                                      dp="$dp"
-
 
108
                                                                                      mrp="$mopPriceMap.get($cartItem.getItemId()).getMrp()"
-
 
109
                                                                                      isMop="$mopPriceMap.get($cartItem.getItemId()).isMop()"
-
 
110
                                                                                      placeholder="$placeHolder"></td>
-
 
111
                                                <td class="table-align-center"><input type="number"
-
 
112
                                                                                      class="discount form-control input-sm"
-
 
113
                                                                                      name="discount"
-
 
114
                                                    #if($mopPriceMap.get($cartItem.getItemId()).getMaxDiscountAmount() > 0)
-
 
115
                                                                                      data-maxdiscount="$mopPriceMap.get($cartItem.getItemId()).getMaxDiscountAmount()"
-
 
116
                                                                                      max="$mopPriceMap.get($cartItem.getItemId()).getMaxDiscountAmount()"
-
 
117
                                                                                      placeholder="Upto $mopPriceMap.get($cartItem.getItemId()).getMaxDiscountAmount()"
-
 
118
                                                                                      value="$mopPriceMap.get($cartItem.getItemId()).getMaxDiscountAmount()"
-
 
119
                                                    #else
-
 
120
                                                                                      readonly value="0"
-
 
121
                                                    #end
-
 
122
                                                ></td>
-
 
123
                                                <td class="table-align-center">
-
 
124
                                                    <div class="input-group">
-
 
125
                                                        <input type="number" itemId="$cartItem.getItemId()" value="0"
-
 
126
                                                               name="insuranceamount"
-
 
127
                                                               class="insuranceamount form-control input-sm" readonly>
-
 
128
                                                        <input type="hidden" itemId="$cartItem.getItemId()" value="0"
-
 
129
                                                               name="insuranceid" class="insuranceid"> <input
-
 
130
                                                            type="hidden" itemId="$cartItem.getItemId()" name="ram"
-
 
131
                                                            class="ram"> <input type="hidden"
-
 
132
                                                                                itemId="$cartItem.getItemId()"
-
 
133
                                                                                name="memory"
-
 
134
                                                                                class="memory">
-
 
135
                                                        <input type="hidden" itemId="$cartItem.getItemId()"
-
 
136
                                                               name="mfgdate" class="mfgdate">
-
 
137
                                                        <div class="input-group-btn">
-
 
138
                                                            <button type="button"
-
 
139
                                                                    class="btn btn-sm btn-default mk_check_plans"
-
 
140
                                                                    data-mop="$mopPriceMap.get($cartItem.getItemId()).getPrice()">
-
 
141
                                                                Check Plans
-
 
142
                                                            </button>
-
 
143
                                                        </div>
-
 
144
                                                    </div>
-
 
145
                                                </td>
-
 
146
                                                <td class="table-align-center"><input name="totalPrice"
-
 
147
                                                                                      class="totalPrice input-sm  form-control"
-
 
148
                                                                                      itemId="$cartItem.getItemId()"
-
 
149
                                                                                      type="number" value="0" readonly>
-
 
150
                                                </td>
-
 
151
                                            </tr>
-
 
152
                                        #end
-
 
153
                                    #else
143
                                        <tr>
154
                                        <tr>
144
                                            <td>$cartItem.getDisplayName()</td>
155
                                            <td>$cartItem.getDisplayName()</td>
145
                                            <td class="table-align-center">1</td>
156
                                            <td class="table-align-center">$cartItem.getQuantity()</td>
146
                                            <td class="table-align-center"><input readonly type="text"
157
                                            <td class="table-align-center">
-
 
158
                                                <div class="input-group">
147
                                                                                  itemId="$cartItem.getItemId()"
159
                                                    <input type="text" itemId="$cartItem.getItemId()"
148
                                                                                  itemType="$cartItem.getItemType()"
160
                                                           name="serialNumber" itemType="$cartItem.getItemType()"
149
                                                                                  name="serialNumber"
161
                                                           class="serialNumber form-control input-sm" readonly>
150
                                                                                  class="serialNumber input-sm form-control">
162
                                                </div>
151
                                            </td>
163
                                            </td>
152
                                            <td class="table-align-center"><input type="number"
164
                                            <td class="table-align-center"><input type="number"
153
                                                                                  class="unitPrice form-control input-sm"
165
                                                                                  class="unitPrice input-sm form-control"
-
 
166
                                                                                  dp="$dp"
154
                                                                                  name="unitPrice"
167
                                                                                  name="unitPrice"
155
                                                                                  quantity="1"
168
                                                                                  quantity="$cartItem.getQuantity()"
156
                                                                                  itemId="$cartItem.getItemId()"
169
                                                                                  itemId="$cartItem.getItemId()"
157
                                                                                  mopPrice="$mopPriceMap.get($cartItem.getItemId()).getPrice()"
170
                                                                                  mopPrice="$mopPriceMap.get($cartItem.getItemId()).getPrice()"
158
                                                                                  dp="$dp"
-
 
159
                                                                                  mrp="$mopPriceMap.get($cartItem.getItemId()).getMrp()"
-
 
160
                                                                                  isMop="$mopPriceMap.get($cartItem.getItemId()).isMop()"
171
                                                                                  mopPrice="$mopPriceMap.get($cartItem.getItemId()).isMop()"
161
                                                                                  placeholder="$placeHolder"></td>
172
                                                                                  placeholder="$placeHolder"/></td>
162
                                            <td class="table-align-center"><input type="number"
-
 
163
                                                                                  class="discount form-control input-sm"
-
 
164
                                                                                  name="discount"
-
 
165
                                                #if($mopPriceMap.get($cartItem.getItemId()).getMaxDiscountAmount() > 0)
-
 
166
                                                                                  data-maxdiscount="$mopPriceMap.get($cartItem.getItemId()).getMaxDiscountAmount()"
-
 
167
                                                                                  max="$mopPriceMap.get($cartItem.getItemId()).getMaxDiscountAmount()"
-
 
168
                                                                                  placeholder="Upto $mopPriceMap.get($cartItem.getItemId()).getMaxDiscountAmount()"
-
 
169
                                                                                  value="$mopPriceMap.get($cartItem.getItemId()).getMaxDiscountAmount()"
-
 
170
                                                #else
-
 
171
                                                                                  readonly value="0"
-
 
172
                                                #end
-
 
173
                                            ></td>
173
                                            <td>Not Applicable</td>
174
                                            <td class="table-align-center">
-
 
175
                                                <div class="input-group">
-
 
176
                                                    <input type="number" itemId="$cartItem.getItemId()" value="0"
-
 
177
                                                           name="insuranceamount"
-
 
178
                                                           class="insuranceamount form-control input-sm" readonly>
-
 
179
                                                    <input type="hidden" itemId="$cartItem.getItemId()" value="0"
-
 
180
                                                           name="insuranceid" class="insuranceid"> <input
-
 
181
                                                        type="hidden" itemId="$cartItem.getItemId()" name="ram"
-
 
182
                                                        class="ram"> <input type="hidden"
-
 
183
                                                                            itemId="$cartItem.getItemId()" name="memory"
-
 
184
                                                                            class="memory">
-
 
185
                                                    <input type="hidden" itemId="$cartItem.getItemId()"
-
 
186
                                                           name="mfgdate" class="mfgdate">
-
 
187
                                                    <div class="input-group-btn">
-
 
188
                                                        <button type="button"
-
 
189
                                                                class="btn btn-sm btn-default mk_check_plans"
-
 
190
                                                                data-mop="$mopPriceMap.get($cartItem.getItemId()).getPrice()">
-
 
191
                                                            Check Plans
-
 
192
                                                        </button>
174
                                            <td>Not Applicable</td>
193
                                                    </div>
-
 
194
                                                </div>
-
 
195
                                            </td>
-
 
196
                                            <td class="table-align-center"><input name="totalPrice"
175
                                            <td class="table-align-center"><input name="totalPrice"
197
                                                                                  class="totalPrice input-sm  form-control"
176
                                                                                  class="totalPrice input-sm form-control"
198
                                                                                  itemId="$cartItem.getItemId()"
177
                                                                                  itemId="$cartItem.getItemId()"
199
                                                                                  type="number" value="0" readonly></td>
178
                                                                                  type="number" value="0" readonly></td>
200
                                        </tr>
179
                                        </tr>
201
                                    #end
180
                                    #end #end
202
                                #else
181
                            </table>
203
                                    <tr>
-
 
204
                                        <td>$cartItem.getDisplayName()</td>
-
 
205
                                        <td class="table-align-center">$cartItem.getQuantity()</td>
-
 
206
                                        <td class="table-align-center">
-
 
207
                                            <div class="input-group">
-
 
208
                                                <input type="text" itemId="$cartItem.getItemId()"
-
 
209
                                                       name="serialNumber" itemType="$cartItem.getItemType()"
-
 
210
                                                       class="serialNumber form-control input-sm" readonly>
-
 
211
                                            </div>
-
 
212
                                        </td>
-
 
213
                                        <td class="table-align-center"><input type="number"
-
 
214
                                                                              class="unitPrice input-sm form-control"
-
 
215
                                                                              dp="$dp"
-
 
216
                                                                              name="unitPrice"
-
 
217
                                                                              quantity="$cartItem.getQuantity()"
-
 
218
                                                                              itemId="$cartItem.getItemId()"
-
 
219
                                                                              mopPrice="$mopPriceMap.get($cartItem.getItemId()).getPrice()"
-
 
220
                                                                              mopPrice="$mopPriceMap.get($cartItem.getItemId()).isMop()"
-
 
221
                                                                              placeholder="$placeHolder"/></td>
-
 
222
                                        <td>Not Applicable</td>
-
 
223
                                        <td>Not Applicable</td>
-
 
224
                                        <td class="table-align-center"><input name="totalPrice"
-
 
225
                                                                              class="totalPrice input-sm form-control"
-
 
226
                                                                              itemId="$cartItem.getItemId()"
-
 
227
                                                                              type="number" value="0" readonly></td>
-
 
228
                                    </tr>
-
 
229
                                #end #end
-
 
230
                        </table>
182
                        </div>
231
                    </div>
183
                    </div>
232
                    <div class="row">
184
                    <div class="row">
233
                        <div class="row">
-
 
234
                            <div class="col-lg-3">
185
                        <div class="col-lg-3">
235
                                <h4 class="modelHeaderCustom" style="font-size: 22px;">Customer
186
                            <h4 class="modelHeaderCustom" style="font-size: 22px;">Customer
236
                                    Information</h4>
187
                                Information</h4>
237
                            </div>
-
 
238
                            <div class="col-lg-3" style="margin-top: 15px">
-
 
239
                                <input placeholder="Search Mobile" type="number" name="mobile"
-
 
240
                                       class="form-control search-phone input-sm">
-
 
241
                            </div>
-
 
242
                        </div>
188
                        </div>
243
                        <div class="row customerinfo">
-
 
244
                            <div class="col-lg-2 form-group">
189
                        <div class="col-lg-3" style="margin-top: 15px">
245
                                <input placeholder="Mobile Number" type="number" name="mobile"
190
                            <input placeholder="Search Mobile" type="number" name="mobile"
246
                                       class="form-control phone input-sm" readonly>
191
                                   class="form-control search-phone input-sm">
247
                            </div>
-
 
248
                            <div class="col-lg-3 form-group">
-
 
249
                                <input placeholder="First Name" name="firstName" type="text"
-
 
250
                                       value="" class="form-control input-sm firstName" required>
-
 
251
                            </div>
-
 
252
                            <div class="col-lg-3 form-group">
-
 
253
                                <input placeholder="Last Name" name="lastName" type="text"
-
 
254
                                       value="" class="form-control input-sm lastName">
-
 
255
                            </div>
-
 
256
                            <div class="col-lg-2 form-group">
-
 
257
                                <input id="emailId" name="emailId" type="email" value=""
-
 
258
                                       class="form-control input-sm email"
-
 
259
                                       placeholder="Email(xyz@gmail.com)">
-
 
260
                            </div>
-
 
261
                            <div class="col-lg-2 form-group">
-
 
262
                                <button type="button"
-
 
263
                                        class="btn btn-block btn-primary mk_add_customer"
-
 
264
                                        style="display: none">Add customer
-
 
265
                                </button>
-
 
266
                                <button type="button"
-
 
267
                                        class="btn btn-block btn-primary mk_add_email"
-
 
268
                                        style="display: none">Update Customer
-
 
269
                                </button>
-
 
270
                            </div>
-
 
271
                        </div>
192
                        </div>
272
                    </div>
193
                    </div>
-
 
194
                    <div class="row customerinfo">
-
 
195
                        <div class="col-lg-2 form-group">
-
 
196
                            <input placeholder="Mobile Number" type="number" name="mobile"
-
 
197
                                   class="form-control phone input-sm" readonly>
-
 
198
                        </div>
-
 
199
                        <div class="col-lg-3 form-group">
-
 
200
                            <input placeholder="First Name" name="firstName" type="text"
-
 
201
                                   value="" class="form-control input-sm firstName" required>
-
 
202
                        </div>
-
 
203
                        <div class="col-lg-3 form-group">
-
 
204
                            <input placeholder="Last Name" name="lastName" type="text"
-
 
205
                                   value="" class="form-control input-sm lastName">
-
 
206
                        </div>
-
 
207
                        <div class="col-lg-2 form-group">
-
 
208
                            <input id="emailId" name="emailId" type="email" value=""
-
 
209
                                   class="form-control input-sm email"
-
 
210
                                   placeholder="Email(xyz@gmail.com)">
-
 
211
                        </div>
-
 
212
                        <div class="col-lg-2 form-group">
-
 
213
                            <button type="button"
-
 
214
                                    class="btn btn-block btn-primary mk_add_customer"
-
 
215
                                    style="display: none">Add customer
-
 
216
                            </button>
-
 
217
                            <button type="button"
-
 
218
                                    class="btn btn-block btn-primary mk_add_email"
-
 
219
                                    style="display: none">Update Customer
-
 
220
                            </button>
-
 
221
                        </div>
-
 
222
                    </div>
-
 
223
 
273
                    <div class="row billinginfo" style="display: none">
224
                    <div class="row billinginfo" style="display: none">
274
                        <div class="row">
225
                        <div class="col-lg-12 row">
275
                            <div class="col-lg-3">
226
                            <div class="col-lg-3">
276
                                <h4 class="modelHeaderCustom" style="font-size: 22px;">Billing
227
                                <h4 class="modelHeaderCustom" style="font-size: 22px;">Billing
277
                                    Address</h4>
228
                                    Address</h4>
278
                            </div>
229
                            </div>
279
                            <div class="col-lg-3">
230
                            <div class="col-lg-3">
Line 281... Line 232...
281
                                        class="btn btn-block btn-primary new-address-btn">New
232
                                        class="btn btn-block btn-primary new-address-btn">New
282
                                    Address
233
                                    Address
283
                                </button>
234
                                </button>
284
                            </div>
235
                            </div>
285
                        </div>
236
                        </div>
286
                        <div class="row">
237
                        <div class="row col-lg-12">
287
                            <div class="col-lg-3 form-group">
238
                            <div class="col-lg-3 form-group">
288
                                <input placeholder="GST Number" id="gstNumber" name="gstNumber"
239
                                <input placeholder="GST Number" id="gstNumber" name="gstNumber"
289
                                       type="text" value="" class="form-control input-sm">
240
                                       type="text" value="" class="form-control input-sm">
290
                            </div>
241
                            </div>
291
                        </div>
242
                        </div>
292
                        <div class="row" id="customer-address">
243
                        <div class="col-lg-12 row" id="customer-address">
293
                            <table class="table table-bordered">
244
                            <table class="table table-bordered">
294
                                <thead>
245
                                <thead>
295
                                <tr>
246
                                <tr>
296
                                    <th>Name</th>
247
                                    <th>Name</th>
297
                                    <th>Address Lines</th>
248
                                    <th>Address Lines</th>
Line 305... Line 256...
305
                                <tbody id="address-body">
256
                                <tbody id="address-body">
306
                                </tbody>
257
                                </tbody>
307
                            </table>
258
                            </table>
308
                        </div>
259
                        </div>
309
                    </div>
260
                    </div>
310
                    <div>
-
 
311
                        <div class="row">
-
 
312
                            <h4 class="modelHeaderCustom" style="font-size: 22px;">Insurance
-
 
313
                                Information</h4>
-
 
314
                        </div>
-
 
315
                    </div>
-
 
316
                    <div class="row mk_insurance_row" style="display: none">
261
                    <div class="row mk_insurance_row" style="display: none">
-
 
262
                        <div class="col-lg-12">
-
 
263
                            <h4 class="modelHeaderCustom" style="font-size: 22px;">Insurance Information</h4>
-
 
264
                        </div>
317
                        <div class="col-lg-3 form-group">
265
                        <div class="col-lg-3 form-group">
318
                            <label for="gender">Gender</label> <select
266
                            <label for="gender">Gender</label> <select
319
                                class="form-control input-sm" id="gender" name="gender"
267
                                class="form-control input-sm" id="gender" name="gender"
320
                                placeholder="Gender">
268
                                placeholder="Gender">
321
                            <option value="" disabled selected>Gender</option>
269
                            <option value="" disabled selected>Gender</option>
Line 336... Line 284...
336
                         style="background: white; background-color: white;"
284
                         style="background: white; background-color: white;"
337
                         class="col-lg-10">
285
                         class="col-lg-10">
338
                        <h4 class="modelHeaderCustom" style="font-size: 22px;">Payment
286
                        <h4 class="modelHeaderCustom" style="font-size: 22px;">Payment
339
                            Details</h4>
287
                            Details</h4>
340
                        <div class="row">
288
                        <div class="row">
341
                            <div class="col-lg-7">
289
                            <div class="col-lg-6">
342
                                <h4>Total Amount :</h4>
290
                                <h4>Total Amount :</h4>
343
                            </div>
291
                            </div>
344
                            <div class="col-lg-5">
292
                            <div class="col-lg-5">
345
                                <input type="number"
293
                                <input type="number"
346
                                       class="netPayableAmount form-control input-sm" name=""
294
                                       class="netPayableAmount form-control input-sm" name=""
Line 352... Line 300...
352
                            #set($a = 0) #set($b = $paymentOptions.size() - 1) #set($range =
300
                            #set($a = 0) #set($b = $paymentOptions.size() - 1) #set($range =
353
                        [$a..$b]) #foreach($index in $range)
301
                        [$a..$b]) #foreach($index in $range)
354
                            <div class="row">
302
                            <div class="row">
355
                                #set($paymentOption = $paymentOptions[$index])
303
                                #set($paymentOption = $paymentOptions[$index])
356
                                #if($paymentOption.getName() == 'ONLINE')
304
                                #if($paymentOption.getName() == 'ONLINE')
357
                                    <div class="col-lg-7">
305
                                    <div class="col-lg-6">
358
                                        <h4>$paymentOption.getName() :</h4>
306
                                        <h5>$paymentOption.getName() :</h5>
359
                                    </div>
307
                                    </div>
360
                                    <div class="col-lg-5">
308
                                    <div class="col-lg-5">
361
                                        <input type="number" id="paymentOptionIdAmount${index}"
309
                                        <input type="number" id="paymentOptionIdAmount${index}"
362
                                               name="paymentOptionIdAmount${index}"
310
                                               name="paymentOptionIdAmount${index}"
363
                                               class="form-control paymentOptionAmount amount input-sm"
311
                                               class="form-control paymentOptionAmount amount input-sm"
364
                                               value="$pendingOrderItem.getSellingPrice()"
312
                                               value="$pendingOrderItem.getSellingPrice()"
365
                                               paymentOptionId="$paymentOption.getId()" readonly>
313
                                               paymentOptionId="$paymentOption.getId()" readonly>
366
                                    </div>
314
                                    </div>
367
                                #else
315
                                #else
368
                                    <div class="col-lg-7">
316
                                    <div class="col-lg-6">
369
                                        <h4>$paymentOption.getName() :</h4>
317
                                        <h5>$paymentOption.getName() :</h5>
370
                                    </div>
318
                                    </div>
371
                                    <div class="col-lg-5">
319
                                    <div class="col-lg-5">
372
                                        <input type="number" id="paymentOptionIdAmount${index}"
320
                                        <input type="number" id="paymentOptionIdAmount${index}"
373
                                               name="paymentOptionIdAmount${index}"
321
                                               name="paymentOptionIdAmount${index}"
374
                                               class="form-control paymentOptionAmount amount input-sm"
322
                                               class="form-control paymentOptionAmount amount input-sm"
Line 397... Line 345...
397
        </div>
345
        </div>
398
        #end
346
        #end
399
        </div>
347
        </div>
400
    </form>
348
    </form>
401
</section>
349
</section>
402
<div class="modal modal-lg row" id="mobilePlansModal" tabindex="-1"
350
<div class="modal" id="mobilePlansModal" tabindex="-1"
403
     role="dialog">
351
     role="dialog">
404
    <div class="modal-dialog modal-lg" role="document">
352
    <div class="modal-dialog modal-lg" role="document">
405
        <div class="modal-content">
353
        <div class="modal-content">
406
            <div class="modal-header">
354
            <div class="modal-header">
407
                <button type="button" class="close" data-dismiss="modal"
355
                <button type="button" class="close" data-dismiss="modal"
Line 409... Line 357...
409
                    <span aria-hidden="true">&times;</span>
357
                    <span aria-hidden="true">&times;</span>
410
                </button>
358
                </button>
411
                <h4 class="modal-title">Choose from plans</h4>
359
                <h4 class="modal-title">Choose from plans</h4>
412
            </div>
360
            </div>
413
            <div class="modal-body" style="overflow-y: auto;max-height: calc(100vh - 210px)">
361
            <div class="modal-body" style="overflow-y: auto;max-height: calc(100vh - 210px)">
414
                <div class="row itemdetails">
362
                <div class="container-fluid itemdetails">
415
                    <div class="row col-lg-3">
363
                    <div class="row">
416
                        <div class="col-lg-6">
364
                        <div class="col-lg-12">
417
                            <h4>*Ram(GB):</h4>
-
 
418
                        </div>
-
 
419
                        <div class="col-lg-6 form-group">
-
 
420
                            <input type="number" class="dgram form-control input-sm"
365
                            <img src="https://cdn.pixabay.com/photo/2021/09/12/07/58/banner-6617550_960_720.png"
421
                                   name="ram" value="0">
366
                                 style="height:200px"/>
422
                        </div>
367
                        </div>
423
                    </div>
368
                    </div>
424
                    <div class="row col-lg-4">
369
                    <div class="row">
425
                        <div class="col-lg-6">
370
                        <div class="col-lg-4">
426
                            <h4>*Memory(GB):</h4>
371
                            <div class="form-group">
-
 
372
                                <label for="usr">*Ram(GB):</label>
-
 
373
                                <input type="number" class="dgram form-control input-sm"
-
 
374
                                       name="ram" value="0">
-
 
375
                            </div>
427
                        </div>
376
                        </div>
428
                        <div class="col-lg-5 form-group">
377
                        <div class="col-lg-4">
-
 
378
                            <div class="form-group">
-
 
379
                                <label for="usr">*Memory(GB):</label>
429
                            <input type="number" class="dgmemory form-control input-sm"
380
                                <input type="number" class="dgmemory form-control input-sm"
430
                                   name="memory" value="0">
381
                                       name="memory" value="0">
-
 
382
                            </div>
-
 
383
                        </div>
-
 
384
                        <div class="col-lg-4">
-
 
385
                            <div class="form-group">
-
 
386
                                <label for="usr">*Mfg Date:</label>
-
 
387
                                <input placeholder="Mfg Date" id="dgmfgdate" name="dgmfgdate"
-
 
388
                                       type="text" value="" class="form-control input-sm dgmfgdate">
-
 
389
                            </div>
431
                        </div>
390
                        </div>
432
                    </div>
391
                    </div>
433
                    <div class="col-lg-4">
392
                    <div class="row">
434
                        <div class="col-lg-3">
-
 
435
                            <h4>*Mfg Date:</h4>
-
 
436
                        </div>
-
 
437
                        <div class="col-lg-6 form-group">
393
                        <div class="col-lg-12  insurancedetails">
438
                            <input placeholder="Mfg Date" id="dgmfgdate" name="dgmfgdate"
-
 
439
                                   type="text" value="" class="form-control input-sm dgmfgdate">
-
 
-
 
394
 
440
                        </div>
395
                        </div>
441
                    </div>
396
                    </div>
442
                </div>
397
                </div>
443
                <div class="row insurancedetails"></div>
-
 
444
            </div>
398
            </div>
445
        </div>
399
        </div>
446
    </div>
400
    </div>
447
</div>
401
</div>
448
 
402