@extends('layouts.app_callcenter') @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 ($bycawnotisperingatankedua as $index => $item) @if($item['datagadai']['tagbaru'] == '0') @elseif($item['datagadai']['tagbaru'] == '1') @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 Tag Surat
{{ $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, '.', ',')}}{{number_format($item['keuntungan']['ujrah']+$item['keuntungan']['onepercent'], 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['tagsurat'] == 1) Selesai @elseif($item['tagsurat'] == 0) Belum Hantar
@endsection