Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/Modules/Wallet/resources/views/index.blade.php
Назад
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Bootstrap CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> <title>Wallet Module</title> </head> <body> <div class="container"> <h1 class="text-center">Wallet Module</h1> <div class="card text-left"> <div class="card-body"> <h4 class="card-title">Deposit form</h4> <form action="{{ route('wallet.wallet.create') }}"> <div class="form-group"> <label for="">Deposit Amount</label> <input type="text" class="form-control" name="amount" autocomplete="off"> </div> <button class="btn btn-primary">{{ __('Submit') }}</button> </form> </div> </div> <h1>Wallet Balance : {{ currency($wallet_histories->where('payment_status', 'success')->sum('amount')) }}</h1> <table class="table table-striped"> <thead> <th>{{ __('SN') }}</th> <th>{{ __('Amount') }}</th> <th>{{ __('Gateway Name') }}</th> <th>{{ __('Transaction') }}</th> <th>{{ __('Deposit At') }}</th> <th>{{ __('Status') }}</th> </thead> @forelse ($wallet_histories as $index => $wallet_history) <tr> <td>{{ ++$index }}</td> <td>{{ currency($wallet_history->amount) }}</td> <td>{{ $wallet_history->payment_gateway }}</td> <td>{{ $wallet_history->transaction_id }}</td> <td>{{ $wallet_history->created_at->format('H:iA, d M Y') }}</td> <td> @if ($wallet_history->payment_status == 'success') success @elseif ($wallet_history->payment_status == 'rejected') rejected @else pending @endif </td> </tr> @empty <x-empty-table :name="__('')" route="" create="no" :message="__('No data found!')" colspan="6"></x-empty-table> @endforelse </table> </div> <!-- Optional JavaScript; choose one of the two! --> <!-- Option 1: Bootstrap Bundle with Popper --> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"> </script> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка