<?php //print_r($member);die(); ?>
<div class="content-header">
    <div class="container-fluid">
        <div class="row mb-2">
            <div class="col-sm-6">
                <!-- <h1 class="m-0">Deactive Member </h1> -->
            </div>
            <div class="col-sm-6">
                <ol class="breadcrumb float-sm-right">
                    <li class="breadcrumb-item"><a href="#">Member</a></li>
                    <li class="breadcrumb-item active">View Member</li>
                </ol>
            </div>
        </div>
    </div>
</div>




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




        <div class="row">

            <section class="col-lg-12 connectedSortable">

                <div class="card">
                    <div class="card-header " style="background-color:#31708e;color:white">
                        <h3 class="card-title">
                        <?= $member->mem_name ?> &nbsp;&nbsp;Details
                        </h3>
                        <div class="card-tools">
                            <ul class="nav nav-pills ml-auto">
                            </ul>
                        </div>
                    </div>
                    <div class="card-body">
                        <div class="tab-content p-0">
        <center>
            <h2><?= $member->mem_name ?> - <?= $member->me_no ?></h2><br><br>
            <img src="<?php echo base_url().'/assets/img/'.$member->mem_image; ?>" alt="" height="100px;" width="100px;">
        </center>
        <br>
        <table class="table table-bordered">
            <tbody>
                <tr>
                    <td colspan="4"><b>Personal Details:</b></td>
                </tr>
                <tr>
                    <td><b>Father's Name</b></td>
                    <td><?= $member->f_name ?></td>
                    <td><b>DOB</b></td>
                    <td><?= date("d-m-Y",strtotime($member->mem_dob)); ?></td>
                </tr>
                <tr>
                    <td><b>Caste</b></td>
                    <td><?= $member->mem_caste ?></td>
                    <td><b>Gender</b></td>
                    <td><?= $member->mem_gender ?></td>
                </tr>
                <tr>
                    <td><b>Pincode</b></td>
                    <td><?= $member->mem_pin ?></td>
                    <td><b>Address</b></td>
                    <td><?= $member->mem_add ?></td>
                </tr>
                <tr>
                    <td><b>Mobile</b></td>
                    <td><?= $member->mem_mob ?></td>
                </tr>
                <tr>
                    <td colspan="4"><b>Nominee Details:</b></td>
                </tr>
                <tr>
                    <td><b>Nominee Name</b></td>
                    <td><?= $member->n_name ?></td>
                    <td><b>Relationship</b></td>
                    <td><?= $member->n_relation ?></td>
                </tr>
                <tr>
                    <td colspan="4"><b>Office Details:</b></td>
                </tr>
                <tr>
                    <td><b>Division</b></td>
                    <td><?php echo $member->division; ?></td>
                    <td><b>Section</b></td>
                    <td><?php echo $member->section; ?></td>
                </tr>
                <tr>
                    <td><b>Designation</b></td>
                    <td><?php echo $member->mem_desig; ?></td>
                </tr>
                <tr>
                    <td colspan="4"><b>Bank Details:</b></td>
                </tr>
                <tr>
                    <td><b>Bank1 Name</b></td>
                    <td><?= $member->b1_name ?></td>
                    <td><b>Account No.</b></td>
                    <td><?= $member->b1_acc_no ?></td>
                </tr>
                <tr>
                    <td><b>IFSC</b></td>
                    <td><?= $member->b1_ifsc ?></td>
                    <td><b>Branch</b></td>
                    <td><?= $member->b1_br ?></td>
                </tr>
                <tr>
                    <td><b>Bank2 Name</b></td>
                    <td><?= $member->b2_name ?></td>
                    <td><b>Account No.</b></td>
                    <td><?= $member->b2_acc_no ?></td>
                </tr>
                <tr>
                    <td><b>IFSC</b></td>
                    <td><?= $member->b2_ifsc ?></td>
                    <td><b>Branch</b></td>
                    <td><?= $member->b2_br ?></td>
                </tr>
                <tr>
                    <td colspan="4"><b>Personal Details:</b></td>
                </tr>
                <tr>
                    <td><b>Aadhar No.</b></td>
                    <td><?= $member->adhar_no ?></td>
                    <td><b>PAN No.</b></td>
                    <td><?= $member->pan_no ?></td>
                </tr>
                <tr>
                    <td><b>GPF No.</b></td>
                    <td><?= $member->gpf_no ?></td>
                    <td><b>Reteriment Date</b></td>
                    <td><?php if(date("d-m-Y",strtotime($member->mem_dor))!="01-01-1970"){ echo date("d-m-Y",strtotime($member->mem_dor)); } ?></td>
                </tr>
                <tr>
                    <td><b>Join in Society</b></td>
                    <td><?php if(date("d-m-Y",strtotime($member->scty_doj))!="01-01-1970"){ echo date("d-m-Y",strtotime($member->scty_doj)); } ?></td>
                    <td><b>Join in Dept.</b></td>
                    <td><?php if(date("d-m-Y",strtotime($member->mem_doj))!="01-01-1970"){ echo date("d-m-Y",strtotime($member->mem_doj)); } ?></td>
                </tr>
            </tbody>
        </table>
        </div>
                    </div>
                </div>
        </div>
</section>
</div>
</div>
</section>

