@extends ('backend.layouts.app')

@section ('title', trans('Wallet History'))

@section('page-header')
    <h1>
        {{ trans('Wallet History') }}
        <small>{{ trans('') }}</small>
    </h1>
@endsection

@section('content')

    <div class="box box-success">
        <div class="box-header with-border">
            <h3 class="box-title">{{ trans('Details') }}</h3>

            <div class="box-tools pull-right">

            </div><!--box-tools pull-right-->
        </div><!-- /.box-header -->

        <div class="box-body">
            <div class="control-group">
                <div class="col-md-6">

                    <div class="col-md-12">
                        <div class="col-md-12">
                            <div class="table-responsive">
                                <table class="table table-hover" style="margin-top: 10px;">
                                    <thead>
                                    <tr>
                                        <th>{{ trans('Currency') }}</th>
                                        <th>{{ trans('Amount') }}</th>
                                        <th>{{ trans('Topup Date & Time') }}</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    @foreach($history as $histo)
                                        <tr>
                                            <td>{{$histo->currency_code}}</td>
                                            <td>{{$histo->amount}}</td>
                                            <td>{{$histo->created_at}}</td>
                                        </tr>
                                    @endforeach
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div><!--table-responsive-->
                </div>
            </div><!-- /.box-body -->
        </div><!--box-->
    </div>

@stop

