updated server 28-9-2022
This commit is contained in:
@@ -3077,10 +3077,10 @@ class KhazanahController extends Controller
|
||||
$cawangan = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json();
|
||||
$cawangan_detail=$cawangan[0];
|
||||
|
||||
$gadai = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/gadai/norujukan/'.$request->norujukanhidden)->json();
|
||||
$gadai = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/gadai/norujukan/' . $auth_user['cawangan'] . '/' . $request->norujukanhidden)->json();
|
||||
|
||||
foreach($gadai as $index1=>$gad)
|
||||
$customers = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/customers/'.$gad[0]['nokp'])->json();
|
||||
$customers = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/customers/'.$gad['nokp'])->json();
|
||||
|
||||
// $kodnegeridandaerah = $request->negeriagh .'|' . $request->daerahagh;
|
||||
|
||||
@@ -3134,10 +3134,10 @@ class KhazanahController extends Controller
|
||||
$cawangan = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json();
|
||||
$cawangan_detail=$cawangan[0];
|
||||
|
||||
$gadai = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/gadai/norujukan/'.$request->norujukanhidden)->json();
|
||||
$gadai = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/gadai/norujukan/' . $auth_user['cawangan'] . '/' . $request->norujukanhidden)->json();
|
||||
|
||||
foreach($gadai as $index1=>$gad)
|
||||
$customers = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/customers/'.$gad[0]['nokp'])->json();
|
||||
$customers = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/customers/'.$gad['nokp'])->json();
|
||||
|
||||
// $kodnegeridandaerah = $request->negeriagh .'|' . $request->daerahagh;
|
||||
|
||||
@@ -3184,11 +3184,12 @@ class KhazanahController extends Controller
|
||||
$cawangan = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json();
|
||||
$cawangan_detail=$cawangan[0];
|
||||
|
||||
$gadai = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/gadai/norujukan/'.$norujukan)->json();
|
||||
|
||||
$gadai = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/gadai/norujukan/' . $auth_user['cawangan'] . '/' . $norujukan)->json();
|
||||
|
||||
foreach($gadai as $index1=>$gad)
|
||||
$customers = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/customers/'.$gad[0]['nokp'])->json();
|
||||
|
||||
{
|
||||
$customers = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/customers/'.$gad['nokp'])->json();
|
||||
}
|
||||
$polis = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/polis/get/',['norujukan' => $norujukan,'kodcaw' => $auth_user['cawangan']])->json();
|
||||
|
||||
|
||||
|
||||
@@ -857,7 +857,7 @@
|
||||
return false;
|
||||
}
|
||||
else{
|
||||
if(pinjaman > Number(pembiyaan_max_pelulus)+10 || pinjaman >=10000){
|
||||
if(pinjaman >=10000){
|
||||
const swalWithBootstrapButtons = Swal.mixin({
|
||||
customClass: {
|
||||
confirmButton: 'btn btn-success',
|
||||
|
||||
@@ -796,7 +796,7 @@
|
||||
return false;
|
||||
}
|
||||
else{
|
||||
if(pinjaman > Number(pembiyaan_max_pelulus) || pinjaman >= 10000){
|
||||
if(pinjaman >= 10000){
|
||||
const swalWithBootstrapButtons = Swal.mixin({
|
||||
customClass: {
|
||||
confirmButton: 'btn btn-success',
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
$daerah = Http::withOptions(['verify' => config('app.api_verify')])->get($api_url . '/api/daerah/' . $poskod['koddaerah'])->json();
|
||||
|
||||
@endphp
|
||||
<p style=" text-align: justify;text-justify: inter-word;line-height: 1.6;">Saya, <b>{{ $customers['nama'] }}</b>, No. K/P : <b>@php $satu = substr($gadai[0][0]['nokp'],0,6); $dua = substr($gadai[0][0]['nokp'],6,2);$ketiga = substr($gadai[0][0]['nokp'],8); echo $satu . '-' . $dua . '-' . $ketiga; @endphp</b> yang beralamat di <b>{{ strtoupper($customers['alamat1']) . ', ' . $customers['poskod'] . ', ' . strtoupper($daerah['namadaerah']) . ', ' . strtoupper($negeri['negeri']) }}</b> dengan sesungguhnya dan sebenarnya mengaku bahawa: -</p>
|
||||
<p style=" text-align: justify;text-justify: inter-word;line-height: 1.6;">Saya, <b>{{ $customers['nama'] }}</b>, No. K/P : <b>@php $satu = substr($gadai[0]['nokp'],0,6); $dua = substr($gadai[0]['nokp'],6,2);$ketiga = substr($gadai[0]['nokp'],8); echo $satu . '-' . $dua . '-' . $ketiga; @endphp</b> yang beralamat di <b>{{ strtoupper($customers['alamat1']) . ', ' . $customers['poskod'] . ', ' . strtoupper($daerah['namadaerah']) . ', ' . strtoupper($negeri['negeri']) }}</b> dengan sesungguhnya dan sebenarnya mengaku bahawa: -</p>
|
||||
|
||||
<ol>
|
||||
<li style=" text-align: justify;text-justify: inter-word;line-height: 1.6;"><b>Surat Gadaian Ar-Rahn Cawangan <span>@php $namacawangan = substr($cawangan_detail['namacaw'],7); $rendoh = strtolower($namacawangan);echo ucwords($rendoh); @endphp</span></b> kepunyaan saya telah hilang dalam simpanan @php if(strtoupper($polis[0]['komen1']) == 'SIMPANAN') { echo '.'; }else{ echo 'kerana <b>' . $polis[0]['komen1'] . '</b>.'; } @endphp Saya telah sedaya upaya berusaha mencari surat tersebut tetapi gagal menemuinya. Saya juga mengaku bahawa tidak pernah menjual atau menggadai surat tersebut kepada mana-mana institusi kewangan.</li>
|
||||
@@ -50,17 +50,17 @@
|
||||
<tr>
|
||||
<td style="text-align: left;">Berat</td>
|
||||
<td style="text-align: center;" width="20%;">:</td>
|
||||
<td style="text-align: left;font-weight:bold;" width="50%;">{{ $gadai[0][0]['berat'] }} gm</td>
|
||||
<td style="text-align: left;font-weight:bold;" width="50%;">{{ $gadai[0]['berat'] }} gm</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;">Pembiayaan</td>
|
||||
<td style="text-align: center;" width="20%;">:</td>
|
||||
<td style="text-align: left;font-weight:bold;" width="50%;">RM {{ $gadai[0][0]['pinjaman'] }}</td>
|
||||
<td style="text-align: left;font-weight:bold;" width="50%;">RM {{ $gadai[0]['pinjaman'] }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;">Tarikh Gadaian</td>
|
||||
<td style="text-align: center;" width="20%;">:</td>
|
||||
<td style="text-align: left;font-weight:bold;" width="50%;">@php $time = new DateTime($gadai[0][0]['t_gadai']); $date = $time->format('d/m/Y'); echo $date; @endphp</td>
|
||||
<td style="text-align: left;font-weight:bold;" width="50%;">@php $time = new DateTime($gadai[0]['t_gadai']); $date = $time->format('d/m/Y'); echo $date; @endphp</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style=" text-align: justify;text-justify: inter-word;">dan saya membuat akuan ini dengan kepercayaan bahwa akuan ini adalah benar, dan menurut kuasa peruntukan Akta Akuan Berkanun 1960.</p>
|
||||
|
||||
Reference in New Issue
Block a user