Browse Source

edit request ip

hajar^2
Siti Hajar Ibrahim 5 years ago
parent
commit
6f8cc8401b

+ 6
- 1
app/Http/Controllers/Form/BusinessController.php View File



$total = number_format((floatval($product->retail_price) * 1.06) + ($otc * 1.06) + $deposit + $ip_tax, 2); $total = number_format((floatval($product->retail_price) * 1.06) + ($otc * 1.06) + $deposit + $ip_tax, 2);


if ($request->coverage == 'CYBERJAYA' && $request->subscription == '24'){
$ip = $request->ip1;
} else {
$ip = $request->ip;
}
array_push($data, array( array_push($data, array(
'coverage' => $request->coverage, 'coverage' => $request->coverage,
'unit' => $request->unit, 'unit' => $request->unit,
'subscription' => $request->subscription, 'subscription' => $request->subscription,
'billing' => $request->billing, 'billing' => $request->billing,
'voice' => $voice, 'voice' => $voice,
'ip' => $request->ip,
'ip' => $ip,
'ip_fee' => $ip_fee, 'ip_fee' => $ip_fee,
'ip_tax' => $ip_tax, 'ip_tax' => $ip_tax,
'thedate' => $request->thedate, 'thedate' => $request->thedate,

+ 1
- 1
resources/views/sales/form/dealer/business_package.blade.php View File

@if ($pg == "1Gbps") @if ($pg == "1Gbps")
@if ($city == "CYBERJAYA") @if ($city == "CYBERJAYA")
<label id= "ip1"> <label id= "ip1">
<input type="checkbox" name="ip" id="ip" value="Free 1 Fixed IP" checked> <p style="margin-bottom: 0px !important">Free 1 Fixed IP</p>
<input type="checkbox" name="ip1" id="ip" value="Free 1 Fixed IP" checked> <p style="margin-bottom: 0px !important">Free 1 Fixed IP</p>
</label> </label>
<label id="ip3" style="display:none"> <label id="ip3" style="display:none">
<input type="checkbox" name="ip" id="ip" value="Free 3 Fixed IP" checked> <p style="margin-bottom: 0px !important">Free 3 Fixed IP</p> <input type="checkbox" name="ip" id="ip" value="Free 3 Fixed IP" checked> <p style="margin-bottom: 0px !important">Free 3 Fixed IP</p>

Loading…
Cancel
Save