| }else if( $request->subscription == '12' && $voice == 'Yes'){ | }else if( $request->subscription == '12' && $voice == 'Yes'){ | ||||
| $otc = 300 + 100; | $otc = 300 + 100; | ||||
| $deposit = $product->deposit; | $deposit = $product->deposit; | ||||
| }else if($request->subscription == '12' && $request->package != '50Mbps'){ | |||||
| $otc = 400; | |||||
| $deposit = $product->deposit; | |||||
| }else { | }else { | ||||
| $otc = 0.0; | $otc = 0.0; | ||||
| $deposit = $product->deposit; | $deposit = $product->deposit; | ||||
| }else if( $request->subscription == '12' && $voice == 'Yes'){ | }else if( $request->subscription == '12' && $voice == 'Yes'){ | ||||
| $otc = 300 + 100; | $otc = 300 + 100; | ||||
| $deposit = $product->deposit; | $deposit = $product->deposit; | ||||
| }else if($request->subscription == '12' && $request->package != '50Mbps'){ | |||||
| $otc = 400; | |||||
| $deposit = $product->deposit; | |||||
| }else { | }else { | ||||
| $otc = 0.0; | $otc = 0.0; | ||||
| $deposit = $product->deposit; | $deposit = $product->deposit; |
| <div> | <div> | ||||
| <label class="radio-inline"> | <label class="radio-inline"> | ||||
| <input type="radio" id="subscription1" name="subscription" value="12">12 Months <br> | <input type="radio" id="subscription1" name="subscription" value="12">12 Months <br> | ||||
| <small id="OTC" style="color:red; display:none">A one-time charge of RM300 applies for 12 months subscription.</small> | |||||
| @if ($pg == "50Mbps") | |||||
| <small id="OTC" style="color:red; display:none">A one-time charge of RM300 applies for 12 months subscription.</small> | |||||
| @else | |||||
| <small id="OTC" style="color:red; display:none">A one-time charge of RM400 applies for 12 months subscription.</small> | |||||
| @endif | |||||
| </label> | </label> | ||||
| <label class="radio-inline"> | <label class="radio-inline"> | ||||
| <input type="radio" id="subscription2" name="subscription" value="24" checked="">24 Months | <input type="radio" id="subscription2" name="subscription" value="24" checked="">24 Months | ||||
| </label> | </label> | ||||
| @else | @else | ||||
| <label> | <label> | ||||
| <input type="checkbox" name="voice" id="voice" value="No" checked> <p style="margin-bottom: 0px !important">Free Business Voice Plan and 1 Dect Phone </p> | |||||
| <input type="checkbox" name="voice" id="voice" value="Yes" checked> <p style="margin-bottom: 0px !important">Free Business Voice Plan and 1 Dect Phone </p> | |||||
| </label> | </label> | ||||
| @endif | @endif | ||||
| </div> | </div> |
| <div> | <div> | ||||
| <label class="radio-inline"> | <label class="radio-inline"> | ||||
| <input type="radio" id="subscription1" name="subscription" value="12">12 Months <br> | <input type="radio" id="subscription1" name="subscription" value="12">12 Months <br> | ||||
| <small id="OTC" style="color:red; display:none">A one-time charge of RM300 applies for 12 months subscription.</small> | |||||
| @if ($pg == "50Mbps") | |||||
| <small id="OTC" style="color:red; display:none">A one-time charge of RM300 applies for 12 months subscription.</small> | |||||
| @else | |||||
| <small id="OTC" style="color:red; display:none">A one-time charge of RM400 applies for 12 months subscription.</small> | |||||
| @endif | |||||
| </label> | </label> | ||||
| <label class="radio-inline"> | <label class="radio-inline"> | ||||
| <input type="radio" id="subscription2" name="subscription" value="24" checked="">24 Months <br> | <input type="radio" id="subscription2" name="subscription" value="24" checked="">24 Months <br> | ||||
| </label> | </label> | ||||
| @else | @else | ||||
| <label> | <label> | ||||
| <input type="checkbox" name="voice" id="voice" value="No" checked> <p style="margin-bottom: 0px !important">Free Business Voice Plan and 1 Dect Phone </p> | |||||
| <input type="checkbox" name="voice" id="voice" value="Yes" checked> <p style="margin-bottom: 0px !important">Free Business Voice Plan and 1 Dect Phone </p> | |||||
| </label> | </label> | ||||
| @endif | @endif | ||||
| </div> | </div> |