@extends('layouts.admin.app') @section('title', translate('Loyalty Point')) @section('customerDetails') active @endsection @push('css_or_js') @endpush @section('content')
| {{ translate('sl') }} | {{translate('Transaction Id')}} | {{translate('Transaction Date')}} | {{translate('Point')}} | {{translate('Reference')}} | {{translate('Transaction type')}} |
|---|---|---|---|---|---|
| {{ $key + $loyaltyPoints->firstItem() }} |
{{ $loyaltyPointTransaction->reference_id }}
|
{{ \App\CentralLogics\Helpers::date_format($loyaltyPointTransaction->created_at) }}
{{ \App\CentralLogics\Helpers::time_format($loyaltyPointTransaction->created_at) }}
|
@if($loyaltyPointTransaction->debit == 0)
+ {{ $loyaltyPointTransaction->credit }}
{{ translate('Credit') }}
@else
- {{ $loyaltyPointTransaction->debit }}
{{ translate('Debit') }}
@endif
|
@if (is_numeric($loyaltyPointTransaction->reference))
{{ $loyaltyPointTransaction->reference }}
@else
{{ $loyaltyPointTransaction->reference }}
@endif
|
{{ translate($loyaltyPointTransaction->transaction_type) }}
|