  <!--start main wrapper-->
    <main class="main-wrapper">
        <div class="main-content">
            <div class="row">
                <div class="col-md-8 my-2">
                    <div class="d-flex align-items-center gap-2 mb-2">

                        <h3 class="fmon m-0 fw-bolder">Accounts Receivables</h3>
                    </div>
                </div>
                <div class="col-md-4 my-2 d-flex justify-content-end">
                    <button class="btn bg-white d-flex gap-5 align-items-center px-3 border-15">
                        Filter <img src="<?php echo base_url(); ?>assets/images/e.png " alt="" width="20px">
                    </button>

                </div>

            </div>
            <div class="row my-2">
                <div class="col-md-3 my-2">
                    <div class="card un-card    u-active ">
                        <div class="card-body">
                            <a href="<?php echo base_url().'site/house'; ?>" class="d-flex gap-2 align-items-center">
                                <img src="<?php echo base_url(); ?>assets/images/house.png" alt="" width="50px">
                                <p class="ft4 fmon m-0">House/Units</p>

                            </a>
                        </div>
                    </div>
                </div>
                <div class="col-md-3 my-2">
                    <div class="card un-card ">
                        <div class="card-body">
                            <a href="<?php echo base_url().'site/accountr'; ?>" class="d-flex gap-2 align-items-center">
                                <img src="<?php echo base_url(); ?>assets/images/accountrec.png" alt="" width="50px">
                                <p class="ft4 fmon">Account
                                    Receivables</p>

                            </a>
                        </div>
                    </div>
                </div>
                <div class="col-md-3 my-2">
                    <div class="card un-card ">
                        <div class="card-body">
                            <a href="<?php echo base_url().'site/genbills'; ?>" class="d-flex gap-2 align-items-center">
                                <img src="<?php echo base_url(); ?>assets/images/vehile.png" alt="" width="50px">
                                <p class="ft4 fmon">Generated
                                    Bills </p>

                            </a>
                        </div>
                    </div>
                </div>
                <div class="col-md-3 my-2">
                    <div class="card un-card ">
                        <div class="card-body">
                            <a href="<?php echo base_url().'site/billshistory'; ?>" class="d-flex gap-3 align-items-center">
                                <img src="<?php echo base_url(); ?>assets/images/hb.png" alt="" width="50px">
                                <p class="ft4 fmon">History of
                                    Bills</p>

                            </a>
                        </div>
                    </div>
                </div>
            </div>
            <h3 class="fmon m-0 fw-bolder">Current status of subsidiaries</h3>
            <div class="row my-3">
                <div class="col-md-6 my-2">
                    <div class="card border-15">
                        <div class="card-body">

                            <div class="my-2">
                                <div class="my-2 d-flex justify-content-between align-items-center">



                                    <div class="d-flex gap-2">
                                        <img class="himage" src="<?php echo base_url(); ?>assets/images/avatars/a.png" alt="">
                                        <div>
                                            <p class="ft3 fmon mb-0">Balance: $950.00</p>
                                            <div class=" mt-2">
                                                <p class="ft6 mb-1"> Pending Collections: <span class="ft7">
                                                        $368.00</span> </p>
                                                <p class="ft6 mb-1">I will not read fines: <span class="ft7 mb-0">
                                                        $257.00 </span> </p>
                                                <p class="ft6 mb-1">I will not read Advances: <span class="ft7">$185.00
                                                    </span> </p>
                                            </div>
                                        </div>
                                    </div>
                                    <button class="btn addBtn2" data-bs-toggle="modal"
                                        data-bs-target="#exampleModal"><img src="<?php echo base_url(); ?>assets/images/sett.png" alt=""
                                            width="25px"></button>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-6 my-2">
                    <div class="card border-15">
                        <div class="card-body">

                            <div class="my-2">
                                <div class="my-2 d-flex justify-content-between align-items-center">



                                    <div class="d-flex gap-2">
                                        <img class="himage" src="<?php echo base_url(); ?>assets/images/avatars/a.png" alt="">
                                        <div>
                                            <p class="ft3 fmon mb-0">Balance: $950.00</p>
                                            <div class=" mt-2">
                                                <p class="ft6 mb-1"> Pending Collections: <span class="ft7">
                                                        $368.00</span> </p>
                                                <p class="ft6 mb-1">I will not read fines: <span class="ft7 mb-0">
                                                        $257.00 </span> </p>
                                                <p class="ft6 mb-1">I will not read Advances: <span class="ft7">$185.00
                                                    </span> </p>
                                            </div>
                                        </div>
                                    </div>
                                    <button class="btn addBtn2"><img src="<?php echo base_url(); ?>assets/images/sett.png" alt="" width="25px"
                                            data-bs-toggle="modal" data-bs-target="#exampleModal"></button>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-6 my-2">
                    <div class="card border-15">
                        <div class="card-body">

                            <div class="my-2">
                                <div class="my-2 d-flex justify-content-between align-items-center">



                                    <div class="d-flex gap-2">
                                        <img class="himage" src="<?php echo base_url(); ?>assets/images/avatars/a.png" alt="">
                                        <div>
                                            <p class="ft3 fmon mb-0">Balance: $950.00</p>
                                            <div class=" mt-2">
                                                <p class="ft6 mb-1"> Pending Collections: <span class="ft7">
                                                        $368.00</span> </p>
                                                <p class="ft6 mb-1">I will not read fines: <span class="ft7 mb-0">
                                                        $257.00 </span> </p>
                                                <p class="ft6 mb-1">I will not read Advances: <span class="ft7">$185.00
                                                    </span> </p>
                                            </div>
                                        </div>
                                    </div>
                                    <button class="btn addBtn2" data-bs-toggle="modal"
                                        data-bs-target="#exampleModal"><img src="<?php echo base_url(); ?>assets/images/sett.png" alt=""
                                            width="25px"></button>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-6 my-2">
                    <div class="card border-15">
                        <div class="card-body">

                            <div class="my-2">
                                <div class="my-2 d-flex justify-content-between align-items-center">



                                    <div class="d-flex gap-2">
                                        <img class="himage" src="<?php echo base_url(); ?>assets/images/avatars/a.png" alt="">
                                        <div>
                                            <p class="ft3 fmon mb-0">Balance: $950.00</p>
                                            <div class=" mt-2">
                                                <p class="ft6 mb-1"> Pending Collections: <span class="ft7">
                                                        $368.00</span> </p>
                                                <p class="ft6 mb-1">I will not read fines: <span class="ft7 mb-0">
                                                        $257.00 </span> </p>
                                                <p class="ft6 mb-1">I will not read Advances: <span class="ft7">$185.00
                                                    </span> </p>
                                            </div>
                                        </div>
                                    </div>
                                    <button class="btn addBtn2" data-bs-toggle="modal"
                                        data-bs-target="#exampleModal"><img src="<?php echo base_url(); ?>assets/images/sett.png" alt=""
                                            width="25px"></button>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
        <!-- Modal -->
        <div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
            <div class="modal-dialog  modal-dialog-centered">
                <div class="modal-content">
                    <div class="modal-header">
                        <h2 class="modal-title" id="exampleModalLabel"></h2>
                        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                    </div>
                    <div class="modal-body">
                        <form>
                            <p class="ft1 text-black">Billing setup</p>
                            <!-- Date Field -->
                            <div class="mb-3">

                                <input type="text" name="account_number" class="form-control FormInput3"
                                    id="account_number" placeholder="Account number" required>
                            </div>
                            <!-- Amount Field -->
                            <div class="mb-3">

                                <input type="number" name="id" class="form-control FormInput3" id="id" placeholder="ID"
                                    required>
                            </div>
                            <!-- Email Field -->
                            <div class="mb-3">

                                <input type="email" name="email" class="form-control FormInput3" id="email"
                                    placeholder="Enter email" required>
                            </div>
                            <div class="mb-3">

                                <input type="text" name="collection" class="form-control FormInput3" id="collection"
                                    placeholder="Collection" required>
                            </div>
                            <!-- Submit Button -->
                            <div class="d-flex justify-content-center">
                                <button type="submit" class="btn addBtn px-4">Upload Documents</button>
                            </div>
                        </form>
                    </div>

                </div>
            </div>
        </div>

    </main>
    <!--end main wrapper-->
