@extends('layouts.side_bar') @section('content')
{{--@if ($note->note !=null)--}} {{--| --}} {{-- Remarks :--}} {{-- | --}} {{----}} {{-- {{ $batch->remark}}--}} {{-- | --}} {{--
| --}} {{-- Next Call DAte :--}} {{-- | --}} {{----}} {{-- {{ $batch->nextCall}}--}} {{-- | --}} {{--
| --}} {{-- PTP Amount :--}} {{-- | --}} {{----}} {{-- {{ $batch->ptpAmount}}--}} {{-- | --}} {{--
| --}} {{-- PTP Date :--}} {{-- | --}} {{----}} {{-- {{ $batch->ptpDate}}--}} {{-- | --}} {{--
| Batch : | {{$batch->batch_name}} |
| Account No : | {{$batch->AccountNo}} |
| New Nric : | @if($relatedAccounts !='[]') {{-- {{$batch->NewNric}}mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmnn--}} @else {{$batch->NewNric}} {{-- @money($batch->NewNric)--}} @endif |
| Old Nric : | {{$batch->OldNric}} |
| Age : | {{$Age}} |
| kwsp : | {{$kwsp.','.$kwsp_guarantor}} |
| Debtor Name : | {{$batch->DebtorName }} |
| Registered Address : | {{$batch->regAddress}} |
| employerAddress : | {{$batch->employerAddress }} |
| --}} {{-- loanAmount :--}} {{-- | --}} {{----}} {{-- {{$batch->loanAmount }}--}} {{-- | --}} {{--
| --}} {{-- loanDate :--}} {{-- | --}} {{----}} {{-- {{$batch->loanDate }}--}} {{-- | --}} {{--
| --}} {{-- chargeOfDate--}} {{-- | --}} {{----}} {{-- {{$batch->chargeOfDate }}--}} {{-- | --}} {{--
| --}} {{-- adminCharge :--}} {{-- | --}} {{----}} {{-- {{$batch->adminCharge }}--}} {{-- | --}} {{--
| Occupation : | {{$batch->Occupation}} |
| Account Type : | {{-- {{$totalDue}}--}} {{$batch->AccountType}} |
| Account Description : | {{$batch->accountDescription}} |
| Loan Amount : |
@if(fmod($batch->loanAmount, 1) !== 0.00)
@money($batch->loanAmount)
@else
@money2($batch->loanAmount)
@endif
{{-- @money($batch->loanAmount)--}}
|
| Loan Date : | {{$batch->loanDate}} |
| Charge-off Date : | {{$batch->chargeOfDate}} |
| --}} {{-- Installment Amt :--}} {{-- | --}} {{----}} {{-- {{$batch->totalDue }}--}} {{-- | --}} {{--
| Arrears Month : | {{$batch->ArrearsMonth}} |
| Total Due : | @if(fmod($batch->totalDue, 1) !== 0.00) @money($batch->totalDue) @else @money2($batch->totalDue) @endif {{-- @money($batch->totalDue)--}} |
| Min Repayment : | @if(fmod($batch->MinPayment, 1) !== 0.00) @money($batch->MinPayment) @else @money2($batch->MinPayment) @endif {{-- @money($batch->MinPayment)--}} |
| Legal Charge : | @if(fmod($batch->LegalCharge, 1) !== 0.00) @money($batch->LegalCharge) @else @money2($batch->LegalCharge) @endif {{-- @money($batch->LegalCharge)--}} |
| Admin Charge : | @if(fmod($batch->adminCharge, 1) !== 0.00) @money($batch->adminCharge) @else @money2($batch->adminCharge) @endif {{-- @money($batch->adminCharge)--}} |
| Full Settlement : | @if(fmod($batch->TotalSettlement, 1) !== 0.00) @money($batch->TotalSettlement) @else @money2($batch->TotalSettlement) @endif {{-- @money($batch->TotalSettlement)--}} |
| Interest : | {{$batch->Interest}} |
| Discount % : |
{{$batch->Discount}}
|
| Credit Limit : | {{$batch->creditLimit}} |
| Due Date : | {{$batch->DueDate}} |
| Last Paid Date : |
{{$batch->LastPaidDate}}
|
| Last Paid Amount : | @if(fmod($batch->LastPaidAmount, 1) !== 0.00) @money($batch->LastPaidAmount) @else @money2($batch->LastPaidAmount) @endif {{-- @money($batch->LastPaidAmount)--}} |
| {{$batchInfo->Additional_Credit_info_1}} : | {{$batch->Additional_Credit_info_1}} |
| {{$batchInfo->Additional_Credit_info_2}} : | {{$batch->Additional_Credit_info_2}} |
| --}} {{-- {{$batchInfo->Additional_Credit_info_2}} :--}} {{-- | --}} {{----}} {{-- {{$batch->Additional_Credit_info_2}}--}} {{-- | --}} {{--
| {{$batchInfo->Additional_Credit_info_3}} : | {{$batch->Additional_Credit_info_3}} |
| {{$batchInfo->Additional_Credit_info_4}} : | {{$batch->Additional_Credit_info_4}} |
| {{$batchInfo->Additional_Credit_info_5}} : | {{$batch->Additional_Credit_info_5}} |
| {{$batchInfo->Additional_Credit_info_6}} : | {{$batch->Additional_Credit_info_6}} |
| {{$batchInfo->Additional_Credit_info_7}} : | {{$batch->Additional_Credit_info_7}} |
| {{$batchInfo->Additional_Credit_info_8}} : | {{$batch->Additional_Credit_info_8}} |
| {{$batchInfo->Additional_Credit_info_9}} : | {{$batch->Additional_Credit_info_9}} |
| {{$batchInfo->Additional_Credit_info_10}} : | {{$batch->Additional_Credit_info_10}} |
| Collector | Action By | From | To | {{--Status | --}} @foreach($collectorlog as $l)|
|---|---|---|---|---|---|
| {{$l->collector}} | {{$l->by}} | {{$l->from}} | {{$l->to}} | {{-- @if($l->status=='active')--}} {{--{{$l->status}} | --}} {{-- @else--}} {{--{{$l->status}} | --}} {{-- @endif--}}
| Date : Time | Action By | Action To | Tel | Status | PTP Amount | PTP Date | {{--Next Call | --}}View Remark | @foreach($log as $l)
|---|---|---|---|---|---|---|---|---|
| {{$l->created_at}} | {{$l->by}} | {{$l->to}} | {{$l->tel}} | {{$l->status}} | {{-- @money($l->ptpAmount)--}} @if(fmod($batch->ptpAmount, 1) !== 0.00) @money($batch->ptpAmount) @else @money2($batch->ptpAmount) @endif | {{$l->ptpDate}} | {{--{{$l->nextCall}} | --}}@if($l->remark !=null) {{-- --}} @else NULL @endif |
| Tel No | Name | Type | Contactability | Source | Action | {{--|||||
|---|---|---|---|---|---|---|---|---|---|---|
| {{ \App\Models\contact::where('nric',$batch->NewNric)->value('telNumber')}} | --}} {{----}} {{-- --}} {{-- --}}{{-- --}} {{-- --}}{{-- {{$batch->RefName }}--}} {{-- | --}} {{--Debtor | --}} {{-- @if($batch->contactability =='Yes')--}} {{--{{$batch->contactability}} | --}} {{-- @elseif($batch->contactability =='No')--}} {{--{{$batch->contactability}} | --}} {{-- @elseif($batch->contactability =='Not sure')--}} {{--{{$batch->contactability}} | --}} {{-- @else--}} {{--Not Done | --}} {{-- @endif--}} {{--{{ \App\Models\contact::where('nric',$batch->NewNric)->value('Source')}} | --}} {{----}} {{-- --}} {{-- --}} {{-- Sms--}} {{-- | --}} {{--||
| {{ \App\Models\contact::where('nric',$batch->RefNric)->value('telNumber')}} | --}} {{----}} {{-- --}} {{-- --}}{{-- --}} {{-- --}}{{-- {{$batch->RefName }}--}} {{-- | --}} {{--{{$batch->RefType}} | --}} {{-- --}}{{--{{$batch->refContactability1}} | --}} {{-- @if($batch->refContactability1 =='Yes')--}} {{--{{$batch->refContactability1}} | --}} {{-- @elseif($batch->refContactability1 =='No')--}} {{--{{$batch->refContactability1}} | --}} {{-- @elseif($batch->refContactability1 =='Not sure')--}} {{--{{$batch->refContactability1}} | --}} {{-- @else--}} {{--Not Done | --}} {{-- @endif--}} {{--{{ \App\Models\contact::where('nric',$batch->RefNric)->value('Source')}} | --}} {{----}} {{-- --}} {{-- --}} {{-- Sms--}} {{-- | --}} {{--|
| {{$reference['ReftelNumber'.$i]}} | {{--{{$batch->{'RefName'.$i} }} | --}}{{$reference['RefType'.$i]}} | {{--{{$batch->{'refContactability'.$i} }} | --}} @if($reference['contactability'.$i] =='Yes'){{$reference['contactability'.$i] }} | @elseif($reference['contactability'.$i] =='No'){{$reference['contactability'.$i]}} | @elseif($reference['contactability'.$i] =='Not Sure'){{$reference['contactability'.$i]}} | @elseNot Done | @endif{{$reference['RefSource'.$i]}} | Sms |
| Paid Amount | Paid Date | Paid By | {{--Paid By [Nric] | --}}Payment Type | Action By | Receipt | @foreach($paymentLog as $pl)
|---|---|---|---|---|---|---|
| {{-- @money($pl->paidAmount)--}} @if(fmod($batch->paidAmount, 1) !== 0.00) RM @money($batch->paidAmount) @else RM @money2($batch->paidAmount) @endif | {{$pl->paidDate}} | {{$pl->paidByName}} | {{--{{$pl->paidByNric}} | --}}{{$pl->paymentType}} | {{$pl->collector}} | @if($pl->receipt!=null) @else Null @endif |
| Paid Amount | Paid Date | Paid By | {{--Paid By [Nric] | --}}Payment Type | Action By | Collector | @foreach($confirmPayment as $pl)
|---|---|---|---|---|---|---|
| {{-- RM @money($pl->paidAmount)--}} @if(fmod($pl->paidAmount, 1) !== 0.00) RM @money($pl->paidAmount) @else RM @money2($pl->paidAmount) @endif | {{$pl->paidDate}} | {{$pl->paidBy}} | {{--{{$pl->paidByNric}} | --}}{{$pl->paymentType}} | {{$pl->dataEnteredBy}} | @if($pl->collector=='NO_Collector') {{$pl->collector}} @else {{$pl->collector}} @endif |