@include('front.layouts.old_header') 'iPhone', '/ipod/i' => 'iPod', '/ipad/i' => 'iPad', '/android/i' => 'Android', '/blackberry/i' => 'BlackBerry', '/webos/i' => 'Mobile' ); //Return true if Mobile User Agent is detected foreach($aMobileUA as $sMobileKey => $sMobileOS){ if(isset($_SERVER['HTTP_USER_AGENT'])) { if (preg_match($sMobileKey, $_SERVER['HTTP_USER_AGENT'])) { return true; } } } //Otherwise return false.. return false; } ?>
{{----}} {{----}} {{----}} {{--Web View--}}| Customer Name: | @if(isset($customer_name)){{$customer_name}}@else NA @endif | Merchant Name: | @if(isset($merchant_name)){{$merchant_name}}@else NA @endif |
|---|---|---|---|
| Product Name: | @if(isset($product) && $product !== ""){{$product}}@else NA @endif | Interest Rate: | @if(isset($interest)){{$interest}}%@else NA @endif |
| Loan Amount: | @if(isset($amount_financed)) ₹{{str_replace('.00', '', money_format('%!i', $amount_financed))}}@else NA @endif | Advance Amount: | @if(isset($advance_amount)) ₹{{str_replace('.00', '', money_format('%!i', $advance_amount))}}@else NA @endif |
| Amount Paid: | @if(isset($amount_paid)) ₹{{str_replace('.00', '', money_format('%!i', $amount_paid))}}@else NA @endif | Amount Pending: | @if(isset($amount_pending)) ₹{{str_replace('.00', '', money_format('%!i', $amount_pending))}}@else NA @endif |
| Agreement Number: | @if(isset($agreement_no)){{$agreement_no}}@else NA @endif | Agreement Date: | @if(isset($agreement_date)){{$agreement_date}}@else NA @endif |
| Total EMI: | @if(isset($total_emi)){{$total_emi}}@else NA @endif | Advance EMI: | @if(isset($advance_emi)){{$advance_emi}}@else NA @endif |
| Net Tenure: | @if(isset($remaining_emi)){{$remaining_emi}}@else NA @endif | Frequency: | @if(isset($frequency)){{$frequency}}@else NA @endif |
| Status: | @if(isset($status)){{$status}}@else NA @endif | @if(isset($status) && $status === 'Active') Pay Now @endif @if(isset($status) && $status === 'Active') Download Statement @endif |
Inst.No |
Due Date |
Opening Principal |
Instl.Amt |
Principal |
Interest |
Closing Principal |
Bounce |
Penal |
Waive-Off |
Total Due |
Amount Received |
Payment Date |
|
|
@if($payment['payment_status'] === 'pending' && \Carbon\Carbon::createFromFormat('d-M-Y',$payment['due_date'])->addDay(1)->timestamp < time())
|
@if(isset($payment['id'])){{$payment['id']}}@else NA @endif | @if(isset($payment['due_date'])){{$payment['due_date']}}@else NA @endif | @if(isset($payment['opening_principal'])){{str_replace('.00', '', money_format('%!i', $payment['opening_principal']))}}@else NA @endif | @if(isset($payment['installment_amount'])){{str_replace('.00', '', money_format('%!i', $payment['installment_amount']))}}@else NA @endif | @if(isset($payment['principal'])){{str_replace('.00', '', money_format('%!i', $payment['principal']))}}@else NA @endif | @if(isset($payment['interest'])){{$payment['interest']}} @else NA @endif | @if(isset($payment['closing_balance'])){{str_replace('.00', '', money_format('%!i', $payment['closing_balance']))}}@else NA @endif | @if(isset($payment['bounce'])){{str_replace('.00', '', money_format('%!i', $payment['bounce']))}}@else NA @endif | @if(isset($payment['penal'])){{str_replace('.00', '', money_format('%!i', $payment['penal']))}}@else NA @endif | @if(isset($payment['charges_waived'])){{str_replace('.00', '', money_format('%!i', $payment['charges_waived']))}}@else NA @endif | @if(isset($payment['total_due'])){{str_replace('.00', '', money_format('%!i', $payment['total_due']))}}@else NA @endif | @if(isset($payment['amount_received'])){{str_replace('.00', '', money_format('%!i', $payment['amount_received']))}}@else NA @endif | @if(isset($payment['payment_date']) && ($payment['payment_date']) !== ""){!! date('d-M-Y',strtotime($payment['payment_date'])) !!}@else @endif |
| Customer Name: | @if(isset($customer_name)){{$customer_name}}@else NA @endif |
|---|---|
| Merchant Name: | @if(isset($merchant_name)){{$merchant_name}}@else NA @endif |
| Loan Amount: | @if(isset($amount_financed)) ₹{{str_replace('.00', '', money_format('%!i', $amount_financed))}}@else NA @endif |
| Advance Amount: | @if(isset($advance_amount)) ₹{{str_replace('.00', '', money_format('%!i', $advance_amount))}}@else NA @endif |
| Amount Paid: | @if(isset($amount_paid)) ₹{{str_replace('.00', '', money_format('%!i', $amount_paid))}}@else NA @endif |
| Amount Pending: | @if(isset($amount_pending)) ₹{{str_replace('.00', '', money_format('%!i', $amount_pending))}}@else NA @endif |
| Product Name: | @if(isset($product) && $product !== ""){{$product}}@else NA @endif |
| Agreement Number: | @if(isset($agreement_no)){{$agreement_no}}@else NA @endif |
| Paid EMI: | @if(isset($emi_paid)){{$emi_paid}}@else NA @endif |
| Pending EMI: | @if(isset($emi_due)){{$emi_due}}@else NA @endif |
| Tenure: | @if(isset($tenure)){{$tenure}}@else NA @endif |
| Frequency: | @if(isset($frequency)){{$frequency}}@else NA @endif |
| Interest Rate: | @if(isset($interest)){{$interest}}%@else NA @endif |
| Status: | @if(isset($status)){{$status}}@else NA @endif |
| Installment No. : | --}} {{--@if(isset($payment['id'])){{$payment['id']}}@else NA @endif | --}} {{--
|---|---|
| Due Date: | @if(isset($payment['due_date'])){{$payment['due_date']}}@else NA @endif |
| Opening Principal: | @if(isset($payment['opening_principal'])) ₹{{str_replace('.00', '', money_format('%!i', $payment['opening_principal']))}}@else NA @endif |
| Installment Amt: | @if(isset($payment['installment_amount'])) ₹{{str_replace('.00', '', money_format('%!i', $payment['installment_amount']))}}@else NA @endif |
| Principal: | @if(isset($payment['principal'])) ₹{{str_replace('.00', '', money_format('%!i', $payment['principal']))}}@else NA @endif |
| Interest: | @if(isset($payment['interest'])) ₹{{str_replace('.00', '', money_format('%!i', $payment['interest']))}} @else NA @endif |
| Closing Principal: | @if(isset($payment['closing_balance'])) ₹{{str_replace('.00', '', money_format('%!i', $payment['closing_balance']))}}@else NA @endif |
| Bounce: | @if(isset($payment['bounce'])) ₹{{str_replace('.00', '', money_format('%!i', $payment['bounce']))}}@else NA @endif |
| Penal: | @if(isset($payment['penal'])) ₹{{str_replace('.00', '', money_format('%!i', $payment['penal']))}}@else NA @endif |
| Waive-off: | @if(isset($payment['charges_waived'])) ₹{{str_replace('.00', '', money_format('%!i', $payment['charges_waived']))}}@else NA @endif |
| Total Due: | @if(isset($payment['total_due'])) ₹{{str_replace('.00', '', money_format('%!i', $payment['total_due']))}}@else NA @endif |
| Amount Received : | @if(isset($payment['amount_received'])) ₹{{str_replace('.00', '', money_format('%!i', $payment['amount_received']))}}@else NA @endif |
| Payment Date: | @if(isset($payment['payment_date']) && ($payment['payment_date']) !== ""){!! date('d-M-Y',strtotime($payment['payment_date'])) !!}@else @endif |