tambah function notis peringatan kedua arcc dan tambah baik pertama
This commit is contained in:
@@ -92,15 +92,15 @@
|
||||
</style>
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="container-fluid">
|
||||
<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('arcc.notisperingatan') }}">Notis Peringatan</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{ route('arcc.rekodnotisperingatan') }}">Rekod Notis Peringatan</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{ route('arcc.notisperingatanpertama') }}">Notis Peringatan Pertama</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{ route('arcc.rekodnotisperingatan') }}">Rekod Notis Peringatan Pertama</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{ route('arcc.detailnotisperingatan',['notisid' =>$notisid]) }}">Mengikut Cawangan</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page">{{$cawangan_info['details_caw']}}</li>
|
||||
</ol>
|
||||
@@ -140,6 +140,11 @@
|
||||
<th>No.Telefon</th>
|
||||
<th>Tempoh</th>
|
||||
<th>Baki Pembiayaan (RM)</th>
|
||||
<th>Keuntungan 6Bulan (RM)</th>
|
||||
<th>Amaun Telah Bayar (RM)</th>
|
||||
<th>Keuntungan Semasa (RM)</th>
|
||||
<th>Tarikh Matang</th>
|
||||
<th>Tarikh Tamat Kontrak</th>
|
||||
<th>Tarikh Blast</th>
|
||||
|
||||
|
||||
@@ -152,7 +157,28 @@
|
||||
<td style="white-space: nowrap;">{{$item['nokp']}}</td>
|
||||
<td style="white-space: nowrap;">{{$item['namacust']['telefon'] ?? ''}}</td>
|
||||
<td align = 'right' style="white-space: nowrap;">{{$item['jbg']}}</td>
|
||||
<td align = 'right' style="white-space: nowrap;">{{number_format($item['pinjaman'], 2, '.', ',')}}</td>
|
||||
<td align = 'right' style="white-space: nowrap;">{{number_format($item['datagadai']['bakipjm'], 2, '.', ',')}}</td>
|
||||
<td align = 'right' style="white-space: nowrap;">{{number_format($item['datagadai']['bakiupah'], 2, '.', ',')}}</td>
|
||||
<td align = 'right' style="white-space: nowrap;">{{number_format($item['datagadai']['hargajualan']-$item['datagadai']['bakihargajualan'], 2, '.', ',')}}</td>
|
||||
<td align = 'right' style="white-space: nowrap;">{{number_format($item['keuntungan'], 2, '.', ',')}}</td>
|
||||
<td align = 'right' style="white-space: nowrap;"><b>
|
||||
@if($item['tmatang'] == null)
|
||||
@else
|
||||
@php
|
||||
$myDateTime = DateTime::createFromFormat('Y-m-d', $item['tmatang']);
|
||||
$formattedweddingdate = $myDateTime->format('d-m-Y');
|
||||
echo($formattedweddingdate);
|
||||
@endphp</b></td>
|
||||
@endif
|
||||
<td align = 'right' style="white-space: nowrap;"><b>
|
||||
@if($item['tmatang1'] == null)
|
||||
@else
|
||||
@php
|
||||
$myDateTime = DateTime::createFromFormat('Y-m-d', $item['tmatang1']);
|
||||
$formattedweddingdate = $myDateTime->format('d-m-Y');
|
||||
echo($formattedweddingdate);
|
||||
@endphp</b></td>
|
||||
@endif
|
||||
<td align = 'right' style="white-space: nowrap;"><b>
|
||||
@if($item['tarikhnotis1'] == null)
|
||||
|
||||
@@ -163,7 +189,6 @@
|
||||
echo($formattedweddingdate);
|
||||
@endphp</b></td>
|
||||
@endif
|
||||
{{-- <td style="white-space: nowrap;"><a href="{{ route('arcc.bycawnotisperingatan', [ 'kodcaw' => $item['namacaw'][$index]['kodcaw'] ]) }}" class="btn btn-info text-white">Lihat</a></td> --}}
|
||||
</tr>
|
||||
@endforeach
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user