@extends('layouts.admin-main') @section('content')
@foreach ($depositWithdraws as $index => $depositWithdraw) cash_type == 'cash_out') class="inactive" @endif> @endforeach
# {{ __('message.name') }} {{ __('message.phone') }} {{ __('message.slip') }} {{ __('message.amount') }} {{ __('message.promotion') }} {{ __('message.note') }} {{ __('message.type') }} {{ __('message.status') }} {{ __('message.created date') }} {{ __('message.action') }}
{{ $index + 1 }} {{ $depositWithdraw->member->user->name ?? '' }} {{ $depositWithdraw->member->user->phone ?? '' }} @if($depositWithdraw->image) @endif {{ number_format(abs($depositWithdraw->amount), 2) }} {{$setting_->currency_name}} @if ($depositWithdraw->promotion!=0) {{ number_format(abs($depositWithdraw->promotion), 2) }} {{$setting_->currency_name}} @endif {{ $depositWithdraw->note }} @if ($depositWithdraw->cash_type == 'cash_in') {{ $depositWithdraw->cash_type }} @else {{ $depositWithdraw->cash_type }} @endif @if ($depositWithdraw->status == 0) {{ __('message.pending') }} @elseif ($depositWithdraw->status == 1) {{ __('message.approved') }} @else {{ __('message.reject') }} @endif {{ $depositWithdraw->created_at->format('d/m/Y H:i') }} @if($depositWithdraw->status==0) @endif @if ($depositWithdraw->status==0)
@method('PUT') {{ csrf_field() }}
@method('PUT') {{ csrf_field() }}
@endif
{{ $depositWithdraws->appends($_GET)->links() }}
@endsection @section('scripts') @include('app.datepicker-js-config') @endsection @section('meta') {{ __('message.deposit') }}/{{ __('message.withdraw') }} - {{ config('app.name', 'Dashboard') }} @endsection