Merge remote-tracking branch 'origin/prod-kopkb' into annur-rebate
This commit is contained in:
@@ -201,8 +201,8 @@
|
||||
@foreach($senaraipelanggan as $index=>$item)
|
||||
<tr>
|
||||
<td>{{ $counter }}</td>
|
||||
<td>{{$item['kpbaru']}}</td>
|
||||
<td>{{$item['nama']}}</td>
|
||||
<td>{{ !empty($item['kpbaru']) ? $item['kpbaru'] : $item['kplama'] }}</td>
|
||||
<td>{{ $item['nama']}}</td>
|
||||
|
||||
</tr>
|
||||
@php $counter++;@endphp
|
||||
|
||||
@@ -169,10 +169,25 @@
|
||||
</tr> --}}
|
||||
</table>
|
||||
<br>
|
||||
@php
|
||||
$reportNames = [
|
||||
'serahan' => 'LAPORAN SERAHAN HQ',
|
||||
'serahankepadav3' => 'LAPORAN SERAHAN KEPADA V3',
|
||||
'pendahuluan' => 'LAPORAN PENDAHULUAN HQ',
|
||||
'online' => 'LAPORAN SERAHAN ONLINE HQ',
|
||||
'serahankepadav3' => 'LAPORAN SERAHAN KEPADA V3',
|
||||
'serahanlelong' => 'LAPORAN SERAHAN LELONG HQ',
|
||||
'serahanonline' => 'LAPORAN SERAHAN DAN SERAHAN ONLINE HQ',
|
||||
'all' => 'LAPORAN KESELURUHAN HQ'
|
||||
];
|
||||
|
||||
$displayJenisLaporan = $reportNames[$jenisLaporan] ?? 'Laporan Tidak Diketahui';
|
||||
@endphp
|
||||
|
||||
<table id="scan">
|
||||
<tr>
|
||||
<th colspan ="5"><b>LAPORAN PENDAHULUAN/SERAHAN HQ</b></th>
|
||||
{{-- <th colspan ="5"><b>LAPORAN PENDAHULUAN/SERAHAN HQ</b></th> --}}
|
||||
<th colspan ="5"><b>{{ $displayJenisLaporan }} (arOSv2)</b></th>
|
||||
<th> </th>
|
||||
<th> </th>
|
||||
<th></th>
|
||||
|
||||
@@ -0,0 +1,428 @@
|
||||
@extends('layouts.app')
|
||||
<style>
|
||||
|
||||
.radiostyle .radio-green {
|
||||
background-color: #27ae60;
|
||||
color:white;
|
||||
box-shadow: 5px 10px #888888;
|
||||
width:200px;
|
||||
margin-right:5px;
|
||||
transition: 0.5s ease;
|
||||
}
|
||||
|
||||
.radiostyle .radio-red {
|
||||
background-color: #e74c3c;
|
||||
color:white;
|
||||
width:200px;
|
||||
margin-right:5px;
|
||||
box-shadow: 5px 10px #888888;
|
||||
transition: 0.5s ease;
|
||||
}
|
||||
|
||||
.radiostyle .radio-yellow {
|
||||
background-color: #3498db;
|
||||
color:white;
|
||||
width:200px;
|
||||
margin-right:5px;
|
||||
box-shadow: 5px 10px #888888;
|
||||
transition: 0.5s ease;
|
||||
}
|
||||
|
||||
.radiostyle .radio-green:hover {
|
||||
box-shadow: 5px 5px #888888;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.radiostyle .radio-red:hover {
|
||||
box-shadow: 5px 5px #888888;
|
||||
|
||||
}
|
||||
|
||||
.radiostyle .radio-yellow:hover {
|
||||
box-shadow: 5px 5px #888888;
|
||||
|
||||
}
|
||||
|
||||
.radiostyle .radio-green input[type="radio"]:checked{
|
||||
box-shadow: 5px 10px #888888;
|
||||
}
|
||||
|
||||
.radiostyle .radio-yellow input[type="radio"]:checked{
|
||||
box-shadow: 5px 10px #888888;
|
||||
}
|
||||
|
||||
.radiostyle .radio-red input[type="radio"]:checked{
|
||||
box-shadow: 5px 10px #888888;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
<style>
|
||||
#header {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#header td,
|
||||
#customers th {
|
||||
|
||||
padding: 4px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
#header tr:nth-child(even) {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
#header tr:hover {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
#header th {
|
||||
padding-top: 12px;
|
||||
padding-bottom: 12px;
|
||||
text-align: left;
|
||||
padding: 4px;
|
||||
color: black;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
#scan {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#scan td,
|
||||
#scan th {
|
||||
|
||||
padding: 8px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
#scan tr:nth-child(even) {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
#scan tr:hover {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
#scan th {
|
||||
padding-top: 12px;
|
||||
padding-bottom: 12px;
|
||||
text-align: left;
|
||||
padding: 4px;
|
||||
color: black;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<style>
|
||||
#scan {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#scan td,
|
||||
#scan th {
|
||||
border-collapse: collapse;
|
||||
padding: 8px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
#scan tr:nth-child(even) {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
#scan tr:hover {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
#scan th {
|
||||
border-collapse: collapse;
|
||||
padding-top: 12px;
|
||||
padding-bottom: 12px;
|
||||
text-align: left;
|
||||
padding: 4px;
|
||||
color: black;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
#details {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#details td,
|
||||
#details th {
|
||||
|
||||
padding: 8px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
#details tr:nth-child(even) {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
#details tr:hover {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
#details th {
|
||||
padding-top: 12px;
|
||||
font-style: bold;
|
||||
padding-bottom: 12px;
|
||||
text-align: left;
|
||||
padding: 4px;
|
||||
color: black;
|
||||
}
|
||||
</style>
|
||||
|
||||
<style>
|
||||
#sign {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#sign td,
|
||||
#sign th {
|
||||
|
||||
padding: 8px;
|
||||
font-size: 11px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#sign tr:nth-child(even) {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
#sign tr:hover {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
#sign th {
|
||||
padding-top: 12px;
|
||||
padding-bottom: 12px;
|
||||
text-align: left;
|
||||
padding: 4px;
|
||||
color: black;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
|
||||
@section('content')
|
||||
<div class="container-fluid">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<div class="card">
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb pb-3">
|
||||
<li class="breadcrumb-item"><a href="{{ route('home') }}">Home</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{ route('laporan') }}">Laporan</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{ route('laporan.stokauditkhas') }}">SA(Blast Whatsapp)</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page">Stok Audit Khas (Blast Whatsapp)</li>
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
|
||||
<div class="card-body text-center">
|
||||
|
||||
<form id="exportpdf" action="{{route('stokaudit.exportlaporancetakkhas')}}" target="_blank" method="POST">
|
||||
{{-- <a class="btn m-1 btn-success confirmdel" href="{{route('stokaudit.exportlaporancetakkhas')}}" data-toggle="tooltip" data-placement="top" title="Blast"><i class="far fa-mail-alt"></i>Blast Whatsapp & SMS</a> --}}
|
||||
@csrf
|
||||
<input type="hidden" name="type" id="typedonwload" value="">
|
||||
<input type="hidden" name="daritempoh" value="{{ $daritempoh}}">
|
||||
<input type="hidden" name="hinggatempoh" value="{{ $hinggatempoh}}">
|
||||
<input type='hidden' name="radaktif" value="aktif">
|
||||
<table id="scan">
|
||||
<tr>
|
||||
<th colspan ="5"><b>Laporan Stok Audit Khas (Blast Whatsapp)</b></th>
|
||||
|
||||
<th><b> Tarikh Cetak:</b>
|
||||
@php
|
||||
$myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_cetak);
|
||||
$formattedweddingdate = $myDateTime->format('d-m-Y');
|
||||
echo $formattedweddingdate;
|
||||
@endphp
|
||||
</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th> <b>Dari Tempoh: {{$daritempoh}} hingga Tempoh: {{$hinggatempoh}}</b></th>
|
||||
<td></td>
|
||||
<td style="width:50px"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table class="table table-bordered" id="details" style="width:100%">
|
||||
<thead>
|
||||
<th>Bil</th>
|
||||
<!-- <th>Status</th> -->
|
||||
<th>Nama</th>
|
||||
<th>No. KP</th>
|
||||
<th>No. Telefon</th>
|
||||
<th>Norujukan</th>
|
||||
<th>Tempoh</th>
|
||||
<th>Berat</th>
|
||||
<th>Nilai Marhun (RM)</th>
|
||||
<th>Pembiayaan Asal (RM)</th>
|
||||
<th>Baki Pembiayaan (RM)</th>
|
||||
<th>Keuntungan Belum Bayar (RM)</th>
|
||||
</thead>
|
||||
@php
|
||||
$counter = 1;
|
||||
$totalpinjaman = 0;
|
||||
|
||||
// Sort ikut norujukan
|
||||
$rekod = collect($stokaudit[0])->sortBy('norujukan')->values();
|
||||
@endphp
|
||||
|
||||
@foreach ($rekod as $item)
|
||||
@php
|
||||
$status = $item['blasted'] == null ? 'Belum' : 'Selesai';
|
||||
$totalpinjaman += $item['pinjaman'];
|
||||
@endphp
|
||||
|
||||
<tr>
|
||||
<td>{{ $counter }}</td>
|
||||
<!-- <td style="white-space: nowrap">{{ $status }}</td> -->
|
||||
<td style="white-space: nowrap;">{{ $item['customer']['nama'] ?? '-' }}</td>
|
||||
<td>{{ $item['nokp'] }}</td>
|
||||
<td>{{ $item['customer']['telefon'] ?? '-' }}</td>
|
||||
<td style="white-space: nowrap;">{{ $item['norujukan'] }}</td>
|
||||
<td>{{ $item['tempoh'] }}</td>
|
||||
<td>{{ $item['berat'] }}</td>
|
||||
<td align="right">{{ number_format($item['nilaimarhun'], 2) }}</td>
|
||||
<td align="right">{{ number_format($item['pinjaman'], 2) }}</td>
|
||||
<td align="right">{{ number_format($item['bakipjm'], 2) }}</td>
|
||||
<td align="right">{{ number_format($item['tunggakan'], 2) }}</td>
|
||||
</tr>
|
||||
@php $counter++; @endphp
|
||||
@endforeach
|
||||
|
||||
<tfoot>
|
||||
<th colspan='6'>Jumlah</th>
|
||||
<th>{{ number_format(collect($rekod)->sum('berat'), 2) }}</th>
|
||||
<th style="text-align:right; font-weight:bold;">{{ number_format(collect($rekod)->sum('nilaimarhun'), 2) }}</th>
|
||||
<th style="text-align:right; font-weight:bold;">{{ number_format(collect($rekod)->sum('pinjaman'), 2) }}</th>
|
||||
<th style="text-align:right; font-weight:bold;">{{ number_format(collect($rekod)->sum('bakipjm'), 2) }}</th>
|
||||
<th style="text-align:right; font-weight:bold;">{{ number_format(collect($rekod)->sum('tunggakan'), 2) }}</th>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
<br>
|
||||
{{-- <table id="sign">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td colspan="2"> .................................................................. </td>
|
||||
<td> </td>
|
||||
<td colspan="2">.................................................................. </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td colspan="2"><B> DI SEMAK</B> </td>
|
||||
<td> </td>
|
||||
<td colspan="2"><B>DI SAHKAN </B></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</table> --}}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
var tablelelongbid= $('#details').DataTable( {
|
||||
"columnDefs": [
|
||||
{
|
||||
"targets": 0,
|
||||
"target": '_blank',
|
||||
"orderable": false
|
||||
},
|
||||
{
|
||||
"targets": 5,
|
||||
"orderable": false
|
||||
}
|
||||
],
|
||||
// order: [[1, 'asc']],
|
||||
// // "ordering": false,
|
||||
"info": false,
|
||||
"lengthChange": false,
|
||||
"pageLength": 9999999,
|
||||
dom: 'Bfrtip',
|
||||
buttons: [
|
||||
|
||||
{
|
||||
className: 'btn btn-outline-success pl-4 pr-4 btn-sm export',
|
||||
target: "_blank",
|
||||
titleAttr: 'Export to Excel',
|
||||
text: '<h8><b>EXCEL</b></h8>',
|
||||
action: function ( e, dt, node, config ) {
|
||||
$('#typedonwload').val('excel');
|
||||
$("#exportpdf").submit();
|
||||
// window.open("_blank");
|
||||
}
|
||||
},
|
||||
{
|
||||
className: 'btn btn-outline-danger pl-4 pr-4 btn-sm export',
|
||||
titleAttr: 'Export to PDF',
|
||||
text: '<h8><b>PDF</b></h8>',
|
||||
action: function ( e, dt, node, config ) {
|
||||
$('#typedonwload').val('pdf');
|
||||
$("#exportpdf").submit();
|
||||
}
|
||||
|
||||
},
|
||||
// {
|
||||
// className: 'btn btn-outline-info pl-4 pr-4 btn-sm export',
|
||||
// target: "_blank",
|
||||
// titleAttr: 'Blast Whatsapp',
|
||||
// text: '<h8><b>WHATSAPP & SMS</b></h8>',
|
||||
// action: function ( e, dt, node, config ) {
|
||||
// // $('#typedonwload').val('whatsapp');
|
||||
// // $("#exportpdf").submit();
|
||||
// $("#exportpdf").click(function() {
|
||||
// $('[data-toggle="tooltip"]').tooltip()
|
||||
// alert("ADAKAH ANDA PASTI?");
|
||||
// $('#typedonwload').val('whatsapp');
|
||||
// $("#exportpdf").submit();
|
||||
// });
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
|
||||
]
|
||||
|
||||
});
|
||||
|
||||
$('.export').tooltip();
|
||||
$( '.export').removeClass('dt-button');
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
@endsection
|
||||
@@ -230,8 +230,8 @@
|
||||
<td>{{ $counter }}</td>
|
||||
<td>
|
||||
@php
|
||||
|
||||
$gadaidetail = Http::withOptions(['verify' => config('app.api_verify')])->get($api_url . '/api/gadai/norujukan/' . $item['norujukan'])->json();
|
||||
// $gadaidetail = Http::withOptions(['verify' => config('app.api_verify')])->get($api_url . '/api/gadai/norujukan/' . $item['norujukan'])->json();
|
||||
$gadaidetail = Http::withOptions(['verify' => config('app.api_verify')])->get($api_url . '/api/gadai/norujukankodcaw/' . $item['kodcaw'] . '/' . $item['norujukan'])->json();
|
||||
$customer_detail = Http::withOptions(['verify' => config('app.api_verify')])->get($api_url . '/api/customers/' . $gadaidetail[0][0]['nokp'])->json();
|
||||
echo $customer_detail['nama'];
|
||||
@endphp
|
||||
|
||||
@@ -464,11 +464,21 @@
|
||||
}
|
||||
</style>
|
||||
<div class="header-style">
|
||||
<div style="display: flex; align-items:center">
|
||||
<img src="{{ asset('img/kopkb.png') }}" style="width:80px; margin-right: 10px" alt="User Image" class="center">
|
||||
<img src="{{ asset('img/ARRAHN1.png') }}" style="width:50px" alt="User Image" class="center">
|
||||
<!-- Logo Section -->
|
||||
<div style="display: flex; align-items: center;">
|
||||
<img src="{{ asset('img/kopkb.png') }}" style="width: 80px; margin-right: 10px;" alt="KOPKB Logo" class="center">
|
||||
<img src="{{ asset('img/ARRAHN1.png') }}" style="width: 50px;" alt="ARRAHN Logo" class="center">
|
||||
</div>
|
||||
<div>
|
||||
|
||||
<!-- Cawangan Info -->
|
||||
<div style="display: flex; align-items: center; margin-top: 10px;">
|
||||
<span style="color: #0a0b0b; font-weight: bold;">
|
||||
<strong>{{ $cawangan_info["details_caw"] }}</strong>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- Notice Section -->
|
||||
<div style="margin-top: 10px;">
|
||||
<span><strong>UNTUK KEGUNAAN PELANGGAN</strong></span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -695,6 +705,11 @@
|
||||
class="center">
|
||||
<img src="{{ asset('img/ARRAHN1.png') }}" style="width:50px" alt="User Image" class="center">
|
||||
</div>
|
||||
<div style="display: flex; align-items: center;">
|
||||
<span style="color: #0a0b0b; font-weight: bold;">
|
||||
<strong>{{ $cawangan_info["details_caw"] }} (arOS V2)</strong>
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<span><strong>UNTUK KEGUNAAN PEJABAT</strong></span>
|
||||
</div>
|
||||
|
||||
@@ -430,11 +430,21 @@
|
||||
}
|
||||
</style>
|
||||
<div class="header-style">
|
||||
<div style="display: flex; align-items:center">
|
||||
<img src="{{ asset('img/kopkb.png') }}" style="width:80px; margin-right: 10px" alt="User Image" class="center" >
|
||||
<img src="{{ asset('img/ARRAHN1.png') }}" style="width:50px" alt="User Image" class="center" >
|
||||
<!-- Logo Section -->
|
||||
<div style="display: flex; align-items: center;">
|
||||
<img src="{{ asset('img/kopkb.png') }}" style="width: 80px; margin-right: 10px;" alt="KOPKB Logo" class="center">
|
||||
<img src="{{ asset('img/ARRAHN1.png') }}" style="width: 50px;" alt="ARRAHN Logo" class="center">
|
||||
</div>
|
||||
<div>
|
||||
|
||||
<!-- Cawangan Info -->
|
||||
<div style="display: flex; align-items: center; margin-top: 10px;">
|
||||
<span style="color: #0a0b0b; font-weight: bold;">
|
||||
<strong>{{ $cawangan_info["details_caw"] }}</strong>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- Notice Section -->
|
||||
<div style="margin-top: 10px;">
|
||||
<span><strong>UNTUK KEGUNAAN PELANGGAN</strong></span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -548,9 +558,15 @@
|
||||
</table>
|
||||
<div class="header-style">
|
||||
<div style="display: flex; align-items:center">
|
||||
<img src="{{ asset('img/kopkb.png') }}" style="width:80px; margin-right: 10px" alt="User Image" class="center" >
|
||||
<img src="{{ asset('img/ARRAHN1.png') }}" style="width:50px" alt="User Image" class="center" >
|
||||
<img src="{{ asset('img/kopkb.png') }}" style="width:80px; margin-right: 10px" alt="User Image"
|
||||
class="center">
|
||||
<img src="{{ asset('img/ARRAHN1.png') }}" style="width:50px" alt="User Image" class="center">
|
||||
</div>
|
||||
<div style="display: flex; align-items: center;">
|
||||
<span style="color: #0a0b0b; font-weight: bold;">
|
||||
<strong>{{ $cawangan_info["details_caw"] }} (arOS V2)</strong>
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<span><strong>UNTUK KEGUNAAN PEJABAT</strong></span>
|
||||
</div>
|
||||
|
||||
@@ -464,14 +464,25 @@
|
||||
}
|
||||
</style>
|
||||
<div class="header-style">
|
||||
<div style="display: flex; align-items:center">
|
||||
<img src="{{ asset('img/kopkb.png') }}" style="width:80px; margin-right: 10px" alt="User Image" class="center">
|
||||
<img src="{{ asset('img/ARRAHN1.png') }}" style="width:50px" alt="User Image" class="center">
|
||||
<!-- Logo Section -->
|
||||
<div style="display: flex; align-items: center;">
|
||||
<img src="{{ asset('img/kopkb.png') }}" style="width: 80px; margin-right: 10px;" alt="KOPKB Logo" class="center">
|
||||
<img src="{{ asset('img/ARRAHN1.png') }}" style="width: 50px;" alt="ARRAHN Logo" class="center">
|
||||
</div>
|
||||
<div>
|
||||
|
||||
<!-- Cawangan Info -->
|
||||
<div style="display: flex; align-items: center; margin-top: 10px;">
|
||||
<span style="color: #0a0b0b; font-weight: bold;">
|
||||
<strong>{{ $cawangan_info["details_caw"] }}</strong>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- Notice Section -->
|
||||
<div style="margin-top: 10px;">
|
||||
<span><strong>UNTUK KEGUNAAN PELANGGAN</strong></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div style="position: relative">
|
||||
@@ -614,7 +625,7 @@
|
||||
<table id="payment" class="{{ sizeof($wakil) != 0 ? 'custom-table-right' : '' }}">
|
||||
<tr>
|
||||
<td style="width:10px">Baki Pembiayaan</td>
|
||||
<td style="width:10px">: RM {{ number_format($gadai['bakipjm'], 2) }} </td>
|
||||
<td style="width:10px">: <strong>RM {{ number_format($gadai['bakipjm'], 2) }} </td></strong>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:10px">Keuntungan</td>
|
||||
@@ -641,7 +652,10 @@
|
||||
{{ number_format($gadai['diskaun'], 2) }} </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td style="width:10px">Jumlah Keuntungan + Lain-Lain Caj</td>
|
||||
<td style="width:10px">: <strong>RM
|
||||
{{ number_format($penebusan['onepercent'] + $penebusan['ujrah'], 2) }}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
@@ -699,6 +713,11 @@
|
||||
class="center">
|
||||
<img src="{{ asset('img/ARRAHN1.png') }}" style="width:50px" alt="User Image" class="center">
|
||||
</div>
|
||||
<div style="display: flex; align-items: center;">
|
||||
<span style="color: #0a0b0b; font-weight: bold;">
|
||||
<strong>{{ $cawangan_info["details_caw"] }} (arOS V2)</strong>
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<span><strong>UNTUK KEGUNAAN PEJABAT</strong></span>
|
||||
</div>
|
||||
@@ -844,7 +863,7 @@
|
||||
<table id="payment" class="{{ sizeof($wakil) != 0 ? 'custom-table-right' : '' }}">
|
||||
<tr>
|
||||
<td style="width:10px">Baki Pembiayaan</td>
|
||||
<td style="width:10px">: RM {{ number_format($gadai['bakipjm'], 2) }} </td>
|
||||
<td style="width:10px">: <strong>RM {{ number_format($gadai['bakipjm'], 2) }} </strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:10px">Keuntungan</td>
|
||||
@@ -865,6 +884,12 @@
|
||||
<td style="width:10px">: RM
|
||||
{{ number_format($totalrebate['ujrah'], 2) }} </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:10px">Jumlah Keuntungan + Lain-Lain Caj</td>
|
||||
<td style="width:10px">: <strong>RM
|
||||
{{ number_format($penebusan['onepercent'] + $penebusan['ujrah'], 2) }}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:10px">(-) Diskaun Promosi</td>
|
||||
<td style="width:10px">: RM
|
||||
|
||||
@@ -376,12 +376,22 @@ hr.new5 {
|
||||
|
||||
|
||||
<div class="header-style">
|
||||
<div style="display: flex; align-items:center">
|
||||
<img src="{{ asset('img/kopkb.png') }}" style="width:80px; margin-right: 10px" alt="User Image" class="center" >
|
||||
<img src="{{ asset('img/ARRAHN1.png') }}" style="width:50px" alt="User Image" class="center" >
|
||||
<!-- Logo Section -->
|
||||
<div style="display: flex; align-items: center;">
|
||||
<img src="{{ asset('img/kopkb.png') }}" style="width: 80px; margin-right: 10px;" alt="KOPKB Logo" class="center">
|
||||
<img src="{{ asset('img/ARRAHN1.png') }}" style="width: 50px;" alt="ARRAHN Logo" class="center">
|
||||
</div>
|
||||
<div>
|
||||
<span><strong>UNTUK KEGUNAAN PELANGGAN</strong></span>
|
||||
|
||||
<!-- Cawangan Info -->
|
||||
<div style="display: flex; align-items: center; margin-top: 10px;">
|
||||
<span style="color: #0a0b0b; font-weight: bold;">
|
||||
<strong>{{ $cawangan_info["details_caw"] }}</strong>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- Notice Section -->
|
||||
<div style="margin-top: 10px;">
|
||||
<span><strong>UNTUK KEGUNAAN PELANGGAN</strong></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -522,11 +532,17 @@ hr.new5 {
|
||||
|
||||
<div class="header-style">
|
||||
<div style="display: flex; align-items:center">
|
||||
<img src="{{ asset('img/kopkb.png') }}" style="width:80px; margin-right: 10px" alt="User Image" class="center" >
|
||||
<img src="{{ asset('img/ARRAHN1.png') }}" style="width:50px" alt="User Image" class="center" >
|
||||
<img src="{{ asset('img/kopkb.png') }}" style="width:80px; margin-right: 10px" alt="User Image"
|
||||
class="center">
|
||||
<img src="{{ asset('img/ARRAHN1.png') }}" style="width:50px" alt="User Image" class="center">
|
||||
</div>
|
||||
<div style="display: flex; align-items: center;">
|
||||
<span style="color: #0a0b0b; font-weight: bold;">
|
||||
<strong>{{ $cawangan_info["details_caw"] }} (arOS V2)</strong>
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<span><strong>UNTUK KEGUNAAN PEJABAT</strong></span>
|
||||
<span><strong>UNTUK KEGUNAAN PEJABAT</strong></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -10,18 +10,20 @@
|
||||
});
|
||||
</script>
|
||||
<style>
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid: 75px / 33% 33% 33%;
|
||||
padding-top: 10px;
|
||||
}
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: 45% 25% 30%;
|
||||
align-items: start;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
#header_surat1 {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
width: 100%;
|
||||
font-size: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
#header_surat1 {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
#header_surat1 p {
|
||||
margin: 2px;
|
||||
@@ -80,19 +82,34 @@
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
font-size: 12px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
#note p {
|
||||
margin: 2px;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
.custom-box {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
border: 50px solid black;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
margin-right: 4px;
|
||||
background-color: white;
|
||||
}
|
||||
.custom-box.checked {
|
||||
background-color: black;
|
||||
}
|
||||
</style>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="grid-container" style="margin-bottom: 10px">
|
||||
<div id="header_surat1">
|
||||
<p style="text-wrap:nowrap">KOPERASI PERMODALAN KELANTAN BERHAD (D-5-0228)</p>
|
||||
<p style="word-break: break-word;">KOPERASI PERMODALAN KELANTAN BERHAD (D-5-0228)</p>
|
||||
<p>{{ $cawangan_detail['namacaw'] }}</p>
|
||||
<p style="text-wrap:nowrap">{{ $cawangan_detail['alamat1'] }}</p>
|
||||
<p>{{ $cawangan_detail['alamat2'] }}</p>
|
||||
@@ -104,11 +121,24 @@
|
||||
<img src="{{ asset('img/ARRAHN1.png') }}" style="width:50px; margin:0 5px" alt="User Image" class="center">
|
||||
</div>
|
||||
</div>
|
||||
<div id="nosiri" style="text-align:right">
|
||||
<b><div class="arial-sans-serif f-10">Tarikh Cetak: {{$tarikh_cetak}}</div>
|
||||
<br>
|
||||
<div class="arial-sans-serif f-10">No Siri: {{$nosiri}}</div></b>
|
||||
|
||||
<div id="nosiri" style="text-align:left">
|
||||
<div style="margin-left: 15px;">
|
||||
@php
|
||||
echo '<img src="data:image/png;base64,' .
|
||||
DNS1D::getBarcodePNG($gadai_details['norujukan'], 'C128', 1, 30) .
|
||||
'" alt="barcode" />';
|
||||
@endphp
|
||||
</div>
|
||||
<!-- <div class="arial-sans-serif f-10">Tarikh Cetak: {{$tarikh_cetak}}</div> -->
|
||||
<div style="display: flex; align-items: center; margin-left: 14px;">
|
||||
<div class="arial-sans-serif f-10">Tarikh Cetak: {{$tarikh_cetak}}</div>
|
||||
</div>
|
||||
<div style="display: flex; align-items: center; margin-left: 15px;">
|
||||
<div class="arial-sans-serif f-10">No Siri: {{$nosiri}}</div>
|
||||
</div>
|
||||
<div style="display: flex; align-items: center; margin-left: 15px;">
|
||||
<div class="arial-sans-serif f-10">Cetakan: arOS V2</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -159,7 +189,9 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="checkbox"><strong>Penyelesaian Penuh</strong>
|
||||
<!-- <input type="checkbox"><strong>Penyelesaian Penuh</strong> -->
|
||||
<input type="checkbox" id="agree-box" class="custom-box"><strong>Penyelesaian Penuh</strong>
|
||||
<input type="checkbox" id="agree-box" class="custom-box"><strong>Penyelesaian Penuh dan Permohonan Pembiayaan Baru</strong>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -264,11 +296,10 @@
|
||||
|
||||
<div id="note"><b>
|
||||
<p>*Penting:</p>
|
||||
<p> a) Sila lampirkan bersama:</p>
|
||||
<p> i. Salinan kad pengenalan diri pelanggan dan kad pengenalan diri wakil yang dilantik.
|
||||
</p>
|
||||
<p> a) Sila lampirkan bersama:</p>
|
||||
<p> i. Salinan kad pengenalan diri pelanggan dan kad pengenalan diri wakil yang dilantik.</p>
|
||||
<p> ii. SAG asal pelanggan</p>
|
||||
<p> b) Pastikan tandatangan pelanggan adalah sama dengan tandatangan di Surat Akuan Gadai.</p>
|
||||
<p> b) Pastikan tandatangan pelanggan di dalam Surat Perlantikan Wakil ini adalah sama dengan tandatangan di Surat Akuan Gadai.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user