@extends('layouts.app')

@section('content')
  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        @include('partials.sidebar')

        @include('partials.topmenu')

        <!-- page content -->
        <div class="right_col" role="main">

          <div class="row">
            <div class="col-md-6 col-sm-6 col-xs-12">
              <div class="x_panel">
                <div class="x_title">
                  <h2>Account Details <small>To edit account <a href="{{ url('/cp/useraccount-update') }}">click Here</a></small></h2>
                  <ul class="nav navbar-right panel_toolbox">
                    <li style="float: right;">
                      <a href="{{ url('/cp/useraccount-update') }}" role="button"><i class="fa fa-wrench"></i></a>
                      
                    </li>
                    
                    </li>
                  </ul>
                  <div class="clearfix"></div>
                </div>
                <div class="x_content">
                @if(count($account) > 0)
                  <table class="table table-hover">
                    <tbody>
                      <tr>
                        <th scope="row" style="border-top: none;">Bank Account no.</th>
                        <td style="border-top: none;">{{ $account->acc_no }}</td>
                      </tr>
                      <tr>
                        <th scope="row">Bank Account Holder's Name</th>
                        <td>{{ $account->name }}</td>
                      </tr>
                      <tr>
                        <th scope="row">IFSC</th>
                        <td>{{ $account->ifsc }}</td>
                      </tr>
                      <tr>
                        <th scope="row">Bitcoin</th>
                        <td>{{ $account->bitcoin }}</td>
                      </tr>
                    </tbody>
                  </table>
                @else
                <p>You don't have account details added yet. <a href="{{ url('cp/useraccount-update') }}">Click here to create.</a></p>
                @endif
                </div>
              </div>
            </div>
          </div>

          <br />
        </div>
      </div>
        <!-- /page content -->
        @include('partials.footer')
      </div>
    </div>

    <!-- jQuery -->
    <script src="../vendors/jquery/dist/jquery.min.js"></script>
    <!-- Bootstrap -->
    <script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script>
    <!-- FastClick -->
    <script src="../vendors/fastclick/lib/fastclick.js"></script>
    <!-- NProgress -->
    <script src="../vendors/nprogress/nprogress.js"></script>
    <!-- Chart.js -->
    <script src="../vendors/Chart.js/dist/Chart.min.js"></script>
    <!-- gauge.js -->
    <script src="../vendors/gauge.js/dist/gauge.min.js"></script>
    <!-- bootstrap-progressbar -->
    <script src="../vendors/bootstrap-progressbar/bootstrap-progressbar.min.js"></script>
    <!-- iCheck -->
    <script src="../vendors/iCheck/icheck.min.js"></script>
    <!-- Skycons -->
    <script src="../vendors/skycons/skycons.js"></script>
    <!-- Flot -->
    <script src="../vendors/Flot/jquery.flot.js"></script>
    <script src="../vendors/Flot/jquery.flot.pie.js"></script>
    <script src="../vendors/Flot/jquery.flot.time.js"></script>
    <script src="../vendors/Flot/jquery.flot.stack.js"></script>
    <script src="../vendors/Flot/jquery.flot.resize.js"></script>
    <!-- Flot plugins -->
    <script src="../vendors/flot.orderbars/js/jquery.flot.orderBars.js"></script>
    <script src="../vendors/flot-spline/js/jquery.flot.spline.min.js"></script>
    <script src="../vendors/flot.curvedlines/curvedLines.js"></script>
    <!-- DateJS -->
    <script src="../vendors/DateJS/build/date.js"></script>
    <!-- JQVMap -->
    <script src="../vendors/jqvmap/dist/jquery.vmap.js"></script>
    <script src="../vendors/jqvmap/dist/maps/jquery.vmap.world.js"></script>
    <script src="../vendors/jqvmap/examples/js/jquery.vmap.sampledata.js"></script>
    <!-- bootstrap-daterangepicker -->
    <script src="../js/moment/moment.min.js"></script>
    <script src="../js/datepicker/daterangepicker.js"></script>

    <!-- Custom Theme Scripts -->
    <script src="../build/js/custom.js"></script>

    <!-- Flot -->
  </body>
@endsection
