Server IP : 66.29.132.124 / Your IP : 13.58.191.60 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/book24.ng/themes/Mytravel/User/frontend/wallet/ |
Upload File : |
@extends('layouts.user') @section('head') @endsection @section('content') <h2 class="title-bar"> {{__("Wallet")}} <a href="{{route('user.wallet.buy')}}" class="btn-change-password">{{__("Buy credits")}}</a> </h2> @include('admin.message') <div class="bravo-user-dashboard"> <div class="row dashboard-price-info row-eq-height mb-5"> <div class="col-lg-3 col-md-3"> <div class="dashboard-item"> <div class="wrap-box"> <div class="title"> {{"Credit balance"}} </div> <div class="details"> <div class="number">{{__(':amount',['amount'=>$row->balance])}}</div> </div> @if($row->balance) <div class="desc">~ {{format_money(credit_to_money($row->balance))}} </div> @endif </div> </div> </div> </div> <div class="panel"> <div class="panel-title"><strong >{{__("Latest Transactions")}}</strong></div> <div class="panel-body"> <div class="table-responsive"> <table class="table table-bordered"> <thead> <tr> <th scope="col">#</th> <th scope="col">{{__('Type')}}</th> <th scope="col">{{__('Amount')}}</th> <th scope="col">{{__('Gateway')}}</th> <th scope="col">{{__('Status')}}</th> <th scope="col">{{__("Description")}}</th> <th scope="col">{{__("Date")}}</th> </tr> </thead> <tbody> @if(count($transactions)) @foreach($transactions as $transaction) <tr> <td>{{$transaction->id}}</td> <td>{{ucfirst($transaction->type)}}</td> <td>{{$transaction->amount}}</td> <td> @if($transaction->payment->gateway_obj) {{$transaction->payment->gateway_obj->getDisplayName() ?? ''}} @endif </td> <td><span class="badge badge-{{$transaction->status_class}}">{{$transaction->status_name ?? ''}}</span></td> <td> @if(!empty($transaction->meta['admin_deposit'])) {{__("Deposit by :name",['name'=>$transaction->author->display_name ?? ''])}} @endif </td> <td>{{display_datetime($transaction->created_at)}}</td> </tr> @endforeach @else <tr><td colspan="5">{{__("No data found")}}</td></tr> @endif </tbody> {{$transactions->links()}} </table> </div> </div> </div> </div> @endsection @section('footer') @endsection