{{-- --}} {{-- --}} {{-- --}}
LAPORAN AUDIT CUSTOMER
TARIKH CETAK: @php $myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_cetak); $formattedweddingdate = $myDateTime->format('d-m-Y'); echo($formattedweddingdate); @endphp
TARIKH: @php $myDateTime = DateTime::createFromFormat('Y-m-d', $datemula); $datefirst = $myDateTime->format('d-m-Y'); echo($datefirst); @endphp HINGGA: @php $myDateTime = DateTime::createFromFormat('Y-m-d', $datehingga); $datelast = $myDateTime->format('d-m-Y'); echo($datelast); @endphp

@php $counter = 1; $jenis = ''; @endphp @foreach($auditcustomer as $index=>$item) @php $counter++;@endphp @endforeach
Bil Nama Pelanggan No IC Data Ditukar Data Lama Data Baru Teller/PPC Tarikh Masa
{{ $counter }} {{ $item['customer_name'] }} {{ $item['nokp'] }} @php $tempitem = array_keys((array)$item['old']); foreach($tempitem as $temp) { echo ($temp == 'alamat1') ? 'alamat' . '
' : $temp . '
'; } @endphp
@foreach($item['old'] as $index=>$old) {{ $old }}
@endforeach
@foreach($item['new'] as $index=>$new) {{ $new }}
@endforeach
{{ $item['username'] }} {{ date("d-m-Y",strtotime($item['tarikhmasa'])) }} {{ date("H:i:s A",strtotime($item['tarikhmasa'])) }}


{{--
JUMLAH {{ $jenis }} {{ 'RM ' . number_format($totalamaun,2) }}
--}}



.................................................................. .................................................................. ..................................................................
Disediakan Disemak Disahkan