@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

@include('transaction::log.log_balance_filter')
@include('layouts.notifications') @if (!empty($search))

Displaying search result :

{{ $count }}


Reset
@endif
{{env('POINT_NAME', 'Points')}} Log User
{{-- --}} @if(!empty($balance)) @foreach($balance as $res) @if (isset($res['created_at'])) @endif @if (isset($res['user']['name'])) @elseif(isset($res['name'])) @else @endif @if (isset($res['user']['phone'])) @elseif(isset($res['phone'])) @else @endif @endforeach @endif
Point Date User Name User Phone {{env('POINT_NAME', 'Points')}} Source Detail Grand Total Cashback Convers Membership Cashback PercentageActions
{{ date("d M Y", strtotime($res['created_at'])) }} {{ date("H:i", strtotime($res['created_at'])) }}{{ $res['user']['name'] }}{{ $res['name'] }}{{ $res['user']['phone'] }}{{ $res['phone'] }} @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'] }} %
@if ($balancePaginator) {{ $balancePaginator->links() }} @endif
@endsection