@extends('layouts.master') @section('title', 'Customer 360 - ' . $customer->full_name) @section('content')
{{ $customer->job ?? 'No Job Title' }}
Valid until: {{ $latestSub->subscription_ends_at ? \Carbon\Carbon::parse($latestSub->subscription_ends_at)->format('d M, Y') : 'N/A' }}
Subscribed: {{ $latestSub->subscription_starts_at ? \Carbon\Carbon::parse($latestSub->subscription_starts_at)->format('d M, Y') : 'N/A' }}
| Date | Brand | Original | Disc. | Paid | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $txn->created_at ? \Carbon\Carbon::parse($txn->created_at)->format('d M Y, H:i') : 'N/A' }} |
{{ $txn->brand->brand_name_en ?? 'Unknown Brand' }}
|
{{ number_format($txn->transaction_value ?? 0, 2) }} | {{ number_format($txn->discount_percentage ?? 0, 1) }}% | {{ number_format($txn->amount_to_be_paid ?? 0, 2) }} | @if($txn->status == 'approved') Approved @elseif($txn->status == 'rejected') Rejected @else Pending @endif | @if($txn->status == 'approved') @endif @if($txn->status == 'waiting') @endif @if($txn->status == 'pending') @endif @if($txn->status == 'refunded') Refunded via Support @endif |
|
No transactions recorded. |
||||||