| $total_monthly = 0; | $total_monthly = 0; | ||||
| $gst =''; | $gst =''; | ||||
| // $promo_st = ''; | |||||
| $promo_st = ''; | |||||
| $voice = "No"; | $voice = "No"; | ||||
| if($request->voice == "Yes"){ | if($request->voice == "Yes"){ | ||||
| $ip_tax = number_format((floatval($ip_fee) * 1.06),2); | $ip_tax = number_format((floatval($ip_fee) * 1.06),2); | ||||
| } | } | ||||
| // if ($request->package != "1Gbps" && $request->subscription == '24'){ | |||||
| // $promo_price = number_format(floatval($product->retail_price) - 10); | |||||
| // $promo_st = number_format(floatval($promo_price) * 1.06,2); | |||||
| // $total_monthly = number_format($promo_st + ($voice_price * 1.06) + $ip_tax, 2); | |||||
| // } | |||||
| if ($request->package == "1Gbps"){ | |||||
| if ($request->package != "1Gbps" && $request->subscription == '24'){ | |||||
| $promo_price = number_format(floatval($product->retail_price) - 10); | |||||
| $promo_st = number_format(floatval($promo_price) * 1.06,2); | |||||
| $total_monthly = number_format($promo_st + ($voice_price * 1.06) + $ip_tax, 2); | |||||
| } | |||||
| else if ($request->package == "1Gbps"){ | |||||
| if ($request->ip == "1 Fixed IP RM200/1P/Month") { | if ($request->ip == "1 Fixed IP RM200/1P/Month") { | ||||
| $gst = number_format(floatval($product->retail_price) * 1.06,2); | $gst = number_format(floatval($product->retail_price) * 1.06,2); | ||||
| $total_monthly = 3920.94; | $total_monthly = 3920.94; | ||||
| 'thedate' => $request->thedate, | 'thedate' => $request->thedate, | ||||
| )); | )); | ||||
| return view('sales.form.business_preview', compact('data','coverage','product','deposit','otc', 'otc_st','gst','total_monthly', 'upfront_total')); | |||||
| return view('sales.form.business_preview', compact('data', 'coverage', 'product', 'deposit', 'otc', 'otc_st', 'gst', 'promo_price', 'promo_st', 'total_monthly', 'upfront_total')); | |||||
| } | } | ||||
| public function storeFormData(Request $request){ | public function storeFormData(Request $request){ | ||||
| $total_monthly = 0; | $total_monthly = 0; | ||||
| $gst =''; | $gst =''; | ||||
| // $promo_st = ''; | |||||
| $promo_st = ''; | |||||
| $voice = "No"; | $voice = "No"; | ||||
| if($request->voice == "Yes"){ | if($request->voice == "Yes"){ | ||||
| $ip_tax = number_format((floatval($ip_fee) * 1.06),2); | $ip_tax = number_format((floatval($ip_fee) * 1.06),2); | ||||
| } | } | ||||
| // if ($request->package != "1Gbps" && $request->subscription == '24'){ | |||||
| // $promo_price = number_format(floatval($product->retail_price) - 10); | |||||
| // $promo_st = number_format(floatval($promo_price) * 1.06,2); | |||||
| // $total_monthly = number_format($promo_st + ($voice_price * 1.06) + $ip_tax, 2); | |||||
| // } | |||||
| if ($request->package == "1Gbps"){ | |||||
| if ($request->package != "1Gbps" && $request->subscription == '24'){ | |||||
| $promo_price = number_format(floatval($product->retail_price) - 10); | |||||
| $promo_st = number_format(floatval($promo_price) * 1.06,2); | |||||
| $total_monthly = number_format($promo_st + ($voice_price * 1.06) + $ip_tax, 2); | |||||
| } | |||||
| else if ($request->package == "1Gbps"){ | |||||
| if ($request->ip == "1 Fixed IP RM200/1P/Month") { | if ($request->ip == "1 Fixed IP RM200/1P/Month") { | ||||
| $gst = number_format(floatval($product->retail_price) * 1.06,2); | $gst = number_format(floatval($product->retail_price) * 1.06,2); | ||||
| $total_monthly = 3920.94; | $total_monthly = 3920.94; | ||||
| 'dealer_id' => $request->dealer_id, | 'dealer_id' => $request->dealer_id, | ||||
| )); | )); | ||||
| return view('sales.form.dealer.business_preview', compact('data','coverage','product','deposit','otc', 'otc_st','gst','total_monthly', 'upfront_total')); | |||||
| return view('sales.form.dealer.business_preview', compact('data', 'coverage', 'product', 'deposit', 'otc', 'otc_st', 'gst', 'promo_price', 'promo_st', 'total_monthly', 'upfront_total')); | |||||
| } | } | ||||
| public function storeFormDataD(Request $request){ | public function storeFormDataD(Request $request){ |
| $total_monthly = 0; | $total_monthly = 0; | ||||
| $gst =''; | $gst =''; | ||||
| // $promo_st = ''; | |||||
| // if ($request->package != "1Gbps" && $request->subscription == '24'){ | |||||
| // $promo_price = number_format(floatval($product->retail_price) - 10); | |||||
| // $promo_st = number_format(floatval($promo_price) * 1.06,2); | |||||
| // $total_monthly = number_format($promo_st + ($voice_price * 1.06), 2); | |||||
| // } | |||||
| // else{ | |||||
| $promo_st = ''; | |||||
| if ($request->package != "1Gbps" && $request->subscription == '24'){ | |||||
| $promo_price = number_format(floatval($product->retail_price) - 10); | |||||
| $promo_st = number_format(floatval($promo_price) * 1.06,2); | |||||
| $total_monthly = number_format($promo_st + ($voice_price * 1.06), 2); | |||||
| } | |||||
| else{ | |||||
| $gst = number_format(floatval($product->retail_price) * 1.06,2); | $gst = number_format(floatval($product->retail_price) * 1.06,2); | ||||
| $total_monthly = number_format($gst + ($voice_price * 1.06), 2); | $total_monthly = number_format($gst + ($voice_price * 1.06), 2); | ||||
| // } | |||||
| } | |||||
| if($request->citizenship != 'Malaysian' && $request->subscription == '12' && $voice == 'No'){ | if($request->citizenship != 'Malaysian' && $request->subscription == '12' && $voice == 'No'){ | ||||
| $otc = 300; | $otc = 300; | ||||
| 'thedate' => $request->thedate, | 'thedate' => $request->thedate, | ||||
| )); | )); | ||||
| return view('sales.form.residential_preview', compact('data','coverage','product','deposit','otc', 'otc_st','gst','total_monthly', 'upfront_total')); | |||||
| return view('sales.form.residential_preview', compact('data', 'coverage', 'product', 'deposit', 'otc', 'otc_st', 'gst', 'promo_price', 'promo_st', 'total_monthly', 'upfront_total')); | |||||
| } | } | ||||
| public function storeFormData(Request $request){ | public function storeFormData(Request $request){ | ||||
| $total_monthly = 0; | $total_monthly = 0; | ||||
| $gst =''; | $gst =''; | ||||
| // $promo_st = ''; | |||||
| // if ($request->package != "1Gbps" && $request->subscription == '24'){ | |||||
| // $promo_price = number_format(floatval($product->retail_price) - 10); | |||||
| // $promo_st = number_format(floatval($promo_price) * 1.06,2); | |||||
| // $total_monthly = number_format($promo_st + ($voice_price * 1.06), 2); | |||||
| // } | |||||
| // else{ | |||||
| $promo_st = ''; | |||||
| if ($request->package != "1Gbps" && $request->subscription == '24'){ | |||||
| $promo_price = number_format(floatval($product->retail_price) - 10); | |||||
| $promo_st = number_format(floatval($promo_price) * 1.06,2); | |||||
| $total_monthly = number_format($promo_st + ($voice_price * 1.06), 2); | |||||
| } | |||||
| else{ | |||||
| $gst = number_format(floatval($product->retail_price) * 1.06,2); | $gst = number_format(floatval($product->retail_price) * 1.06,2); | ||||
| $total_monthly = number_format($gst + ($voice_price * 1.06), 2); | $total_monthly = number_format($gst + ($voice_price * 1.06), 2); | ||||
| // } | |||||
| } | |||||
| if($request->citizenship != 'Malaysian' && $request->subscription == '12' && $voice == 'No'){ | if($request->citizenship != 'Malaysian' && $request->subscription == '12' && $voice == 'No'){ | ||||
| $otc = 300; | $otc = 300; | ||||
| 'thedate' => $request->thedate, | 'thedate' => $request->thedate, | ||||
| )); | )); | ||||
| return view('sales.form.dealer.residential_preview', compact('data','coverage','product','deposit','otc', 'otc_st','gst','total_monthly', 'upfront_total')); | |||||
| return view('sales.form.dealer.residential_preview', compact('data', 'coverage', 'product', 'deposit', 'otc', 'otc_st', 'gst', 'promo_price', 'promo_st', 'total_monthly', 'upfront_total')); | |||||
| } | } | ||||
| public function storeFormDataD(Request $request){ | public function storeFormDataD(Request $request){ |
| <p>{{ $form->PackageDetail->rfs }}</p> | <p>{{ $form->PackageDetail->rfs }}</p> | ||||
| </td> | </td> | ||||
| </tr> | </tr> | ||||
| <!-- @if ($form->PackageDetail->contract == '24' && $form->PackageDetail->name != '1') | |||||
| @if ($form->PackageDetail->contract == '24' && $form->PackageDetail->name != '1') | |||||
| <tr> | <tr> | ||||
| <td colspan="2" style="padding:10px 15px" width="50%" valign="middle" align="center" bgcolor="#eee"> | <td colspan="2" style="padding:10px 15px" width="50%" valign="middle" align="center" bgcolor="#eee"> | ||||
| <b>Promotion</b> | <b>Promotion</b> | ||||
| <p>RM10 off for 24 months</p> | <p>RM10 off for 24 months</p> | ||||
| </td> | </td> | ||||
| </tr> | </tr> | ||||
| @endif --> | |||||
| @endif | |||||
| <tr> | <tr> | ||||
| <td colspan="2" style="padding:10px 15px" width="50%" valign="middle" align="center" bgcolor="#eee"> | <td colspan="2" style="padding:10px 15px" width="50%" valign="middle" align="center" bgcolor="#eee"> | ||||
| <b>Home Voice Plan</b> | <b>Home Voice Plan</b> |
| <p>{{ $form->PackageDetail->rfs }}</p> | <p>{{ $form->PackageDetail->rfs }}</p> | ||||
| </td> | </td> | ||||
| </tr> | </tr> | ||||
| <!-- @if ($form->PackageDetail->contract == '24' && $form->PackageDetail->name != '1') | |||||
| @if ($form->PackageDetail->contract == '24' && $form->PackageDetail->name != '1') | |||||
| <tr> | <tr> | ||||
| <td colspan="2" style="padding:10px 15px" width="50%" valign="middle" align="center" bgcolor="#eee"> | <td colspan="2" style="padding:10px 15px" width="50%" valign="middle" align="center" bgcolor="#eee"> | ||||
| <b>Promotion</b> | <b>Promotion</b> | ||||
| <p>RM10 off for 24 months</p> | <p>RM10 off for 24 months</p> | ||||
| </td> | </td> | ||||
| </tr> | </tr> | ||||
| @endif --> | |||||
| @endif | |||||
| <tr> | <tr> | ||||
| <td colspan="1" style="padding:10px 15px" width="50%" valign="middle" align="center" bgcolor="#eee"> | <td colspan="1" style="padding:10px 15px" width="50%" valign="middle" align="center" bgcolor="#eee"> | ||||
| <b> Business Voice Plan</b> | <b> Business Voice Plan</b> |
| <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> | ||||
| <small id="OTC-side" style="color:red; display:none">.</small> | <small id="OTC-side" style="color:red; display:none">.</small> | ||||
| </label> | </label> | ||||
| <!-- @if ($pg != "1Gbps") | |||||
| @if ($pg != "1Gbps") | |||||
| <label class="radio-inline"> | <label class="radio-inline"> | ||||
| <input type="checkbox" id="10off" checked=""> <small id="10off1">RM10 off for 24 months</small> | <input type="checkbox" id="10off" checked=""> <small id="10off1">RM10 off for 24 months</small> | ||||
| </label> | </label> | ||||
| @endif --> | |||||
| @endif | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> |
| <input type="hidden" name="deposit" value="{{ $deposit }}"> | <input type="hidden" name="deposit" value="{{ $deposit }}"> | ||||
| <input type="hidden" name="otc" value="{{ $otc_st }}"> | <input type="hidden" name="otc" value="{{ $otc_st }}"> | ||||
| <input type="hidden" name="gst" value="{{ $gst }}"> | <input type="hidden" name="gst" value="{{ $gst }}"> | ||||
| <input type="hidden" name="promo_st" value="{{ $promo_st }}"> | |||||
| <input type="hidden" name="total_monthly" value="{{ $total_monthly }}"> | <input type="hidden" name="total_monthly" value="{{ $total_monthly }}"> | ||||
| <div class="tracking-process"></div> | <div class="tracking-process"></div> | ||||
| <tr><th width="50%">Package</th> | <tr><th width="50%">Package</th> | ||||
| <td>City Broadband Business {{$a['package']}}</td> | <td>City Broadband Business {{$a['package']}}</td> | ||||
| </tr> | </tr> | ||||
| @if ($a['subscription']==24 && ($a['package'] != '1Gbps')) | |||||
| <tr><th width="50%">Promotion</th> | |||||
| <td>RM10 off for 24 months</td> | |||||
| </tr> | |||||
| @endif | |||||
| <tr><th width="50%">Contract Term</th> | <tr><th width="50%">Contract Term</th> | ||||
| <td>{{$a['subscription']}} Months</td> | <td>{{$a['subscription']}} Months</td> | ||||
| </tr> | </tr> | ||||
| <th>Total*</th> | <th>Total*</th> | ||||
| </tr> | </tr> | ||||
| <tr><th>City Broadband Business - {{$a['package']}}</th> | <tr><th>City Broadband Business - {{$a['package']}}</th> | ||||
| @if($a['package']!='1Gbps' && $a['subscription']=='24') | |||||
| <td><span style="text-decoration: line-through;">RM{{ $product->retail_price }}</span> RM{{ $promo_price}}</td> | |||||
| <td>RM{{ $promo_st }}</td> | |||||
| @else | |||||
| <td>RM{{ $product->retail_price }}</td> | <td>RM{{ $product->retail_price }}</td> | ||||
| <td>RM{{ $gst }}</td> | <td>RM{{ $gst }}</td> | ||||
| @endif | |||||
| </tr> | </tr> | ||||
| @if($a['voice']=='Yes') | @if($a['voice']=='Yes') | ||||
| <tr><th>Business Voice Plan</th> | <tr><th>Business Voice Plan</th> | ||||
| <div class="nonstick-footer padding bg-blue" align="center"> | <div class="nonstick-footer padding bg-blue" align="center"> | ||||
| <span class="medium-title text-centeryellow" style="color: yellow;">Got A Question?</span> | <span class="medium-title text-centeryellow" style="color: yellow;">Got A Question?</span> | ||||
| <div align="center"> | <div align="center"> | ||||
| <a class="nomargin btn btn-default" href="#" style="width: 230px;"> | |||||
| <a class="nomargin btn btn-default" href="https://www.citybroadband.my/support/faqs/business/year-end-promo/" style="width: 230px;"> | |||||
| Read FAQ | Read FAQ | ||||
| </a> | </a> | ||||
| <a style="width:230px" href="#" class="nomargin btn btn-default"> | <a style="width:230px" href="#" class="nomargin btn btn-default"> |
| <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> | ||||
| <small id="OTC-side" style="color:red; display:none">.</small> | <small id="OTC-side" style="color:red; display:none">.</small> | ||||
| </label> | </label> | ||||
| <!-- @if ($pg != "1Gbps") | |||||
| @if ($pg != "1Gbps") | |||||
| <label class="radio-inline"> | <label class="radio-inline"> | ||||
| <input type="checkbox" id="10off" checked=""> <small id="10off1">RM10 off for 24 months</small> | <input type="checkbox" id="10off" checked=""> <small id="10off1">RM10 off for 24 months</small> | ||||
| </label> | </label> | ||||
| @endif --> | |||||
| @endif | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> |
| <input type="hidden" name="deposit" value="{{ $deposit }}"> | <input type="hidden" name="deposit" value="{{ $deposit }}"> | ||||
| <input type="hidden" name="otc" value="{{ $otc_st }}"> | <input type="hidden" name="otc" value="{{ $otc_st }}"> | ||||
| <input type="hidden" name="gst" value="{{ $gst }}"> | <input type="hidden" name="gst" value="{{ $gst }}"> | ||||
| <input type="hidden" name="promo_st" value="{{ $promo_st }}"> | |||||
| <input type="hidden" name="total_monthly" value="{{ $total_monthly }}"> | <input type="hidden" name="total_monthly" value="{{ $total_monthly }}"> | ||||
| <tr><th width="50%">Package</th> | <tr><th width="50%">Package</th> | ||||
| <td>City Broadband Business {{$a['package']}}</td> | <td>City Broadband Business {{$a['package']}}</td> | ||||
| </tr> | </tr> | ||||
| @if ($a['subscription']==24 && ($a['package'] != '1Gbps')) | |||||
| <tr><th width="50%">Promotion</th> | |||||
| <td>RM10 off for 24 months</td> | |||||
| </tr> | |||||
| @endif | |||||
| <tr><th width="50%">Contract Term</th> | <tr><th width="50%">Contract Term</th> | ||||
| <td>{{$a['subscription']}} Months</td> | <td>{{$a['subscription']}} Months</td> | ||||
| </tr> | </tr> | ||||
| <th>Total*</th> | <th>Total*</th> | ||||
| </tr> | </tr> | ||||
| <tr><th>City Broadband Business - {{$a['package']}}</th> | <tr><th>City Broadband Business - {{$a['package']}}</th> | ||||
| @if($a['package']!='1Gbps' && $a['subscription']=='24') | |||||
| <td><span style="text-decoration: line-through;">RM{{ $product->retail_price }}</span> RM{{ $promo_price}}</td> | |||||
| <td>RM{{ $promo_st }}</td> | |||||
| @else | |||||
| <td>RM{{ $product->retail_price }}</td> | <td>RM{{ $product->retail_price }}</td> | ||||
| <td>RM{{ $gst }}</td> | <td>RM{{ $gst }}</td> | ||||
| @endif | |||||
| </tr> | </tr> | ||||
| @if($a['voice']=='Yes') | @if($a['voice']=='Yes') | ||||
| <tr><th>Business Voice Plan</th> | <tr><th>Business Voice Plan</th> | ||||
| <div class="nonstick-footer padding bg-blue" align="center"> | <div class="nonstick-footer padding bg-blue" align="center"> | ||||
| <span class="medium-title text-centeryellow" style="color: yellow;">Got A Question?</span> | <span class="medium-title text-centeryellow" style="color: yellow;">Got A Question?</span> | ||||
| <div align="center"> | <div align="center"> | ||||
| <a class="nomargin btn btn-default" href="#" style="width: 230px;"> | |||||
| <a class="nomargin btn btn-default" href="https://www.citybroadband.my/support/faqs/business/year-end-promo/" style="width: 230px;"> | |||||
| Read FAQ | Read FAQ | ||||
| </a> | </a> | ||||
| <a style="width:230px" href="#" class="nomargin btn btn-default"> | <a style="width:230px" href="#" class="nomargin btn btn-default"> |
| <label class="radio-inline"> | <label class="radio-inline"> | ||||
| <input id="subscription2" type="radio" name="subscription" value="24" checked="">24 Months <br> <small id="OTC-side" style="color:red; display:none">.</small> | <input id="subscription2" type="radio" name="subscription" value="24" checked="">24 Months <br> <small id="OTC-side" style="color:red; display:none">.</small> | ||||
| </label> | </label> | ||||
| <!-- @if ($a['package'] != "1Gbps") | |||||
| @if ($a['package'] != "1Gbps") | |||||
| <label class="radio-inline"> | <label class="radio-inline"> | ||||
| <input type="checkbox" id="10off" checked=""> <small id="10off1">RM10 off for 24 months</small> | <input type="checkbox" id="10off" checked=""> <small id="10off1">RM10 off for 24 months</small> | ||||
| </label> | </label> | ||||
| @endif --> | |||||
| @endif | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> |
| <input type="hidden" name="deposit" value="{{ $deposit }}"> | <input type="hidden" name="deposit" value="{{ $deposit }}"> | ||||
| <input type="hidden" name="otc" value="{{ $otc_st }}"> | <input type="hidden" name="otc" value="{{ $otc_st }}"> | ||||
| <input type="hidden" name="gst" value="{{ $gst }}"> | <input type="hidden" name="gst" value="{{ $gst }}"> | ||||
| <input type="hidden" name="promo_st" value="{{ $promo_st }}"> | |||||
| <input type="hidden" name="total_monthly" value="{{ $total_monthly }}"> | <input type="hidden" name="total_monthly" value="{{ $total_monthly }}"> | ||||
| <div class="tracking-process"></div> | <div class="tracking-process"></div> | ||||
| <tr><th width="50%">Package</th> | <tr><th width="50%">Package</th> | ||||
| <td>City Broadband Residential {{$a['package']}}</td> | <td>City Broadband Residential {{$a['package']}}</td> | ||||
| </tr> | </tr> | ||||
| @if ($a['subscription']==24 && ($a['package']=='50Mbps' || $a['package']=='100Mbps' || $a['package']=='300Mbps' || $a['package']=='500Mbps')) | |||||
| <tr><th width="50%">Promotion</th> | |||||
| <td>RM10 off for 24 months</td> | |||||
| </tr> | |||||
| @endif | |||||
| <tr><th width="50%">Contract Term</th> | <tr><th width="50%">Contract Term</th> | ||||
| <td>{{$a['subscription']}} Months</td> | <td>{{$a['subscription']}} Months</td> | ||||
| </tr> | </tr> | ||||
| <th>Total*</th> | <th>Total*</th> | ||||
| </tr> | </tr> | ||||
| <tr><th>City Broadband Residential - {{$a['package']}}</th> | <tr><th>City Broadband Residential - {{$a['package']}}</th> | ||||
| @if($a['package']!='1Gbps' && $a['subscription']=='24') | |||||
| <td><span style="text-decoration: line-through;">RM{{ $product->retail_price }}</span> RM{{ $promo_price}}</td> | |||||
| <td>RM{{ $promo_st }}</td> | |||||
| @else | |||||
| <td>RM{{ $product->retail_price }}</td> | <td>RM{{ $product->retail_price }}</td> | ||||
| <td>RM{{ $gst }}</td> | <td>RM{{ $gst }}</td> | ||||
| @endif | |||||
| </tr> | </tr> | ||||
| @if($a['voice']=='Yes') | @if($a['voice']=='Yes') | ||||
| <tr><th>Home Voice Plan</th> | <tr><th>Home Voice Plan</th> | ||||
| <div class="nonstick-footer padding bg-blue" align="center"> | <div class="nonstick-footer padding bg-blue" align="center"> | ||||
| <span class="medium-title text-centeryellow" style="color: yellow;">Got A Question?</span> | <span class="medium-title text-centeryellow" style="color: yellow;">Got A Question?</span> | ||||
| <div align="center"> | <div align="center"> | ||||
| <a class="nomargin btn btn-default" href="#" style="width: 230px;"> | |||||
| <a class="nomargin btn btn-default" href="https://www.citybroadband.my/support/faqs/residential/year-end-promo/" style="width: 230px;"> | |||||
| Read FAQ | Read FAQ | ||||
| </a> | </a> | ||||
| <a style="width:230px" href="#" class="nomargin btn btn-default"> | <a style="width:230px" href="#" class="nomargin btn btn-default"> |
| <label class="radio-inline"> | <label class="radio-inline"> | ||||
| <input id="subscription2" type="radio" name="subscription" value="24" checked="">24 Months <br> <small id="OTC-side" style="color:red; display:none">.</small> | <input id="subscription2" type="radio" name="subscription" value="24" checked="">24 Months <br> <small id="OTC-side" style="color:red; display:none">.</small> | ||||
| </label> | </label> | ||||
| <!-- @if ($a['package'] != "1Gbps") | |||||
| @if ($a['package'] != "1Gbps") | |||||
| <label class="radio-inline"> | <label class="radio-inline"> | ||||
| <input type="checkbox" id="10off" checked=""> <small id="10off1">RM10 off for 24 months</small> | <input type="checkbox" id="10off" checked=""> <small id="10off1">RM10 off for 24 months</small> | ||||
| </label> | </label> | ||||
| @endif --> | |||||
| @endif | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> |
| <input type="hidden" name="deposit" value="{{ $deposit }}"> | <input type="hidden" name="deposit" value="{{ $deposit }}"> | ||||
| <input type="hidden" name="otc" value="{{ $otc_st }}"> | <input type="hidden" name="otc" value="{{ $otc_st }}"> | ||||
| <input type="hidden" name="gst" value="{{ $gst }}"> | <input type="hidden" name="gst" value="{{ $gst }}"> | ||||
| <input type="hidden" name="promo_st" value="{{ $promo_st }}"> | |||||
| <input type="hidden" name="total_monthly" value="{{ $total_monthly }}"> | <input type="hidden" name="total_monthly" value="{{ $total_monthly }}"> | ||||
| <div class="tracking-process"></div> | <div class="tracking-process"></div> | ||||
| <tr><th width="50%">Package</th> | <tr><th width="50%">Package</th> | ||||
| <td>City Broadband Residential {{$a['package']}}</td> | <td>City Broadband Residential {{$a['package']}}</td> | ||||
| </tr> | </tr> | ||||
| @if ($a['subscription']==24 && ($a['package']=='50Mbps' || $a['package']=='100Mbps' || $a['package']=='300Mbps' || $a['package']=='500Mbps')) | |||||
| <tr><th width="50%">Promotion</th> | |||||
| <td>RM10 off for 24 months</td> | |||||
| </tr> | |||||
| @endif | |||||
| <tr><th width="50%">Contract Term</th> | <tr><th width="50%">Contract Term</th> | ||||
| <td>{{$a['subscription']}} Months</td> | <td>{{$a['subscription']}} Months</td> | ||||
| </tr> | </tr> | ||||
| <th>Total*</th> | <th>Total*</th> | ||||
| </tr> | </tr> | ||||
| <tr><th>City Broadband Residential - {{$a['package']}}</th> | <tr><th>City Broadband Residential - {{$a['package']}}</th> | ||||
| @if($a['package']!='1Gbps' && $a['subscription']=='24') | |||||
| <td><span style="text-decoration: line-through;">RM{{ $product->retail_price }}</span> RM{{ $promo_price}}</td> | |||||
| <td>RM{{ $promo_st }}</td> | |||||
| @else | |||||
| <td>RM{{ $product->retail_price }}</td> | <td>RM{{ $product->retail_price }}</td> | ||||
| <td>RM{{ $gst }}</td> | <td>RM{{ $gst }}</td> | ||||
| @endif | |||||
| </tr> | </tr> | ||||
| @if($a['voice']=='Yes') | @if($a['voice']=='Yes') | ||||
| <tr><th>Home Voice Plan</th> | <tr><th>Home Voice Plan</th> | ||||
| <div class="nonstick-footer padding bg-blue" align="center"> | <div class="nonstick-footer padding bg-blue" align="center"> | ||||
| <span class="medium-title text-centeryellow" style="color: yellow;">Got A Question?</span> | <span class="medium-title text-centeryellow" style="color: yellow;">Got A Question?</span> | ||||
| <div align="center"> | <div align="center"> | ||||
| <a class="nomargin btn btn-default" href="#" style="width: 230px;"> | |||||
| <a class="nomargin btn btn-default" href="https://www.citybroadband.my/support/faqs/residential/year-end-promo/" style="width: 230px;"> | |||||
| Read FAQ | Read FAQ | ||||
| </a> | </a> | ||||
| <a style="width:230px" href="#" class="nomargin btn btn-default"> | <a style="width:230px" href="#" class="nomargin btn btn-default"> |