<?php 
include_once('../libs/functions.php');
if($dependantDetails > 0 )
{ 
    foreach ($dependantDetails as $key => $value)
    { 
                
        ?>
        <div class="breadcrumb">
            <h1>Dependant</h1>
            <ul>
                <li><a href="<?php echo SITE_URL.ADMIN_DIR ?>/dependantlist.php">Dashboard</a></li>
            </ul>
        </div>
        <div class="separator-breadcrumb border-top"></div>
        <div class="row">
           <div class="col-md-12">
               <div class="card">
                <div class="tab-content" id="myTabContent">
                    <div class="tab-pane fade show active" id="invoice" role="tabpanel" aria-labelledby="invoice-tab">
                        <div id="print-area">
                                    <div class="row mb-5">
                                        <div class="col-md-4 mb-3 mb-sm-0">
                                            <h5 class="font-weight-bold">Insurance Detail</h5>

                                            <b>Insurance Name</b> : <?php echo $value->dependant_insurance_name ?> <br/>

                                            <b>PolicyId</b> : <?php echo $value->dependant_insurance_policyId ?> <br/>

                                            <b>InsuranceType</b> : <?php echo $value->dependant_insurance_type ?> <br/>

                                            <b>InsuranceMemberId</b> : <?php echo $value->dependant_insurance_memberId ?> <br/>

                                            <b>InsuranceGroupId</b> : <?php echo $value->dependant_insurance_groupId ?> <br/>

                                            <p></p>
                                        </div>
                                        
                                        <div class="col-md-4">
                                            
                                            <b>PolicyHolderName</b> : <?php echo $value->dependant_policyHolderName ?> <br/>

                                            <b>PatientBillable Month</b> : <?php echo $value->dependant_insurance_front ?> <br/>

                                            <b>InsuranceBack</b> : <?php echo $value->dependant_insurance_back ?> <br/>

                                            <b>InsuranceNotes</b> : <?php echo $value->dependant_insurance_notes ?> <br/>

                                            <p></p>
                                        </div>

                                        <div class="col-md-4">
                                            <h5 class="font-weight-bold">Address Detail</h5>

                                            <b>Address1</b> : <?php echo $value->dependant_address1 ?> <br/>

                                            <b>Address2</b> : <?php echo $value->dependant_address2 ?> <br/>

                                            <b>City</b> : <?php echo $value->dependant_city ?> <br/>

                                            <b>State</b> : <?php echo $value->dependant_state ?> <br/>

                                            <b>Zipcode</b> : <?php echo $value->dependant_zipcode ?> <br/>

                                            <b>City Zipcode</b> : <?php echo $value->dependant_city_zipcode ?> <br/>

                                            <b>Formatted Address</b> : <?php echo $value->dependant_formatted_address ?> <br/>

                                            <b>Language</b> : <?php echo $value->dependant_language ?> <br/>

                                            

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

                                    <div class="mt-3 mb-4 border-top"></div>

                        </div>
                    </div>
                </div>
            </div>
           </div> 
        </div>
<?php
    }  
} ?>