@if($pointHistory->count()>0) @foreach($pointHistory as $record) @php if(isset($record->meta['redemption_point_voucher_id']) && $record->meta['redemption_point_voucher_id']!=""){ $pointName = 'Caring Rewards'; }else{ $pointName = '-'; } @endphp
{{ $record->created_at->format('D, d M Y')??"-" }}
{{ $pointName??"-" }}
{{ $record->meta['reason'] ?? "" }}
{{--
{{ $record->amount ?? 0 }}
--}}
{{ $record->amount ?? 0 }}
@endforeach @else
No data here!
@endif