added base64 for safe-url format and added pwa for phone
This commit is contained in:
@@ -15,6 +15,26 @@
|
||||
opacity: 0.5; /* Slight transparency */
|
||||
/*pointer-events: none; */
|
||||
}
|
||||
|
||||
@media (max-width: 768px) { /* Target screens smaller than tablets */
|
||||
.sticky-footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background-color: white; /* Adjust to match your theme */
|
||||
height:100px;
|
||||
box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for better visibility */
|
||||
padding: 10px; /* Add some padding for spacing */
|
||||
z-index: 1000; /* Ensure it stays above other content */
|
||||
text-align: center; /* Center align buttons */
|
||||
}
|
||||
|
||||
.sticky-footer .btn {
|
||||
width: 45%; /* Ensure buttons fit well side-by-side */
|
||||
margin: 0 5px; /* Add spacing between buttons */
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<title>Bayar SAG | Portal Pelanggan</title>
|
||||
@@ -32,8 +52,8 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div class="d-flex">
|
||||
<div class="col-9">
|
||||
<div class="d-md-flex">
|
||||
<div class="col-sm-12 col-md-9">
|
||||
@if($list_pkb)
|
||||
<div class="col-md-11 col-sm-12 mb-4" id="divpkb">
|
||||
<div class="card shadow">
|
||||
@@ -203,7 +223,7 @@
|
||||
@endif
|
||||
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<div class="d-none d-sm-none d-md-block col-xl-3">
|
||||
<div class="col-md-12">
|
||||
<div class="card shadow">
|
||||
<div class="card-header mb-4 bg-dark border-0">
|
||||
@@ -255,6 +275,40 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Sticky Footer for Mobile View -->
|
||||
<div class="sticky-footer d-sm-block d-md-none">
|
||||
<div>
|
||||
<div class="d-sm-flex">
|
||||
<div class="font-weight-light small d-flex">
|
||||
<div class="col-3">
|
||||
<label style="text-transform: uppercase; text-align: center;font-size: 10px;"><strong>Fi Pengurusan</strong></label>
|
||||
</div>
|
||||
|
||||
<div class="col-3">
|
||||
<span class="text-primary"><strong>RM<span>1.00</span></strong></span>
|
||||
</div>
|
||||
|
||||
<div class="col-3">
|
||||
<label style="text-transform: uppercase; text-align: center;font-size: 10px;"><strong>Jumlah Keseluruhan</strong></label>
|
||||
</div>
|
||||
|
||||
<div class="col-3">
|
||||
<span class="text-primary"><strong>RM<span id="spanjumlah-phone">1.00</span></strong></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="">
|
||||
<a href="{{ route('home') }}" type="button" class="btn btn-danger">Batal</a>
|
||||
@if($totalupahasal == 1.00 || $errorcount > 0)
|
||||
<button type="submit" id="bayarsbmt-phone" class="btn btn-primary" disabled onclick="loadingbtn();">Bayar</button>
|
||||
@else
|
||||
<button type="submit" id="bayarsbmt-phone" class="btn btn-primary" onclick="loadingbtn();">Bayar</button>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<script src="{{ asset('js/miscellaneous/cart.js') }}"></script>
|
||||
@@ -507,6 +561,7 @@
|
||||
$("#spanbayaranarrahn").text(sumarrahn.toFixed(2));
|
||||
$("#spanbayarantawarruq").text(sumtawarruq.toFixed(2));
|
||||
$('#spanjumlah').text(formatter.format(sum + 1));
|
||||
$('#spanjumlah-phone').text(formatter.format(sum + 1));
|
||||
}
|
||||
|
||||
if (document.addEventListener) {
|
||||
|
||||
Reference in New Issue
Block a user