update surat notis peirngatan dan info pelanggan

This commit is contained in:
Nur Izzati Zulkifli
2024-01-24 14:45:25 +08:00
parent 8f5e88ea7e
commit d6159e12f3
6 changed files with 591 additions and 52 deletions
+70 -8
View File
@@ -527,20 +527,28 @@ class CallCenterController extends Controller
{
$datanotiskedua = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url'). '/arcc/getdatanotiskedua/'. $kodcaw.'/'.$notisid. '/' . 'fasa1')->json();
$fasa = 'fasa1';
$cawangan_info = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/cawangan/'. $kodcaw)->json();
$cawangan = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/cawangan/detail/'.$kodcaw)->json();
$cawangan_detail=$cawangan[0];
// return view('print.notislelong', compact('cawangan_info','notislelong','api_url','cawangan_detail','lelong','tarikh_cetak'));
// dd($datanotiskedua);
$pdf=PDF::loadView('callcenter.suratnotisperingatankeduafasa1', compact('cawangan_info','api_url','cawangan_detail','datanotiskedua','fasa','tarikh_cetak'))->setPaper('A4','potrait');
return $pdf->download('notisperingatankedua_'.$tarikh_cetak.'_'.$fasa.'.pdf');
}else{
// dd(false);
$datanotiskedua = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url'). '/arcc/getdatanotiskedua/'. $kodcaw.'/'.$notisid. '/' . 'fasa2')->json();
$fasa = 'fasa2';
$cawangan_info = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/cawangan/'. $kodcaw)->json();
$cawangan = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/cawangan/detail/'.$kodcaw)->json();
$cawangan_detail=$cawangan[0];
// return view('print.notislelong', compact('cawangan_info','notislelong','api_url','cawangan_detail','lelong','tarikh_cetak'));
// dd($datanotiskedua);
$pdf=PDF::loadView('callcenter.suratnotisperingatankeduafasa2', compact('cawangan_info','api_url','cawangan_detail','datanotiskedua','fasa','tarikh_cetak'))->setPaper('A4','potrait');
return $pdf->download('notisperingatankedua_'.$tarikh_cetak.'_'.$fasa.'.pdf');
}
$cawangan_info = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/cawangan/'. $kodcaw)->json();
$cawangan = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url').'/api/cawangan/detail/'.$kodcaw)->json();
$cawangan_detail=$cawangan[0];
// return view('print.notislelong', compact('cawangan_info','notislelong','api_url','cawangan_detail','lelong','tarikh_cetak'));
// dd($datanotiskedua);
$pdf=PDF::loadView('callcenter.suratnotisperingatankedua', compact('cawangan_info','api_url','cawangan_detail','datanotiskedua','fasa','tarikh_cetak'))->setPaper('A4','potrait');
return $pdf->download('notisperingatankedua_'.$tarikh_cetak.'_'.$fasa.'.pdf');
}
elseif($request->type == 'pdflist')
@@ -817,4 +825,58 @@ class CallCenterController extends Controller
}
return view('callcenter.bycawdetailnotisjbg2',compact('cawangan_info','bycawnotisjbg','kodcaw','notisid','api_url'));
}
public function history(Request $request)
{
$auth_user = Auth::user();
$gadai = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/gadai/norujukan/'. $request->norujukan)->json();
if(sizeof($gadai) > 0)
{
$history = $gadai[0][0]['historygadaian'];
$dahtebus = $gadai[0][0]['sttebus'];
$norujukan = $gadai[0][0]['norujukan'];
}
$count = 0;
$arrayhist = [];
while($history != "0" && $history != '' || $dahtebus == 'T')
{
if($history != "0" && $history != '')
{
$gadai = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/gadai/norujukan/'. $history)->json();
$tebus = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/listpenebusanhistory/'. $gadai[0][0]['kodcaw'],[
"norujukan" => $history
])->json();
if(sizeof($gadai) > 0)
{
if($history == $gadai[0][0]['historygadaian'])
$history = 0;
else{
array_push($arrayhist,["tagbaru" => ((isset($gadai[0][0]['tagbaru'])) ? $gadai[0][0]['tagbaru'] : 0),"hargajualan" => ((isset($gadai[0][0]['hargajualan'])) ? $gadai[0][0]['hargajualan'] : ''), "pinjaman" => ((isset($tebus[0])) ? $tebus[0]['pinjaman'] : 0),"norujukan" => $history,"jenistebus" => ((isset($tebus[0])) ? $tebus[0]['jenistebus'] : 0),"jbg" => ((isset($tebus[0])) ? $tebus[0]['jbg'] : 0),"t_tebus" => ((isset($tebus[0])) ? $tebus[0]['t_tebus'] : 0)]);
$history = $gadai[0][0]['historygadaian'];
}
}
$count++;
}
else{
$gadai = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/gadai/norujukan/'. $norujukan)->json();
$tebus = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/listpenebusanhistory/'. $gadai[0][0]['kodcaw'],[
"norujukan" => $norujukan
])->json();
array_push($arrayhist,["tagbaru" => ((isset($gadai[0][0]['tagbaru'])) ? $gadai[0][0]['tagbaru'] : 0), "hargajualan" => ((isset($gadai[0][0]['hargajualan'])) ? $gadai[0][0]['hargajualan'] : ''),"pinjaman" => ((isset($tebus[0])) ? $tebus[0]['pinjaman'] : 0),"norujukan" => $norujukan,"jenistebus" => ((isset($tebus[0])) ? $tebus[0]['jenistebus'] : 0),"jbg" => ((isset($tebus[0])) ? $tebus[0]['jbg'] : 0),"t_tebus" => ((isset($tebus[0])) ? $tebus[0]['t_tebus'] : 0)]);
break;
}
}
return response()->json($arrayhist,200);
}
}
@@ -0,0 +1,250 @@
<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; */
}
.page-break {
page-break-before: always;
}
</style>
@foreach($datanotiskedua as $index=>$lel)
{{-- {{dd($notis['nama']['alamat1'])}} --}}
<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 width="15%">TARIKH CETAK
</td>
<td width="1%">:</td>
<td width="43%">@php
$myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_cetak);
$datez = $myDateTime->format('d-m-Y');
//echo($datez);
$fmt = datefmt_create(
'ms_MY',
IntlDateFormatter::LONG,
IntlDateFormatter::NONE,
'Asia/Kuala_Lumpur',
IntlDateFormatter::GREGORIAN
);
$cal = DateTime::createFromFormat('Y-m-d', $tarikh_cetak);
echo '' . strtoupper($fmt->format($cal));
@endphp
<td colspan="3"></td>
</td>
</tr>
<tr>
<td><br></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td width="14%"></td>
<td width="1%"></td>
<td></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;"></td>
<td style="vertical-align:top;"></td>
<td style="vertical-align:top;"></td>
</tr>
</table>
<p>Tuan/Puan,</p>
<h4><u>NOTIS PEMBERITAHUAN</u></h4>
<p>Dengan hormatnya dimaklumkan, akaun pembiayaan tuan/puan akan cukup tempoh <strong>6 bulan.</strong></p>
<table>
<tr>
<td>No Akuan Pembiayaan</td>
<td>:</td>
<td>{{$lel['norujukan']}}</td>
</tr>
<tr>
<td>Jumlah Pembiayaan</td>
<td>:</td>
<td>RM{{number_format($lel['pinjaman'], 2, '.', ',')}}</td>
</tr>
<tr>
<td>Jumlah Kutipan</td>
<td>:</td>
<td>RM{{number_format($lel['keuntungan'], 2, '.', ',')}}</td>
</tr>
<tr>
<td>Tarikh Matang</td>
<td>:</td>
<td><strong>@php
$myDateTime = DateTime::createFromFormat('Y-m-d', $lel['tmatang']);
$datez = $myDateTime->format('d-m-Y');
echo($datez);
@endphp</strong></td>
</tr>
</table>
<p>Oleh yang demikian, tuan/puan atau wakil boleh membuat bayaran tersebut secepat mungkin. Pihak Ar-Rahn ada menyediakan kemudahan e-bayaran melalui arrahnPay untuk
memudahkan bayaran anda di https://pay.arrahn.com.my. <br /></p>
<p>Jika pihak tuan/puan memerlukan sebarang pertanyaan, sila hubungi kakitangan cawangan kami yang sentiasa sedia membantu. <br/>
Sekian, terima kasih.</p>
<p>Nota:</p>
<i>Sila abaikan notis ini sekiranya pihak tuan/puan telah membuat urusan diatas.</i>
<p>Notis ini adalah cetakan komputer dan tiada tandatangan diperlukan.</p>
</div>
</div>
@endforeach
@@ -0,0 +1,247 @@
<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; */
}
.page-break {
page-break-before: always;
}
</style>
@foreach($datanotiskedua as $index=>$lel)
{{-- {{dd($notis['nama']['alamat1'])}} --}}
<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 width="15%">TARIKH CETAK
</td>
<td width="1%">:</td>
<td width="43%">@php
$myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_cetak);
$datez = $myDateTime->format('d-m-Y');
//echo($datez);
$fmt = datefmt_create(
'ms_MY',
IntlDateFormatter::LONG,
IntlDateFormatter::NONE,
'Asia/Kuala_Lumpur',
IntlDateFormatter::GREGORIAN
);
$cal = DateTime::createFromFormat('Y-m-d', $tarikh_cetak);
echo '' . strtoupper($fmt->format($cal));
@endphp
<td colspan="3"></td>
</td>
</tr>
<tr>
<td><br></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td width="14%"></td>
<td width="1%"></td>
<td></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;"></td>
<td style="vertical-align:top;"></td>
<td style="vertical-align:top;"></td>
</tr>
</table>
<p>Tuan/Puan,</p>
<h4><u>NOTIS PEMBERITAHUAN</u></h4>
<p>Dengan hormatnya dimaklumkan, akaun pembiayaan tuan/puan akan cukup tempoh <strong>12 bulan.</strong></p>
<table cellspacing="3" style="padding: 5px;">
<tr>
<td>No Akuan Pembiayaan</td>
<td>:</td>
<td>{{$lel['norujukan']}}</td>
</tr>
<tr>
<td>Jumlah Pembiayaan</td>
<td>:</td>
<td>RM{{number_format($lel['pinjaman'], 2, '.', ',')}}</td>
</tr>
<tr>
<td>Jumlah Kutipan</td>
<td>:</td>
<td>RM{{number_format($lel['keuntungan'], 2, '.', ',')}}</td>
</tr>
<tr>
<td>Tarikh Tamat Kontrak</td>
<td>:</td>
<td><strong>@php
$myDateTime = DateTime::createFromFormat('Y-m-d', $lel['tmatang1']);
$datez = $myDateTime->format('d-m-Y');
echo($datez);
@endphp</strong></td>
</tr>
</table>
<p>Oleh yang demikian, tuan/puan atau wakil boleh membuat bayaran tersebut secepat mungkin. Jika pihak tuan/puan memerlukan sebarang pertanyaan, sila hubungi kakitangan cawangan kami yang sentiasa sedia membantu. <br/>
Sekian, terima kasih.</p>
<p>Nota:</p>
<i>Sila abaikan notis ini sekiranya pihak tuan/puan telah membuat urusan diatas.</i>
<p>Notis ini adalah cetakan komputer dan tiada tandatangan diperlukan.</p>
</div>
</div>
@endforeach
+10 -20
View File
@@ -205,6 +205,7 @@
<th>Jum Tuntut/Bayar</th>
<th>Keuntungan</th>
<th>Caj Lelong</th>
<th>Dituntut Oleh</th>
</tr>
</thead>
</table>
@@ -802,23 +803,13 @@
var urlroute = '{{ route("lelongan", ":id") }}';
urlroute = urlroute.replace(':id', gadai_detail["norujukan"]);
var tuntutan = 'Pelanggan';
$.ajax({
method:"GET",
async:false,
url: api_url + "/api/check/customer/",
data:{
"norujukan" : gadai_detail['norujukan'],
"kodcaw" : kodcaw
},
success: function(response){
if(response[0].teller == 'DM')
{
tuntutan = 'WTD';
}
}
});
var tuntutan = '';
if(gadai_detail['datatuntut']['teller'] == 'DM')
{
tuntutan = 'WTD';
}else{
tuntutan = 'Pelanggan';
}
if(gadai_detail['trkhtuntut'] == null){
tablelelong.row.add([
@@ -837,7 +828,7 @@
}else{
tablelelong.row.add([
counter,
'<a href="#" onclick="checktuntutbaki(this)" data-norujukan=' + gadai_detail['norujukan'] + ' data-tarikhtuntut=' + gadai_detail['trkhtuntut'] + '>' + gadai_detail['norujukan'] + '</a>',
gadai_detail['norujukan'],
gadai_detail['t_lelong'],
gadai_detail['trkhtuntut'],
'RM '+ formatter.format(gadai_detail['pinjaman']),
@@ -845,8 +836,7 @@
'RM '+formatter.format(gadai_detail['baki']),
'RM '+formatter.format(gadai_detail['bakiupah']),
'RM '+formatter.format(gadai_detail['cajlelong']),
tuntutan,
'<button class="btn btn-info" onclick="cetaktuntutbaki(this)" data-norujukan=' + gadai_detail['norujukan'] +'>Cetak</button>'
tuntutan
]).draw();
}
}
+13 -23
View File
@@ -236,8 +236,8 @@
<th>Jum Tuntut/Bayar</th>
<th>Keuntungan</th>
<th>Caj Lelong</th>
<th>Status Tuntutan</th>
<th>Cetak</th>
<th>Dituntut Oleh</th>
{{-- <th>Cetak</th> --}}
</tr>
</thead>
</table>
@@ -837,28 +837,18 @@
var urlroute = '{{ route("lelongan", ":id") }}';
urlroute = urlroute.replace(':id', gadai_detail["norujukan"]);
var tuntutan = 'Pelanggan';
$.ajax({
method:"GET",
async:false,
url: api_url + "/api/check/customer/",
data:{
"norujukan" : gadai_detail['norujukan'],
"kodcaw" : kodcaw
},
success: function(response){
if(response[0].teller == 'DM')
{
tuntutan = 'WTD';
}
}
});
var tuntutan = '';
if(gadai_detail['datatuntut']['teller'] == 'DM')
{
tuntutan = 'WTD';
}else{
tuntutan = 'Pelanggan';
}
if(gadai_detail['trkhtuntut'] == null){
tablelelong.row.add([
counter,
'<a data-norujukan=' + gadai_detail['norujukan'] + ' data-tarikhtuntut=' + gadai_detail['trkhtuntut'] + '>' + gadai_detail['norujukan'] + '</a>',
gadai_detail['norujukan'],
gadai_detail['t_lelong'],
gadai_detail['trkhtuntut'],
'RM '+ formatter.format(gadai_detail['pinjaman']),
@@ -867,12 +857,12 @@
'RM '+formatter.format(gadai_detail['bakiupah']),
'RM '+formatter.format(gadai_detail['cajlelong']),
'',
'<button class="btn btn-info" disabled>Cetak</button>'
]).draw();
}else{
tablelelong.row.add([
counter,
'<a href="#" onclick="checktuntutbaki(this)" data-norujukan=' + gadai_detail['norujukan'] + ' data-tarikhtuntut=' + gadai_detail['trkhtuntut'] + '>' + gadai_detail['norujukan'] + '</a>',
gadai_detail['norujukan'],
gadai_detail['t_lelong'],
gadai_detail['trkhtuntut'],
'RM '+ formatter.format(gadai_detail['pinjaman']),
@@ -881,7 +871,7 @@
'RM '+formatter.format(gadai_detail['bakiupah']),
'RM '+formatter.format(gadai_detail['cajlelong']),
tuntutan,
'<button class="btn btn-info" onclick="cetaktuntutbaki(this)" data-norujukan=' + gadai_detail['norujukan'] +'>Cetak</button>'
]).draw();
}
}
+1 -1
View File
@@ -419,7 +419,7 @@ Route::post('/blastpertama/{kodcaw}/{notisid}',['as'=>'arcc.blastpertama','uses'
Route::get('/arcc/pelanggan',['as'=>'arcc.pelanggan','uses'=>'CallCenterController@pelanggan'])->middleware('auth','callcenter');
Route::get('/arcc/searchpelanggan',['as'=>'arcc.searchpelanggan','uses'=>'CallCenterController@search'])->middleware('auth','callcenter');
Route::get('/arcc/customer_info',['as'=>'arcc.customer_info','uses'=>'CallCenterController@info'])->middleware('auth','callcenter');
Route::get('/arcc/history',['as'=>'arcc.history','uses'=>'GadaianController@history'])->middleware('auth','callcenter');
Route::get('/arcc/history',['as'=>'arcc.history','uses'=>'CallCenterController@history'])->middleware('auth','callcenter');
Route::get('/notisperingatankedua',['as'=>'arcc.notisperingatankedua','uses'=>'CallCenterController@notisperingatankedua'])->middleware('auth','callcenter');
Route::get('/rekodnotisperingatankedua',['as'=>'arcc.rekodnotisperingatankedua','uses'=>'CallCenterController@rekodnotisperingatankedua'])->middleware('auth','callcenter');
Route::get('/kemaskininotisperingatan/{notisid}',['as'=>'arcc.kemaskininotisperingatan','uses'=>'CallCenterController@kemaskininotisperingatan'])->middleware('auth','callcenter');