@extends('layout.master') @push('plugin-styles') @endpush @section('content')
Sl no. | Transaction Id | Transaction With | Credit | Debit | Date | Type | ||
---|---|---|---|---|---|---|---|---|
{{ $no++ }} | {{ $pay['_id'] }} | {{ $pay['userName'] }} | @if ($pay['type'] == 'adjustment')-- | @if ($pay['status'] != 'pending') @php $c += $pay['creditPoint']; @endphp @endif {{ number_format($pay['creditPoint']) }} | @else@if ($pay['status'] != 'pending') @php $d += $pay['creditPoint']; @endphp @endif {{ number_format($pay['creditPoint']) }} | -- | @endif{{ date('d/m/Y h:i:s A', strtotime($pay['created_at'])) }} | {{ ucfirst($pay['type']) }} @if ($pay['status'] == 'success') {{ $pay['status'] }} @elseif($pay['status'] == 'pending') {{ $pay['status'] }} @elseif($pay['status'] == 'reject') {{ $pay['status'] }} @endif | Total | {{ $d }} | {{ $c }} |