@extends('dashboard.layouts.master') @section('title', 'Log Detail | Admin Panel') @push('after-styles') @endpush @section('content') @can('offer.qr_logs.read')
| Log ID | #{{ $logData->id }} |
| Event Type | @if($type === 'Earn') QR Scan (Earn) @elseif($type === 'Redeem') Reward (Redeem) @else Point Correction @endif |
| Points | {{ $logData->display_points }} |
| Date & Time | {{ \Carbon\Carbon::parse($logData->display_date)->format('d M Y, H:i:s') }} |
| Reward Name | {{ $logData->reward_info ?? 'N/A' }} |
| Status | @if($logData->status == 1) Valid @else Cancelled @endif |
| Justification | {{ $logData->justification }} |
| Applied By | {{ $logData->admin->name ?? 'N/A' }} |
| Customer | {{ $logData->user->name ?? 'N/A' }} (ID #{{ $logData->user_id }}) |
| {{ $logData->user->email ?? 'N/A' }} | |
| Business | {{ $logData->business->business_name ?? 'N/A' }} (ID #{{ $logData->business_id }}) |
| Business Email | {{ $logData->business->business_email ?? 'N/A' }} |
| Reward Name | Points Used | Business | Date & Time |
|---|