added from server 24/11/2024
This commit is contained in:
@@ -1634,7 +1634,7 @@
|
||||
});
|
||||
}
|
||||
|
||||
function ubahPembiayaanSemulaErrorHandling()
|
||||
async function ubahPembiayaanSemulaErrorHandling()
|
||||
{
|
||||
let selected = document.querySelector('#navtawarruqdannottawarruq input[type="radio"][name="belum"]:checked')
|
||||
|
||||
@@ -1655,7 +1655,7 @@
|
||||
return true;
|
||||
}
|
||||
|
||||
let isPS = checkPS(selected.value)
|
||||
let isPS = await checkPS(selected.value)
|
||||
|
||||
if(isPS === true){
|
||||
Swal.fire({
|
||||
@@ -1670,9 +1670,9 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
function ubahfunc(e){
|
||||
async function ubahfunc(e){
|
||||
|
||||
let isError = ubahPembiayaanSemulaErrorHandling()
|
||||
let isError = await ubahPembiayaanSemulaErrorHandling()
|
||||
if(isError){
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -124,12 +124,12 @@
|
||||
<td>{{ $staff->name }}</td>
|
||||
<td>{{ strtoupper($staff->roles) }}</td>
|
||||
<td>
|
||||
@if($staff->cawangan == 'operasi')
|
||||
@if($staff->cawangan == 'operasi' || $staff->cawangan == 'callcenter' || $staff->cawangan == 'admin')
|
||||
{{ ucwords($staff->cawangan) }}
|
||||
@else
|
||||
@php
|
||||
$cawangan_staff = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/cawangan/'. $staff->cawangan)->json();
|
||||
echo ($cawangan_staff) ? ucwords($cawangan_staff['details_caw']) : 'test';
|
||||
echo (isset($cawangan_staff['details_caw'])) ? ucwords($cawangan_staff['details_caw']) : 'test';
|
||||
@endphp
|
||||
@endif
|
||||
</td>
|
||||
|
||||
@@ -231,13 +231,13 @@
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: -140px;
|
||||
margin-top: -135px;
|
||||
}
|
||||
|
||||
.main-kaki-sag {
|
||||
border: 1px solid black;
|
||||
padding: 10px;
|
||||
width: 200px;
|
||||
width: 245px;
|
||||
transform: rotate(-90deg);
|
||||
font-size: 9px;
|
||||
}
|
||||
@@ -1644,7 +1644,7 @@
|
||||
'" alt="barcode" />';
|
||||
@endphp
|
||||
</div>
|
||||
<div class="percent-text">{{ $gadai_detail['percentpinj'] }}%</div>
|
||||
{{-- <div class="percent-text">{{ $gadai_detail['percentpinj'] }}%</div> --}}
|
||||
</div>
|
||||
<div class="detail-kaki-sag">
|
||||
<div class="ps-positioning {{ $is_pembiayaan_semula == false ? 'hidden' : '' }}">
|
||||
@@ -1768,4 +1768,4 @@
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user