
<?php
  include('common/header.php');
?>
<div class="">
  <div class="col-xm-12">
    <div class="widget-box light-border">
      <div class="widget-header header-color-grey">
        <h4 class="smaller">
          Branch Saleable Geography View 
        </h4>
      </div>
      <div class="widget-body">
        <div class="widget-main">
          <div class="row">
            <div class="col-sm-12">
              <form class="form-horizontal" role="form">
              <div class="">
                <?php 
                  foreach ($geography as  $value) {
                      $branch_salable_geograpahy_id=$value['branch_salable_geography_id'];
                       $state_ids=$value['state_ids'];
                       $city_ids=$value['city_ids'];
                  ?>

                <!-- PAGE CONTENT BEGINS -->  
                <div class="profile-user-info">
                  <div class="profile-info-row">
                    <div class="profile-info-name"><?php echo 'Country Name: '; ?></div>
                    <div class="profile-info-value">
                 

                      <span>      
                        <?php  
                        echo $value['country_name'];
                        echo form_hidden('admin_type_code','');
                  
                        ?>
                      </span>
                    </div>  
                  </div>
                </div>

                 <div class="profile-user-info">
                  <div class="profile-info-row">
                    <div class="profile-info-name"><?php echo 'Saleable Geography Name: '; ?></div>
                    <div class="profile-info-value">
                    

                      <span>      
                        <?php  
                        echo $value['saleble_geography_name'];
                        echo form_hidden('admin_type_code','');
                  
                        ?>
                      </span>
                    </div>  
                  </div>
                </div>

                  <div class="profile-user-info">
                  <div class="profile-info-row">
                    <div class="profile-info-name"><?php echo 'State Geography Name : '; ?></div>
                    <div class="profile-info-value">
                
                      <span>      
                       <?php 
                   $state= fetch_states($state_ids);
                   echo $state;
                   ?>
                      </span>
                    </div>  
                  </div>
                </div>

                <div class="profile-user-info">
                  <div class="profile-info-row">
                    <div class="profile-info-name"><?php echo 'City Geography Name : '; ?></div>
                    <div class="profile-info-value">
                
                      <span>      
                       <?php 
                $city = get_cities($city_ids);
                 echo  $city;
            ?>
                      </span>
                    </div>  
                  </div>
                <?php } ?>
                </div>

              </div>
              </form> 
            </div>
          </div>
        </div>  
      </div>
    </div>
  </div>
    <!-- /.col -->
</div>
<div class="clearfix form-actions">
  <div class="col-md-offset-5 col-md-5">
    <button class="btn btn-info" type="button" onclick="javascript:window.location='<?php echo base_url();?>index.php/gc/geography/list_branch_geography'">
      Back
    </button>
    
  </div>
</div>
<div class="space-4"></div>
  <!-- /.page-row -->
    <!-- /.page-content --> 
</div>
<!-- /.main-content -->  
</div>
<!-- /#ace-settings-container --> 
</div>
<!-- /.main-container-inner --> 
<?php
  include('common/footer.php');
?>