adding audit customer and notis lelong
This commit is contained in:
@@ -3869,6 +3869,25 @@ class KhazanahController extends Controller
|
||||
|
||||
}
|
||||
|
||||
public function TuntutBakiByBatchNo(Request $request)
|
||||
{
|
||||
$auth_user = Auth::user();
|
||||
$api_url = config('api.url');
|
||||
|
||||
$cawangan_info = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json();
|
||||
|
||||
$cawangan = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json();
|
||||
$cawangan_detail=$cawangan[0];
|
||||
|
||||
$current = Carbon::now();
|
||||
$current = new Carbon();
|
||||
|
||||
$lelong = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url'). '/api/senaraituntutbaki/aktif_batch/'. $auth_user['cawangan'])->json();
|
||||
|
||||
return view('khazanah.tuntutbaki_notis', compact('cawangan_detail','api_url','lelong','cawangan_info'));
|
||||
|
||||
}
|
||||
|
||||
public function NotisTuntutBaki(Request $request)
|
||||
{
|
||||
|
||||
@@ -3884,15 +3903,29 @@ class KhazanahController extends Controller
|
||||
$current = new Carbon();
|
||||
$tarikh_cetak = $current->toDateString();
|
||||
|
||||
$taxation = config('app.taxation');
|
||||
|
||||
$lelong = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url'). '/api/senaraituntutbaki/laporan/'. $auth_user['cawangan'])->json();
|
||||
$jenis = $request->jeniscetakan;
|
||||
$batchno = $request->batchno;
|
||||
|
||||
$lelong = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url'). '/api/senaraituntutbaki/laporan/'. $auth_user['cawangan'],[
|
||||
'jenis' => $jenis,
|
||||
'batchno' => $batchno
|
||||
])->json();
|
||||
|
||||
$cawangan_info = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json();
|
||||
$cawangan = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json();
|
||||
$cawangan_detail=$cawangan[0];
|
||||
|
||||
$pdf=PDF::loadView('print.notistuntutbaki', compact('cawangan_info','api_url','cawangan_detail','lelong','tarikh_cetak'))->setPaper('A4','potrait');
|
||||
return $pdf->download('notistuntutbaki_'.$tarikh_cetak.'_'.$auth_user['cawangan'].'.pdf');
|
||||
if($jenis == 'tuntutbaki')
|
||||
{
|
||||
$pdf=PDF::loadView('print.notistuntutbaki', compact('cawangan_info','api_url','cawangan_detail','lelong','tarikh_cetak','taxation'))->setPaper('A4','potrait');
|
||||
return $pdf->download('notistuntutbaki_'.$tarikh_cetak.'_'.$auth_user['cawangan'] . '_' . $batchno.'.pdf');
|
||||
}else{
|
||||
$pdf=PDF::loadView('print.notisrugi', compact('cawangan_info','api_url','cawangan_detail','lelong','tarikh_cetak','taxation'))->setPaper('A4','potrait');
|
||||
return $pdf->download('notisrugi_'.$tarikh_cetak.'_'.$auth_user['cawangan'] . '_' . $batchno.'.pdf');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -240,4 +240,6 @@ return [
|
||||
|
||||
'api_verify' => env('API_VERIFY',true),
|
||||
|
||||
'taxation' => env('TAX_AROS',true),
|
||||
|
||||
];
|
||||
|
||||
@@ -361,8 +361,8 @@
|
||||
</div>
|
||||
</form>
|
||||
<div class="mr-5 form-group float-right">
|
||||
<button type="button" class="btn btn-primary" onclick="kemaskinifunc()" id="btnkemaskini">Kemaskini</button>
|
||||
<button type="button" class="btn btn-primary" onclick="kemaskinipelanggan()" id="btnsave">Save</button>
|
||||
<button type="button" class="btn btn-primary" onclick="kemaskinifunc()" id="btnkemaskini">Ubah</button>
|
||||
<button type="button" class="btn btn-primary" onclick="kemaskinipelanggan()" id="btnsave">Terima</button>
|
||||
<button type="button" class="btn btn-primary" id="btnotp">Daftar Akaun Online</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -2040,7 +2040,7 @@
|
||||
{
|
||||
$('#btnkemaskini').addClass('btn-danger');
|
||||
$('#btnkemaskini').removeClass('btn-primary');
|
||||
$('#btnkemaskini').text('Cancel');
|
||||
$('#btnkemaskini').text('Batal');
|
||||
$('#btnkemaskini').attr('onclick','cancelbutton()');
|
||||
$('#btnsave').show();
|
||||
$('#btnotp').css('display','none');
|
||||
@@ -2058,7 +2058,7 @@
|
||||
function cancelbutton(){
|
||||
$('#btnkemaskini').removeClass('btn-danger');
|
||||
$('#btnkemaskini').addClass('btn-primary');
|
||||
$('#btnkemaskini').text('Kemaskini');
|
||||
$('#btnkemaskini').text('Ubah');
|
||||
$('#btnkemaskini').attr('onclick','kemaskinifunc()');
|
||||
$('#btnsave').css('display','none');
|
||||
$('#btnotp').show();
|
||||
|
||||
@@ -355,8 +355,8 @@
|
||||
</div>
|
||||
</form>
|
||||
<div class="mr-5 form-group float-right">
|
||||
<button type="button" class="btn btn-primary" onclick="kemaskinifunc()" id="btnkemaskini">Kemaskini</button>
|
||||
<button type="button" class="btn btn-primary" onclick="kemaskinipelanggan()" id="btnsave">Save</button>
|
||||
<button type="button" class="btn btn-primary" onclick="kemaskinifunc()" id="btnkemaskini">Ubah</button>
|
||||
<button type="button" class="btn btn-primary" onclick="kemaskinipelanggan()" id="btnsave">Terima</button>
|
||||
<button type="button" class="btn btn-primary" id="btnotp">Daftar Akaun Online</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1169,7 +1169,7 @@
|
||||
{
|
||||
$('#btnkemaskini').addClass('btn-danger');
|
||||
$('#btnkemaskini').removeClass('btn-primary');
|
||||
$('#btnkemaskini').text('Cancel');
|
||||
$('#btnkemaskini').text('Batal');
|
||||
$('#btnkemaskini').attr('onclick','cancelbutton()');
|
||||
$('#btnsave').show();
|
||||
$('#btnotp').css('display','none');
|
||||
@@ -1187,7 +1187,7 @@
|
||||
function cancelbutton(){
|
||||
$('#btnkemaskini').removeClass('btn-danger');
|
||||
$('#btnkemaskini').addClass('btn-primary');
|
||||
$('#btnkemaskini').text('Kemaskini');
|
||||
$('#btnkemaskini').text('Ubah');
|
||||
$('#btnkemaskini').attr('onclick','kemaskinifunc()');
|
||||
$('#btnsave').css('display','none');
|
||||
$('#btnotp').show();
|
||||
@@ -1231,6 +1231,7 @@
|
||||
method:"put",
|
||||
url: api_url + "/api/customers/update/khazanah/" + nokp,
|
||||
data:{
|
||||
"namakhazanah" : ppc,
|
||||
"telefon1": telefon1,
|
||||
"telefon2": telefon2,
|
||||
"kodbank":kodbank,
|
||||
@@ -1238,7 +1239,8 @@
|
||||
'nota':nota,
|
||||
'nama':nama,
|
||||
'alamat':alamat,
|
||||
'poskod':poskod
|
||||
'poskod':poskod,
|
||||
'kodcaw':kodcaw
|
||||
},
|
||||
success: function(success){
|
||||
$('#btnsave').css('display','none');
|
||||
@@ -1292,7 +1294,7 @@
|
||||
if(errortelefon1 <= 0 && errortelefon2 <= 0){
|
||||
$('#btnkemaskini').removeClass('btn-danger');
|
||||
$('#btnkemaskini').addClass('btn-primary');
|
||||
$('#btnkemaskini').text('Kemaskini');
|
||||
$('#btnkemaskini').text('Ubah');
|
||||
$('#btnkemaskini').attr('onclick','kemaskinifunc()');
|
||||
$('#btnotp').text('Daftar Akuan Online');
|
||||
$('#btnotp').attr('onclick','#');
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<a class="btn btn-info mb-3" href="{{ route('lelongan.notistuntutbaki') }}">Notis Tuntut Baki</a>
|
||||
<a class="btn btn-info mb-3" href="{{ route('lelongan.tuntutbaki') }}">Notis Tuntut Baki</a>
|
||||
|
||||
@if(sizeof($senaraibatchfasa1) !== 0 || sizeof($senaraibatchfasa2) !== 0)
|
||||
<table class="table table-bordered table-striped">
|
||||
|
||||
@@ -405,7 +405,7 @@
|
||||
let mid = $(e).data("mohonid");
|
||||
console.log(mid);
|
||||
$.ajax({
|
||||
method: 'put',
|
||||
method: 'post',
|
||||
url: api_url + '/admin/permohonan/updatejanapc',
|
||||
data: {
|
||||
"_token": "{{ csrf_token() }}",
|
||||
|
||||
@@ -0,0 +1,100 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<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('lelong') }}">Lelongan</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page">Notis Tuntut</li>
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
<div class="card-body text-center">
|
||||
<div class="row form-group">
|
||||
<div class="col-md-2">
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
@if(sizeof($lelong) !== 0)
|
||||
<table class="table table-bordered table-striped">
|
||||
<thead class="bg-dark">
|
||||
<tr>
|
||||
<th scope="col">No.</th>
|
||||
<th scope="col">Batch No.</th>
|
||||
<th scope="col">Bilangan Tuntut Baki</th>
|
||||
<th scope="col">Bilangan Rugi</th>
|
||||
<th scope="col">Tarikh Lelong</th>
|
||||
<th scope="col">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($lelong as $index=>$lel)
|
||||
<tr>
|
||||
<td>{{ $loop->iteration }}</td>
|
||||
<td>{{ $lel['batchno'] }}</td>
|
||||
<td>{{ $lel['bilangantuntutbaki'] }}</td>
|
||||
<td>{{ $lel['bilanganrugi'] }}</td>
|
||||
<td>{{ $lel['tarikhlelong'] }}</td>
|
||||
<td class="text-center">
|
||||
<a href="{{ route('lelongan.notistuntutbaki', ['jeniscetakan' => 'tuntutbaki','batchno' => $lel['batchno']]) }}" target="_blank" class="btn btn-success text-white">Notis Tuntut</a>
|
||||
<a href="{{ route('lelongan.notistuntutbaki', ['jeniscetakan' => 'rugi','batchno' => $lel['batchno']]) }}" target="_blank" class="btn btn-danger text-white">Notis Rugi</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
@else
|
||||
<div class="alert alert-danger" role="alert">
|
||||
Tiada Data dalam lelong!
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
|
||||
// function FuncPrint(meth)
|
||||
// {
|
||||
// let jeniscetakan = meth.value;
|
||||
|
||||
// if(jeniscetakan === 'cetak')
|
||||
// {
|
||||
// let urlroute = '{{ route("lelongan.laporancetak", ":id") }}';
|
||||
// urlroute = urlroute.replace(':id', jeniscetakan);
|
||||
// window.open(urlroute, '_blank');
|
||||
|
||||
// }else if(jeniscetakan === 'excel')
|
||||
// {
|
||||
// let urlroute = '{{ route("lelongan.laporancetak", ":id") }}';
|
||||
// urlroute = urlroute.replace(':id', jeniscetakan);
|
||||
// window.open(urlroute, '_blank');
|
||||
|
||||
// }else{
|
||||
// console.log('tiada cetakan');
|
||||
// }
|
||||
// }
|
||||
|
||||
</script>
|
||||
@endsection
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
@csrf
|
||||
<input type="hidden" name="norujukanhidden" id="norujukanhidden"/>
|
||||
<div class="col-12 row">
|
||||
<div class="col-5"><label class="mt-1">Jenis Alasan :</label></div>
|
||||
<div class="col-5"><label class="mt-1">Sebab Aduan :</label></div>
|
||||
<div class="col-7">
|
||||
<select name="alasan" id="alasan" class="form-control" required>
|
||||
<option value="Simpanan">Simpanan</option>
|
||||
@@ -29,7 +29,7 @@
|
||||
</div>
|
||||
|
||||
<div class="col-12 row mt-2">
|
||||
<div class="col-5"><label class="mt-1">Negeri :</label></div>
|
||||
<div class="col-5"><label class="mt-1">Negeri Aduan :</label></div>
|
||||
<div class="col-7">
|
||||
<select name="negeriagh" id="negeriagh" class="form-control" required>
|
||||
@foreach($negeri as $neg)
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
|
||||
<div class="col-12 row mt-2">
|
||||
<div class="col-5"><label class="mt-1">Daerah :</label></div>
|
||||
<div class="col-5"><label class="mt-1">Daerah Aduan :</label></div>
|
||||
<div class="col-7">
|
||||
<select name="daerahagh" id="daerahagh" class="form-control" disabled required>
|
||||
<option value="No-Data">Sila Pilih Daerah *</option>
|
||||
|
||||
@@ -0,0 +1,268 @@
|
||||
<style>
|
||||
#header {
|
||||
/* font-family: Arial, Helvetica, sans-serif; */
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#header td, #customers th {
|
||||
|
||||
padding-left:4px;
|
||||
font-size:12px;
|
||||
}
|
||||
|
||||
#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:11px;
|
||||
}
|
||||
|
||||
#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;
|
||||
}
|
||||
.container{
|
||||
page-break-after:always;
|
||||
padding: 20px 20px 20px 20px;
|
||||
}
|
||||
.tablestyle{
|
||||
font-size:12px;
|
||||
}
|
||||
.tablestyle td, .tablestyle th{
|
||||
/* padding-top: 12px; */
|
||||
/* border:1px solid black; */
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
@foreach($lelong as $index=>$lel)
|
||||
<div class="container">
|
||||
<table id="header">
|
||||
<tr>
|
||||
<th rowspan="4" style="width:50px"><br><img src="{{ asset('img/ARRAHN1.png') }}" style="width:70px"></img></th>
|
||||
<th colspan="1">{{ $cawangan_detail['namacaw'] }}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align:top;">{{ $cawangan_detail['alamat1'] }}</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align:top;">{{ $cawangan_detail['alamat2'] }}</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align:top;">{{ ' No Tel : '. $cawangan_detail['notel'] . ' No Faks : '. $cawangan_detail['nofaks'] }}</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
|
||||
<div>
|
||||
<table class="tablestyle">
|
||||
<tr>
|
||||
<td><br></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>TARIKH CETAK</td>
|
||||
<td>:</td>
|
||||
<td>@php
|
||||
$myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_cetak);
|
||||
$datez = $myDateTime->format('d-m-Y');
|
||||
echo($datez);
|
||||
@endphp</td>
|
||||
<td> </td>
|
||||
<td>NO TELEFON</td>
|
||||
<td width="1%">:</td>
|
||||
<td>{{ $lel['telefon1'] }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align:top;">KEPADA</td>
|
||||
<td style="vertical-align:top;">:</td>
|
||||
<td style="vertical-align:top;">{{ $lel['nama'] }}<br> {{ strtoupper($lel['alamat']) }} <br> {{ ' ' . $lel['poskod'] . ' ' . strtoupper($lel['daerah']) . ' ' . strtoupper($lel['negeri'])}}</td>
|
||||
<td></td>
|
||||
<td style="vertical-align:top;">NO K/P</td>
|
||||
<td style="vertical-align:top;">:</td>
|
||||
<td style="vertical-align:top;"> {{ $lel['IC'] }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>Tuan/Puan,</p>
|
||||
<h4 style="text-decoration: underline;">PENYATA TUNTUTAN</h4>
|
||||
|
||||
<p align="justify">Dimaklumkan bahawa barang gadaian tuan/puan <b>{{ $lel['norujukan'] }}</b> telah dilelong pada @php
|
||||
$myDateTime = DateTime::createFromFormat('Y-m-d', $lel['tarikhlelong']);
|
||||
$datez = $myDateTime->format('d-m-Y');
|
||||
echo($datez);
|
||||
|
||||
@endphp dan didapati nilai jualan lelongan barangan gadaian tuan/puan tidak dapat menampung jumlah pembiayaan termasuk upah simpan dan lain-lain caj berjumlah RM({{ number_format($lel['baki'],2) }}) seperti dibawah:-</p>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>Harga Lelongan</td>
|
||||
<td>:</td>
|
||||
<td>{{ number_format($lel['hargajual'],2) }}</td>
|
||||
</tr>
|
||||
@if($taxation == true)
|
||||
<tr>
|
||||
<td>GST 6% (harga jual)</td>
|
||||
<td>:</td>
|
||||
<td>{{ ($lel['gst_hj']) ? $lel['gst_hj'] : number_format(0.00,2) }}</td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
<td><b>Tolak</b></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table>
|
||||
@if($taxation == true)
|
||||
<tr>
|
||||
<td>GST 6% (harga jual)</td>
|
||||
<td>:</td>
|
||||
<td>{{ ($lel['gst_hj']) ? number_format($lel['gst_hj'],2) : number_format(0,2) }}</td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
<td>Baki Pembiayaan</td>
|
||||
<td>:</td>
|
||||
<td>{{ number_format($lel['bakipjm'],2) }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Baki Upah Simpan</td>
|
||||
<td>:</td>
|
||||
<td>{{ number_format($lel['bakiupah'],2) }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Caj Lelongan</td>
|
||||
<td>:</td>
|
||||
<td>{{ number_format($lel['cajlelong'],2) }}</td>
|
||||
</tr>
|
||||
@if($taxation == true)
|
||||
<tr>
|
||||
<td>GST 6% (caj lelong)</td>
|
||||
<td>:</td>
|
||||
<td>{{ ($lel['gst_cl']) ? number_format($lel['gst_cl'],2) : number_format(0,2) }}</td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
<td>Lain-lain Caj</td>
|
||||
<td>:</td>
|
||||
<td>{{ ($lel['cajlain']) ? number_format($lel['cajlain'],2) : number_format(0,2) }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Wang Lebihan (RM)</b></td>
|
||||
<td>:</td>
|
||||
<td>{{ number_format($lel['baki'],2) }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
|
||||
<p align="justify">Dengan itu, tuan/puan adalah dinasihatkan membuat pembayaran berkenaan kepada Ar-Rahn dalam tempoh 30 hari dari tarikh surat ini dikeluarkan.
|
||||
</p>
|
||||
<p align="justify">Sila maklum, kegagalan tuan/puan menyelesaikan jumlah tersebut dalam tempoh yang ditetapkan akan menyebabkan tindakan akan diambil terhadap tuan/puan.
|
||||
</p>
|
||||
<p align="justify">Tuan/puan boleh berhubung dengan Pengurus Operasi di alamat dan nombor telefon sebagaimana di atas.
|
||||
</p>
|
||||
<br>
|
||||
<p>Sekian, terima kasih.</p>
|
||||
|
||||
<br>
|
||||
<i>*Surat ini adalah cetakan komputer dan tiada tandatangan diperlukan</i>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@@ -192,11 +192,13 @@
|
||||
<td>:</td>
|
||||
<td>{{ number_format($lel['hargajual'],2) }}</td>
|
||||
</tr>
|
||||
@if($taxation == true)
|
||||
<tr>
|
||||
<td>GST 6% (harga jual)</td>
|
||||
<td>:</td>
|
||||
<td>{{ ($lel['gst_hj']) ? $lel['gst_hj'] : number_format(0.00,2) }}</td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
<td><b>Tolak</b></td>
|
||||
<td></td>
|
||||
@@ -205,11 +207,13 @@
|
||||
<tr>
|
||||
<td>
|
||||
<table>
|
||||
@if($taxation == true)
|
||||
<tr>
|
||||
<td>GST 6% (harga jual)</td>
|
||||
<td>:</td>
|
||||
<td>{{ ($lel['gst_hj']) ? number_format($lel['gst_hj'],2) : number_format(0,2) }}</td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
<td>Baki Pembiayaan</td>
|
||||
<td>:</td>
|
||||
@@ -225,12 +229,14 @@
|
||||
<td>:</td>
|
||||
<td>{{ number_format($lel['cajlelong'],2) }}</td>
|
||||
</tr>
|
||||
@if($taxation == true)
|
||||
<tr>
|
||||
<td>GST 6% (caj lelong)</td>
|
||||
<td>:</td>
|
||||
<td>{{ ($lel['gst_cl']) ? number_format($lel['gst_cl'],2) : number_format(0,2) }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@endif
|
||||
<td>Lain-lain Caj</td>
|
||||
<td>:</td>
|
||||
<td>{{ ($lel['cajlain']) ? number_format($lel['cajlain'],2) : number_format(0,2) }}</td>
|
||||
|
||||
+2
-22
@@ -21,28 +21,6 @@ Route::get('/testtry',function(){
|
||||
});
|
||||
|
||||
|
||||
Route::get('/testnotis',function(){
|
||||
|
||||
if($request->fasa == 1)
|
||||
{
|
||||
$lelong = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url'). '/api/senaraibatch/laporan/'. $auth_user['cawangan'] . '/' . 'fasa1',['batchno' => $request->batchno])->json();
|
||||
$fasa = 'fasa1';
|
||||
}else{
|
||||
$lelong = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url'). '/api/senaraibatch/laporan/'. $auth_user['cawangan'] . '/' . 'fasa2',['batchno' => $request->batchno])->json();
|
||||
$fasa = 'fasa2';
|
||||
}
|
||||
$notislelong = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url'). '/api/details/notislelong/'. $auth_user['cawangan'])->json();
|
||||
$cawangan_info = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json();
|
||||
$cawangan = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json();
|
||||
$cawangan_detail=$cawangan[0];
|
||||
|
||||
// return view('print.notislelong', compact('cawangan_info','notislelong','api_url','cawangan_detail','lelong','tarikh_cetak'));
|
||||
|
||||
$pdf=PDF::loadView('print.notistuntutbaki', compact('cawangan_info','notislelong','api_url','cawangan_detail','lelong','fasa','tarikh_cetak'))->setPaper('A4','potrait');
|
||||
// return $pdf->download('notislelong_'.$tarikh_cetak.'_'.$fasa.'.pdf');
|
||||
|
||||
});
|
||||
|
||||
//Testing Jer
|
||||
Route::get('test', function () {
|
||||
// event(new App\Events\StatusLiked('KOK LANAS','KOK KELI'));
|
||||
@@ -269,6 +247,8 @@ Route::get('/laporan/stokauditbackdate',['as'=>'laporan.stokauditbackdate','uses
|
||||
Route::get('laporan/stokauditbackdate/cetak',['as'=>'stokauditbackdate.laporancetak','uses'=>'KhazanahController@cetakLaporanStokAuditBackdate'])->middleware('auth','khazanah');
|
||||
|
||||
Route::get('laporan/lelongan/notislelong/',['as'=>'lelongan.notis','uses'=>'KhazanahController@NotisLelong']);
|
||||
|
||||
Route::get('laporan/lelongan/tuntutbaki/',['as'=>'lelongan.tuntutbaki','uses'=>'KhazanahController@TuntutBakiByBatchNo'])->middleware('auth','khazanah');
|
||||
Route::get('laporan/lelongan/notistuntutbaki/',['as'=>'lelongan.notistuntutbaki','uses'=>'KhazanahController@NotisTuntutBaki'])->middleware('auth','khazanah');
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user