<!doctype html>
<html lang="en" data-layout="vertical" data-topbar="light" data-sidebar="dark" data-sidebar-size="lg" data-sidebar-image="none" data-preloader="disable">

<head>

    <meta charset="utf-8" />
    <title>APDC Homes</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta content="Premium Multipurpose Admin & Dashboard Template" name="description" />
    <meta content="Themesbrand" name="author" />
    <!-- App favicon -->
    <link rel="shortcut icon" href="assets/images/favicon.ico">

    <!-- gridjs css -->
    <link rel="stylesheet" href="assets/libs/gridjs/theme/mermaid.min.css">
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">


    <!-- Layout config Js -->
    <script src="assets/js/layout.js"></script>
    <!-- Bootstrap Css -->
    <link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <!-- Icons Css -->
    <link href="assets/css/icons.min.css" rel="stylesheet" type="text/css" />
    <!-- App Css-->
    <link href="assets/css/app.min.css" rel="stylesheet" type="text/css" />
    <!-- custom Css-->
    <link href="assets/css/custom.min.css" rel="stylesheet" type="text/css" />

</head>

<body>

<!-- Begin page -->
<div id="layout-wrapper">

    @include('includes.header-topbar')

    <!-- ========== App Menu ========== -->
    @include('includes.sidebar-menu')
    <!-- Left Sidebar End -->
    <!-- Vertical Overlay-->
    <div class="vertical-overlay"></div>

    <!-- ============================================================== -->
    <!-- Start right Content here -->
    <!-- ============================================================== -->

    <!-- ============================================================== -->
    <!-- Start right Content here -->
    <!-- ============================================================== -->
    <div class="main-content">

        <div class="page-content">
            <div class="container-fluid">

                <!-- start page title -->
                <div class="row">
                    <div class="col-12">
                        <div class="page-title-box d-sm-flex align-items-center justify-content-between">
                            <h4 class="mb-sm-0">Transfer Of Funds Request</h4>

                            <div class="page-title-right">
                                <ol class="breadcrumb m-0">
                                    <li class="breadcrumb-item"><a href="javascript: void(0);">Applications</a></li>
                                    <li class="breadcrumb-item active">Refund Request</li>
                                </ol>
                            </div>

                        </div>
                    </div>
                </div>
                <!-- end page title -->

                <div class="row">
                    <div class="col-xxl-8">
                        <!--end card-->
                        <div class="card mb-3">
                            <div class="card-body">
                                <div class="table-card">

                                    <div class="mt-5" style="text-align: center">
                                        <h4 class="mb-sm-0">Transfer Request</h4>
                                    </div>


                                    <table class="table mb-0">
                                        <tbody>
                                        <tr>
                                            <td class="fw-medium">To: </td>
                                            <td>{{$request->to ?? ''}}
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="fw-medium">Through: </td>
                                            <td>{{$request->through ?? ''}}</td>
                                        </tr>
                                        <tr>
                                            <td class="fw-medium">Ref: </td>
                                            <td>{{$request->ref ?? ''}}</td>
                                        </tr>

                                        <tr>

                                            <td class="fw-medium">From: </td>
                                            <td>{{$request->from ?? ''}}</td>
                                        </tr>
                                        <tr>
                                            <td class="fw-medium">Date: </td>
                                            <td>{{$request->date ?? ''}}</td>
                                        </tr>
                                        <tr>
                                            <td class="fw-medium">Subject: </td>
                                            <td>{{$request->subject ?? ''}}</td>
                                        </tr>
                                        <tr>
                                            <td class="fw-medium">Former House Type: </td>
                                            <td>{{$request->former_house_type ?? ''}}</td>
                                        </tr>
                                        <tr>
                                            <td class="fw-medium">Amount Paid: </td>
                                            <td>NGN {{$request->amount_paid ?? ''}}</td>
                                        </tr>
                                        <tr>
                                            <td class="fw-medium">New House Project: </td>
                                            <td>{{$request->new_house_project ?? ''}}</td>
                                        </tr>
                                        <tr>
                                            <td class="fw-medium">New House Type: </td>
                                            <td>{{$request->new_house_type ?? ''}}</td>
                                        </tr>
                                        <tr>
                                            <td class="fw-medium">New House Amount: </td>
                                            <td>{{$request->new_house_amount ?? ''}}</td>
                                        </tr>
                                        <tr>
                                            <td class="fw-medium">Amount To Transfer: </td>
                                            <td>NGN {{number_format($request->amount_to_transfer) ?? ''}}</td>
                                        </tr>
                                        <br>
                                        <br>
                                        <tr>
                                            <td class="fw-medium">Attachment: </td>
                                            <td class="attachment-cell">
                                                @if ($request && $request->attachment)
                                                    <div class="attachment-content">
                                                        <a href="storage/{{$request->attachment}}" alt="Click to View">Click to View</a>
                                                    </div>
                                                @else
                                                    <p>No attachment available</p>
                                                @endif
                                            </td>
                                        </tr>
                                        </tbody>
                                    </table>
                                    <!--end table-->
                                </div>
                                <div class="hstack gap-2 justify-content-end d-print-none mt-4">
                                    <a href="javascript:window.print()" class="btn btn-success"><i class="ri-printer-line align-bottom me-1"></i> Export</a>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!---end col-->
                    <!--end col-->
                </div>
                <!--end row-->

                <!-- end modal -->

            </div>
            <!-- container-fluid -->
        </div>
        <!-- End Page-content -->

        @include('includes.footer')
    </div>
    <!-- end main content-->

</div>
<!-- END layout-wrapper -->



<!--start back-to-top-->
<button onclick="topFunction()" class="btn btn-danger btn-icon" id="back-to-top">
    <i class="ri-arrow-up-line"></i>
</button>
<!--end back-to-top-->

<!--preloader-->
<div id="preloader">
    <div id="status">
        <div class="spinner-border text-primary avatar-sm" role="status">
            <span class="visually-hidden">Loading...</span>
        </div>
    </div>
</div>

<div class="customizer-setting d-none d-md-block">
    <div class="btn-info rounded-pill shadow-lg btn btn-icon btn-lg p-2" data-bs-toggle="offcanvas" data-bs-target="#theme-settings-offcanvas" aria-controls="theme-settings-offcanvas">
        <i class='mdi mdi-spin mdi-cog-outline fs-22'></i>
    </div>
</div>


<!-- JAVASCRIPT -->
<script src="assets/libs/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="assets/libs/simplebar/simplebar.min.js"></script>
<script src="assets/libs/node-waves/waves.min.js"></script>
<script src="assets/libs/feather-icons/feather.min.js"></script>
<script src="assets/js/pages/plugins/lord-icon-2.1.0.js"></script>
<script src="assets/js/plugins.js"></script>

<!-- prismjs plugin -->
<script src="assets/libs/prismjs/prism.js"></script>

<!-- gridjs js -->
<script src="assets/libs/gridjs/gridjs.umd.js"></script>
<!-- gridjs init -->
<script src="assets/js/pages/gridjs.init.js"></script>

<!-- App js -->
<script src="assets/js/app.js"></script>
</body>


</html>
