@extends('layouts.app_operasi') @section('content')
@if ($message = Session::get('success'))

{{ $message }}

@elseif ($message = Session::get('failed'))

{{ $message }}

@endif
{{-- --}} @csrf @php $getfasa = Http::withOptions(['verify' => config('app.api_verify')]) ->get($api_url . '/arcc/getfasa', ['kodcaw' => $kodcaw, 'notisid' => $notisid]) ->json(); @endphp {{-- {{dd($bycawnotisperingatankedua)}} --}} @foreach ($bycawnotisperingatan as $index => $item) @endif @endif @endif @endif @endif @endif @endif @endforeach
Bil No.Rujukan Nama No.KP No.Telefon Tempoh Baki Pembiayaan (RM) Keuntungan 6Bulan (RM) Amaun Telah Bayar (RM) Keuntungan Semasa (RM) Tarikh Matang Tarikh Tamat Kontrak T.Notis Pertama T.Notis Kedua T.Panggilan Tag Surat Jenis Notis
{{ $loop->iteration }} {{$item['norujukan']}} {{$item['namacust']['nama'] ?? ''}} {{$item['nokp']}} {{$item['namacust']['telefon'] ?? ''}} {{$item['jbg']}} {{number_format($item['datagadai']['bakipjm'], 2, '.', ',')}} {{number_format($item['datagadai']['bakiupah'], 2, '.', ',')}} {{number_format($item['datagadai']['hargajualan']-$item['datagadai']['bakihargajualan'], 2, '.', ',')}} {{number_format($item['keuntungan'], 2, '.', ',')}} @if($item['tmatang'] == null) @else @php $myDateTime = DateTime::createFromFormat('Y-m-d', $item['tmatang']); $formattedweddingdate = $myDateTime->format('d-m-Y'); echo($formattedweddingdate); @endphp @if($item['tmatang1'] == null) @else @php $myDateTime = DateTime::createFromFormat('Y-m-d', $item['tmatang1']); $formattedweddingdate = $myDateTime->format('d-m-Y'); echo($formattedweddingdate); @endphp @if($item['tarikhnotis1'] == null) @else @php $myDateTime = DateTime::createFromFormat('Y-m-d', $item['tarikhnotis1']); $formattedweddingdate = $myDateTime->format('d-m-Y'); echo($formattedweddingdate); @endphp @if($item['tarikhnotis2'] == null) @else @php $myDateTime = DateTime::createFromFormat('Y-m-d', $item['tarikhnotis2']); $formattedweddingdate = $myDateTime->format('d-m-Y'); echo($formattedweddingdate); @endphp @if($item['tarikhcall1'] == null) @else @php $myDateTime = DateTime::createFromFormat('Y-m-d', $item['tarikhcall1']); $formattedweddingdate = $myDateTime->format('d-m-Y'); echo($formattedweddingdate); @endphp @if($item['tagsurat'] == 1) Selesai @elseif($item['tagsurat'] == 0) Belum Hantar @if($item['peringatan'] == 1) Pertama @elseif($item['peringatan'] == 2) Kedua
@endsection