@php use App\Lib\MyHelper; $grantedFeature = session('granted_features'); @endphp @extends('layouts.main-closed') @section('page-style') @endsection @section('page-plugin') @endsection @section('page-script') @endsection @section('content') @php // print_r($point);die(); @endphp
Point Date | User Name | User Phone | {{env('POINT_NAME', 'Points')}} | Source | Detail | Grand Total | Cashback Convers | Membership | Cashback Percentage | {{--Actions | --}}|||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ date("d M Y", strtotime($res['created_at'])) }} {{ date("H:i", strtotime($res['created_at'])) }} | @endif @if (isset($res['user']['name'])){{ $res['user']['name'] }} | @elseif(isset($res['name'])){{ $res['name'] }} | @else@endif @if (isset($res['user']['phone'])) | {{ $res['user']['phone'] }} | @elseif(isset($res['phone'])){{ $res['phone'] }} | @else@endif | @if ($res['balance'] < 0) {{ number_format($res['balance']) }} @elseif($res['balance'] > 0) {{ number_format($res['balance']) }} @else {{ number_format($res['balance']) }} @endif | {{ ucwords($res['source']) }} | @if ($res['source'] == 'Transaction' || $res['source'] == 'Rejected Order' || $res['source'] == 'Rejected Order Midtrans' || $res['source'] == 'Rejected Order Point' || $res['source'] == 'Reversal' || $res['source'] == 'Online Transaction' ) {{ $res['transaction']['transaction_receipt_number']??'' }} @elseif ($res['source'] == 'Point Injection') {{ $res['point_injection']['title'] }} @endif | {{ number_format($res['grand_total']) }} | {{ number_format($res['ccashback_conversion']) }} | {{ $res['membership_level'] }} | {{ $res['membership_cashback_percentage'] }} % |