<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>

      <div class="main my-0">
        <div class="row mt-3 mx-0">
          <div class="col-md-6">
            <h3 class="ml-3"><?php echo $pgheading;?></h3>
          </div>
          <div class="col-md-5 text-right">
            &nbsp;
          </div>
        </div>
        
        <div class="row mx-0">
        <div class="container_fluid mt-2 px-3 ml-3 col-md-7">

         <?php
			if($this->session->flashdata("message")!="" && $this->session->flashdata("alerttype")!="")
			{
         ?>
         <div class="text-center my-4">
			 <span class="alert <?php echo $this->session->flashdata("alerttype");?>"><?php echo $this->session->flashdata("message");?></span>
         </div>
         <?php
			}
         ?>
			
		<form name="frmgeneral" method="post" action="account/importstock/exportdata" enctype="multipart/form-data">
        <table class="webforms mt-0 table-responsive-sm">
		<tr>
          <td><label>Outlet:</label></td>
          <td>
		  <select name="outletid" id="outletid" required class="w-100">
		  <option value="">Select Outlet</option>
			<?php
			if(is_array($outletlist) && count(array_filter($outletlist))>0)
			{
				foreach($outletlist as $row)
				{
					echo '<option value="' . $row->fld_id . '">' . $row->fld_name . '</option>';
				}
			}
			?> 
		  </select>
		  </td>
         </tr>   
 
		 <tr>
             <td></td>
             <td><button class="btn btn-success" id="submit">Export</button></td>
         </tr>
         </table>
         </form> 
	         <div class="clearfix"></div>          
        </div>
        </div>
        
       </div>
