@extends('layouts.app') @section('title', 'Payment Detail') @push('css') @endpush @section('content')

Payment Management

@include('payment.customerOverview')
Billing Details
{{-- Export as PDF--}} Print

JLG Metro Sdn. Bhd

from
JLG Metro Sdn. Bhd
Suite 10,2, Lvl 10, Wisma Chase Perdana
Off Jalan Semantan, Damansara Heights
50490 Kuala Lumpur, Malaysia
Phone: 03-2081 2615, 03-2081 2616, 07-2449 090 (JB)
Fax: 03-2081 2777
to
{{ $payment->payer->name ?? '--' }}
{!! nl2br(isset($payment->payer->address)) ?? '' !!}
{{ $payment->mobile ? 'Phone: '.$payment->mobile.'
' : '' }}
Invoice
{{ $payment->invoiced_at?->format('j F Y') ?? '--' }}
#{{ $payment->invoice_no }}
Payment for {{ $payment->payment_for }}
@foreach ($payment->items as $item) {{-- A rejected credit/debit note is not part of the invoice; hide its line. --}} @if($item->creditDebitNote && $item->creditDebitNote->isRejected()) @continue @endif @php $amount_tax = 1; if($item->payment_for == 'DEPOSIT'){ $amount_tax = 0; } @endphp @endforeach
# Item Amount TOTAL
{{ $loop->iteration }} @if(is_null($item->type)) {{ $item->card_no }} - {{ $item->payment_for }} {{ now()->startOfMonth()->month((int) $item->month)->format('M') }} {{ $item->year }} @else {{ $item->type }} - {{ $item->creditDebitNote->description }} {{ now()->startOfMonth()->month((int) $item->month)->format('M') }} {{ $item->year }} @if($item->creditDebitNote && ! $item->creditDebitNote->isApproved()) Pending approval @endif @endif {{ $item->amount_label }} {{ $item->amount_label }} @if(is_null($item->type)) @else @can('delete-payment-item')
@method('DELETE') @csrf @if(! $payment->isPaid()) @endif
@endcan @endif
@if($amount_tax != 0)
Invoice : {{ $payment->invoiced_at?->addMonth()->startOfMonth()->format('d/m/Y') ?? '--' }} - {{ $payment->invoiced_at?->addMonth()->endOfMonth()->format('d/m/Y') ?? '--' }} {{ number_format($payment->amount - ($payment->amount * 6 / 106), 2) }}
SERVICE TAX 6% {{ number_format($payment->amount * 6 / 106, 2) }}
@endif
STATUS {{ $payment->status->label() }}
TOTAL {{ number_format($payment->amount, 2) }}
@if($payment->status->label() == 'Pending' || $payment->status->label() == 'Fail') Pay

Transaction Details

Payment Transaction ID:
{{ $payment->ref_no ?? 'N/A' }}
@else

Transaction Details

Payment Received
{{ $payment->received_time?->format('j F Y') ?? '-' }}
Payment Method
{{ $payment->payment_mode_label }}
Payment Transaction ID
{{ $payment->payment_trans_id ?? '-' }}
Bank Name
{{ $payment->buyer_bank ?? '-' }}
Buyer Name
{{ $payment->buyer_name ?? '-' }}
Status
{{ $payment->status->label() ?? '-' }}
Status Message
{{ $payment->status_message ?? '-' }}
Receipt No.
{{ $payment->receipt_no ?? '-' }}
Merchant Order No.
{{ $payment->merchant_order_no ?? '-' }}
@endif
  • Created: {{ $payment->created_at?->format('j F Y') ?? '-' }}
  • Payment is due within 30 days
  • Amount is inclusive of SST @6%
  • If you have any questions concerning this invoice, contact info below
@endsection @push('js') @endpush