


         <script type="text/javascript">
  
		
		 $(document).on("click", "#managebtndelete", function()
        {
          var itemid = $(this).data('id');
		  $("#itemid1").val(itemid); 
		  
		  
		   
        });
		
		  $(document).on("click", "#editbtn", function()
        {
          var accountingid = $(this).data('id');
		  $("#accountingid").val(accountingid); 
		   
 
		    var amount = $(this).data('amount');
		   $("#amount").val(amount); 
		   
		     var accounttype = $(this).data('accounttype');
		   $("#accounttype").val(accounttype); 
		   
		     var description = $(this).data('description');
		   $("#description").val(description); 
		 
		  
		     
		     var bankname = $(this).data('bankname');
		   $("#bankname").val(bankname);
		   
		    var openingdate = $(this).data('openingdate');
		   $("#openingdate").val(openingdate);
		   
		      var currency = $(this).data('currency');
		   $("#currency").val(currency);
		   
		   
		       var accountname = $(this).data('accountname');
		   $("#accountname").val(accountname);
		       var accountstatus = $(this).data('accountstatus');
		   $("#accountstatus").val(accountstatus);
		    
		   
		       var number = $(this).data('number');
		   $("#number").val(number);
		   
        });
		
    </script>  
 <div class="row">
  
   	
 
		


   	<div class="col-md-12">

  <?php
   echo $this->session->flashdata('deletemsg'); 
 
				echo $this->session->flashdata('msg'); 
   $session_data = $this->session->userdata('logged_in');

      $mydate=date("Y-m-d H:i:s");
	  $new_date=date("Y-m-d H:i:00");
 	$data['id'] = $session_data['id'];
        
		 $userid = $data['id'];
$data['companyid'] = $session_data['companyid'];
	 $companyid = $data['companyid'];
		 $data['usertype'] = $session_data['usertype'];
	 $usertype = $data['usertype'];	
    $deleteglaccount=$this->usermodel->populatuserpermissionsdataarray('accounting','deleteglaccount',$userid);

  
  ?>
		<div class="panel panel-default" data-collapsed="0">
        	<div class="panel-heading">
            	<div class="panel-title" id="redcolor" >
            		<i class="entypo-plus-circled"></i>
				 <span class="pull-right"> View Gl Accounts  </span>
	  <a data-toggle='modal' data-target='#addModal' class="btn btn-primary">Add chart of account  </a>


				 
				 
				 
				 
				  	  				 <a href="<?php echo base_url();?>user/allaccounting" class="btn btn-info"> Charts of Account </a>
	  				 <a href="<?php echo base_url();?>user/accounting" class="btn btn-info">  Payment Methods</a>

	  				 <a href="<?php echo base_url();?>user/glgroups" class="btn btn-info">  GL Sub Groups</a>

	  				 <a href="<?php echo base_url();?>user/viewassets" class="btn btn-info">  Assets</a>
	  		  <a data-toggle='modal' data-target='#uploadchatsModel' class="btn btn-info">Upload  Chats of Account   </a>

				 
				 
				 
				 
            	</div>
            </div>
			<div class="panel-body">

			
	<div class="widget-content nopadding table_holder table-responsive" >				
				<?PHP

								?>	
					<div class="row">
						<div class="col-md-12">
							
							<div class="panel-body">
	
									
  <table cellpadding="0" cellspacing="0" border="0" class="table  table-striped" id="example" style="border-color:#CCCCCC; width:100%;"  >

             <thead>
         <tr>
		   					  <th>GL Code</th>

  					  <th>Account Name</th>


					<th>Sub Account type</th>
		   <th>Opening Date</th>
		 
    
	     
   <th>Sub Account</th>

 	

					<th>Account type</th>
 <th>Currency</th> 

 <th>Status</th> 

				
		<th>More</th>
		


                 </tr>
             </thead>
<?php

			
 if(!is_array($allaccounting)) 

 {


   echo "<tr  style='margin-bottom:0px;margin-top:0px;' '>";
      echo "<td colspan='10'>";
    
       echo '<div class="alert alert-warning text-center">There no bank found..</div>';
    echo "</td>";
   echo "</tr>";
    }else {
?>
    
             <?php 
  
  	foreach ($allaccounting as $c): 

		 

           
                
            
$id=$c->id;


?>
  <tr>
   <td><?php echo $c->number; ?></td> 			   

 <td><?php echo $c->accountname; ?></td> 				   
				   



 <td>
												 
	<?php 
					// $branch="";
					 $accounttype=$c->accounttype;

					 $myaccounttype= $this->usermodel->populateall('glgroups','id',$accounttype);



if(is_array($myaccounttype)) {

   foreach($myaccounttype as $myaccounttyperow){

   echo $myaccounttyperow->accountname;
 
 
}} else {
    echo 'General.';
}
	
?>
												 
	 </td>											 
			



			   

  <td><?php echo $c->openingdate; ?></td> 	


 <td>
												 
	<?php 
					// $branch="";
					 $mybranch=$c->bankname;

					 $branch= $this->usermodel->populateall('glaccounts','id',$mybranch);



if(is_array($branch)) {

   foreach($branch as $branchrow){

   echo $branchrow->accountname;
 
 
}} else {
    echo 'No sub Acc.';
}
	
?>
												 
	 </td>											 
			  
				   
	 				   

 
 
  <td>
												 
	<?php 
					// $branch="";
					 $description=$c->description;

					 $descriptionname= $this->usermodel->populateall('accounttype','id',$description);



if(is_array($descriptionname)) {

   foreach($descriptionname as $descriptionnamerow){

   echo $descriptionnamerow->name;
 
 
}} else {
    echo 'Not assigned.';
}
	
?>
												 
	 </td>	
 
 
  
  <td>
												 
	<?php 
					// $branch="";
					 $currency=$c->currency;

					 $currencyname= $this->usermodel->populateall('currency','id',$currency);



if(is_array($currencyname)) {

   foreach($currencyname as $currencynamerow){

   echo $currencynamerow->name;
 
 
}} else {
    echo $currency;
}
	
?>
												 
	 </td>	
 

  <td><?php echo $c->accountstatus; ?></td> 	

  <td>

 
 
					<div class="btn-group">
                                    <button type="button" class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown">
                                        More <span class="caret"></span>
                                    </button>
									<?php
									 if( $deleteglaccount==true){
											
											?>
                                    <ul class="dropdown-menu dropdown-primary pull-right" role="menu">
                                        
                                        <!-- teacher EDITING LINK -->
                                      
										<!--
											  <li> 
										 <a class="btn btn-danger managebtn" id="managebtndelete"		 data-id='<?php echo  $c->id;?>'    data-toggle='modal' data-target='#deleteModal<?php  $c->id; ?>'>	 


                                                <i class="glyphicon glyphicon-pencil"></i>
																Delete
                                                </a>
                                                        </li>
									-->
									
                                        <li class="divider"></li>
                                        
                                     	  <li> 
										  
										  
										  

							<a class="btn btn-primary editbtn" id="editbtn"  data-amount='<?php echo  $c->amount;?>' data-accountstatus='<?php echo  $c->accountstatus;?>'   data-openingdate='<?php echo  $c->openingdate;?>' data-currency='<?php echo  $c->currency;?>'  data-number='<?php echo  $c->number;?>' data-accounttype='<?php echo  $c->accounttype;?>' data-accountname='<?php echo  $c->accountname;?>' data-openingdate='<?php echo  $c->openingdate;?>' data-bankname='<?php echo  $c->bankname;?>' data-description='<?php echo  $c->description;?>'  data-id='<?php echo  $c->id;?>' data-toggle='modal' data-target='#editProductModel'> 	 

                                                <i class="glyphicon glyphicon-pencil"></i>
																Update
                                                </a>
                                                        </li>
                                        
                                        <!-- teacher DELETION LINK -->
                                        
                                    </ul>
											<?php
										}
										?>
                                </div>
</td>
     	
                  
             </tr>

	<?php endforeach;} ?>

            

        </table>
		<div class="col-md-12 text-center">    <?php  if(isset($links)) {echo   $links; } ?>
					   		<span style="color:red; font-size:20px"><?php  if(isset($total_rows)) {echo   $total_rows; } "   Bank (s) in the system. " ;?>    </span>

        
        </div>
	</div>

	
	
	
	
	
	
	
<div id="editProductModel" class="modal fade" role="dialog">
  <div class="modal-dialog">

    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">Update GL Accounts</h4>
      </div>
      <div class="modal-body">
      
	  	

				<?PHP
//$session_data = $this->session->userdata('logged_in');



				echo $this->session->flashdata('msg'); 
		
                 echo form_open('user/addglaccount' , array('class' => 'form-horizontal form-groups-bordered validate', 'enctype' => 'multipart/form-data'));
				 if(validation_errors()):?>
<div class='alert alert-danger text-center'><?php echo validation_errors(); ?></div>
<?php endif;?>
	<input type="hidden" name="accountingid" value=""id="accountingid" class="form-control" required placeholder="Enter mycategoryid">
			<input type="hidden" name="action" value="update" class="form-control" required placeholder="Enter mycategoryid">
	  		
		<div class="form-group">
    <label for="inputnumber" class="col-sm-3 control-label">Gl Code: </label>
    <div class="col-sm-9">
	
		  		<input type="text" name="number"   id="number" value="<?php echo set_value('number'); ?>" class="form-control" required placeholder="Enter  account number ">
		 
				
		<span class="text-danger"> <?php echo form_error('number'); ?>
		
		</span>
	</div>
  </div>
		    <div class="form-group">
    <label for="inputaccountname" class="col-sm-3 control-label"> Account Name:   </label>
    <div class="col-sm-9">
		
				<input type="text" name="accountname" value="<?php echo set_value('accountname') ;?>" id="accountname" class="form-control" required  placeholder="Please provide your Account name ">

				
		</span>
	</div>
  </div>
	      <div class="form-group">
    <label for="inputaccounttype" class="col-sm-3 control-label"> Account Group type?</label>
    <div class="col-sm-9">
	<select class="form-control" name="accounttype" id="accounttype" required>
	
	<option value=""  selected="selected">---Select Sub Group type---</option>

	<?php 
	
					 
										$Account= $this->usermodel->populateall('glgroups','companyid',$companyid);


	
if(is_array($Account)) {

   foreach($Account as $Accountrow){

   //echo $courserow->coursename;
    ?>
					<option value="<?=  $Accountrow->id;   ?>"><?=  $Accountrow->accountname; ?></option>



	<?php

}} else {
    echo 'No Account type available.';
}
	
?>
</select>
		
						<span class="text-danger"><?php echo form_error('accounttype'); ?>

	</div>
  </div>
  
	 
	 
		
		
		
		
		
		
		
		
		
		

	

		
  
  	

	      <div class="form-group">
    <label for="inputbankname" class="col-sm-3 control-label">Sub Account name?</label>
    <div class="col-sm-9">
	<select class="form-control" name="bankname"  id="bankname"  required>
	
	<option value=""  selected="selected">---Select Sub Account name---</option>
		<option value=""  >---No sub account---</option>

	<?php 
	
					 
										$banking= $this->usermodel->populateall('glaccounts','companyid',$companyid);


	
if(is_array($banking)) {

   foreach($banking as $bankingrow){

   //echo $courserow->coursename;
    ?>
					<option value="<?=  $bankingrow->id;   ?>"><?=  $bankingrow->accountname ."(Acc type:". $bankingrow->accounttype .")"; ?></option>



	<?php

}} else {
    echo 'No bank available.';
}
	
?>
</select>
		
						<span class="text-danger"><?php echo form_error('bankname'); ?>

	</div>
  </div>
  
	 
	 
  
  
  

  
				
			  <div class="form-group">
    <label for="inputopeningdate" class="col-sm-3 control-label">	Opening Date </label>
    <div class="col-sm-9">

	<input type="text" name="openingdate" value="<?php echo set_value('openingdate',$mydate); ?>"id="openingdate" class="form-control" required placeholder="Enter specific date of opening  (dd-mm-YYY) ">
			<span class="text-danger"> <?php echo form_error('openingdate'); ?>
		
		</span>
	</div>
  </div>		
					
			
		    <div class="form-group">
    <label for="inputamount" class="col-sm-3 control-label"> Opening balance:   </label>
    <div class="col-sm-9">
		
				<input type="text" name="amount" value="0" id="amount" class="form-control" required  placeholder="Please provide default Account payable ">

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


  
    	<div class="form-group">
    <label for="inputsavebalance" class="col-sm-3 control-label">Save Opening Balance? </label>
    <div class="col-sm-9">
		<select  class="form-control" name="savebalance" required>
								<option value="" >Select Option</option>
								<option value="yes">Save Opening Balance to GL</option>
								<option value="no" selected >Don't Save Opening Balance To GL</option>

	
</select>
	
	
		<span class="text-danger"> 	<?php echo form_error('savebalance'); ?>
		
		</span>
	</div>
  </div>	
  
  
  
    <div class="form-group">
    <label for="inputcurrency" class="col-sm-3 control-label">Currency </label>
    <div class="col-sm-9">
		<select  class="form-control" name="currency"  id="currency"  >
								<option value="">Select Currency</option>

	<?php 
	
					 
										$currency= $this->usermodel->populateall('currency','companyid',$companyid);


	
if(is_array($currency)) {

   foreach($currency as $currencyrow){

   //echo $courserow->coursename;
    ?>
					<option selected="selected" value="<?=  $currencyrow->id;   ?>"><?=  $currencyrow->name; ?></option>


	<?php

}} else {
    echo 'No currency  available.';
}
	
?>
</select>
	
		
			

			
		  		
				
		<span class="text-danger"> 	<?php echo form_error('currency'); ?>
		
		</span>
	</div>
  </div>	
  
  
  


    
    	<div class="form-group">
    <label for="inputaccountstatus" class="col-sm-3 control-label">Status </label>
    <div class="col-sm-9">
		<select  class="form-control" name="accountstatus" required>
						<option value="" selected></option>
		<option value=""  >---Select Status---</option>
		<option value="active"  >Active</option>
		<option value="inactive"  >Inactive</option>

	
</select>
	
	
		<span class="text-danger"> 	<?php echo form_error('accountstatus'); ?>
		
		</span>
	</div>
  </div>	
  
  	
		
  
  
	 <div class="form-group">

    <div class="col-sm-offset-2 col-sm-10">
     
	         <button type="submit"  name="btn_postgLaccount"  value="account"  class="btn btn-primary"> Add GL Account  </button>

    </div>
  </div>
  					<?php echo form_close();?>
			</div>							   
				
									
							
								
			<div class="modal-footer">

    

				</div>

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







	
	
	
	
	
	
	
	
	
	
	
		<div id="deleteModal" class="modal fade" role="dialog">
  <div class="modal-dialog">

    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">Delete</h4>
      </div>
      <div class="modal-body">
        <h3>Are you sure you want to delete this item? </h3>
      </div>
      <div class="modal-footer">
	  	

     
		<?PHP
				$session_data = $this->session->userdata('logged_in');
 echo $this->session->flashdata('deletemsg'); 

		
                 echo form_open('user/deletebyid' , array('class' => 'form-horizontal ', 'enctype' => 'multipart/form-data'));
				 if(validation_errors()):?>
<div class='alert alert-danger text-center'><?php echo validation_errors(); ?></div>
<?php endif;?>
 <input type="hidden" id="table"name="table" class="table" placeholder="view" value="glaccounts">

 <input type="hidden" id="view"name="view" class="view" placeholder="view" value="user/allaccounting">
 <input type="hidden" id="itemid1"name="itemid" class="itemid" placeholder="itemid" value=""><br>
 <button type="button" class="btn btn-success" data-dismiss="modal">No</button>
 		  	         <button type="submit" name="btn_delete" value="deletebyid" class="btn btn-danger"> Delete  </button>

	<?php echo form_close();?>
      </div>
    </div>

  </div>

  </div>		
  
  
  
  
  
  
  
	
						<div id="uploadchatsModel" class="modal fade" role="dialog">
  <div class="modal-dialog">

    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">Please Upload Correct Charts of Account</h4>
		
      </div>
      <div class="modal-body">
        <a href="<?php echo base_url();?>downloads/charts.xlsx" class="btn btn-info">Download   Chats template </a>	 

	  	

				<?PHP
//$session_data = $this->session->userdata('logged_in');



				echo $this->session->flashdata('msg'); 
		
                 echo form_open('user/uploadcharts' , array('class' => 'form-horizontal form-groups-bordered validate', 'enctype' => 'multipart/form-data'));
				 if(validation_errors()):?>
<div class='alert alert-danger text-center'><?php echo validation_errors(); ?></div>
<?php endif;?>
<input type="hidden" name="type" value="product"id="type" class="form-control" required placeholder="Enter type">
				<input type="hidden" name="view" value="user/allaccounting"id="view" class="form-control" required placeholder="Enter view">
	
	  <div class="form-group">
    <label for="inputfromdate" class="col-sm-2 control-label">  Date Created</label>
    <div class="col-sm-10">
	
		  		<input type="text" name="fromdate" value="<?php echo set_value('fromdate',$new_date); ?>" class="form-control" required placeholder="Enter start date">
		 
				
		<span class="text-danger"> <?php echo form_error('fromdate'); ?>
		
		</span>
	</div>
  </div>
  
	
	
  
  
  
  
  
  
  
	<div class="form-group">
    <label for="inputsurname" class="col-sm-2 control-label">	CSV LIST</label>
    <div class="col-sm-10">
		
			<input type="file" name="file" width="400"  value="<?php echo set_value('file') ;?>" placeholder="Select EXCELL" class="form-control" required placeholder="Enter Surname"  >

		  		
				
		<span class="text-danger"> Upload correct format of Excel File  here..<?php echo form_error('file'); ?>
		
		</span>
	</div>
  </div>	
  
	

	
	 <div class="form-group">

    <div class="col-sm-offset-2 col-sm-10">
     
	         <button type="submit"  value="charts" name="btn_uploadcharts" class="btn btn-default">Upload Chats of Account  </button>

    </div>
  </div>
  					<?php echo form_close();?>
			</div>							   
				
									
							
								
			<div class="modal-footer">

    

				</div>

		</div>
	    </div>
    </div>
	
	
	
	
	
	
  
  
  
  
  
  
  
  
  
  
  
  
	<div id="addModal" class="modal fade" role="dialog">
  <div class="modal-dialog">

    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">Add new GL Account  </h4>
      </div>
      <div class="modal-body">
      
	  	

				<?PHP
//$session_data = $this->session->userdata('logged_in');

	 $mylastrecord=0;
		
			$lastrecord = $this->usermodel->last_glaccount($companyid);
			if($lastrecord !=false){
				 $mylastrecord=(float)$lastrecord[0]["number"]+1;
			}else{
				
				 $mylastrecord=(float)$mylastrecord+1;
			}
				
				

		
                 echo form_open('user/addglaccount' , array('class' => 'form-horizontal form-groups-bordered validate', 'enctype' => 'multipart/form-data'));
				 if(validation_errors()):?>
<div class='alert alert-danger text-center'><?php echo validation_errors(); ?></div>
<?php endif;?>
		<input type="hidden" name="accountingid" value="" class="form-control" required placeholder="Enter mycategoryid">
			<input type="hidden" name="action" value="insert" class="form-control" required placeholder="Enter mycategoryid">
			
						<input type="hidden" name="accountstatus" value="active" class="form-control" required placeholder="Enter accountstatus">

			
			
			
			
			
			
			
			
			

 				<div class="form-group">
    <label for="inputnumber" class="col-sm-3 control-label">Gl Code: </label>
    <div class="col-sm-9">
	
		  		<input type="text" name="number" value="<?php echo set_value('number',$mylastrecord); ?>" class="form-control" required placeholder="Enter  account number ">
		 
				
		<span class="text-danger"> <?php echo form_error('number'); ?>
		
		</span>
	</div>
  </div>
		    <div class="form-group">
    <label for="inputaccountname" class="col-sm-3 control-label"> Account Name:   </label>
    <div class="col-sm-9">
		
				<input type="text" name="accountname" value="<?php echo set_value('accountname') ;?>" id="dob" class="form-control" required  placeholder="Please provide your Account name ">

				
		</span>
	</div>
  </div>
	      <div class="form-group">
    <label for="inputaccounttype" class="col-sm-3 control-label"> Account Group type?</label>
    <div class="col-sm-9">
	<select class="form-control" name="accounttype" required>
	
	<option value=""  selected="selected">---Select Sub Group type---</option>

	<?php 
	
					 
										$Account= $this->usermodel->populateall('glgroups','companyid',$companyid);


	
if(is_array($Account)) {

   foreach($Account as $Accountrow){

   //echo $courserow->coursename;
    ?>
					<option value="<?=  $Accountrow->id;   ?>"><?=  $Accountrow->accountname; ?></option>



	<?php

}} else {
    echo 'No Account type available.';
}
	
?>
</select>
		
						<span class="text-danger"><?php echo form_error('accounttype'); ?>

	</div>
  </div>
  
	 
	 
		
		
		
		
		
		
		
		
		
		

	

		
  
  	

	      <div class="form-group">
    <label for="inputbankname" class="col-sm-3 control-label">Sub Account name?</label>
    <div class="col-sm-9">
	<select class="form-control" name="bankname"  >
	
	<option value=""  selected="selected">---Select Sub Account name---</option>
		<option value=""  >---No sub account---</option>

	<?php 
	
					 
										$banking= $this->usermodel->populateall('glaccounts','companyid',$companyid);


	
if(is_array($banking)) {

   foreach($banking as $bankingrow){

   //echo $courserow->coursename;
    ?>
					<option value="<?=  $bankingrow->id;   ?>"><?=  $bankingrow->accountname ."(Acc type:". $bankingrow->accounttype .")"; ?></option>



	<?php

}} else {
    echo 'No bank available.';
}
	
?>
</select>
		
						<span class="text-danger"><?php echo form_error('bankname'); ?>

	</div>
  </div>
  
	 
	 
    <div class="form-group">
    <label for="inputopeningdate" class="col-sm-3 control-label">Opening Date </label>

				<div class="col-sm-3">
					<div class="form-group">

                     		  		<input type="date" name="openingdate" value="<?php echo set_value('fromdate',date("Y-m-d", strtotime($mydate))); ?>" class="form-control" required placeholder="Enter start date">

					</div>
				</div>
				<div class="col-sm-3">
					<div class="form-group">
					

							  		<input type="time"  name="paiddatefrotime" value="<?php echo set_value('frotime',date("H:s:i")); ?>" class="form-control" required placeholder="Enter start time">

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

  
  

  
	
 		
					
			
		    <div class="form-group">
    <label for="inputamount" class="col-sm-3 control-label"> Opening Balance:   </label>
    <div class="col-sm-9">
		
				<input type="text" name="amount" value="0" id="amount" class="form-control" required  placeholder="Please provide default Account payable ">

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

  
    	<div class="form-group">
    <label for="inputsavebalance" class="col-sm-3 control-label">Save Opening Balance? </label>
    <div class="col-sm-9">
		<select  class="form-control" name="savebalance" required>
								<option value="" >Select Option</option>
								<option value="yes">Save Opening Balance to GL</option>
								<option value="no" selected >Don't Save Opening Balance To GL</option>

	
</select>
	
	
		<span class="text-danger"> 	<?php echo form_error('savebalance'); ?>
		
		</span>
	</div>
  </div>	
  

  
    	<div class="form-group">
    <label for="inputcurrency" class="col-sm-3 control-label">Currency </label>
    <div class="col-sm-9">
		<select  class="form-control" name="currency">
								<option value="">Select Currency</option>

	<?php 
	
					 
										$currency= $this->usermodel->populateall('currency','companyid',$companyid);


	
if(is_array($currency)) {

   foreach($currency as $currencyrow){

   //echo $courserow->coursename;
    ?>
					<option value="<?=  $currencyrow->id;   ?>"><?=  $currencyrow->name; ?></option>



	<?php

}} else {
    echo 'No currency  available.';
}
	
?>
</select>
	
		
			

			
		  		
				
		<span class="text-danger"> 	<?php echo form_error('currency'); ?>
		
		</span>
	</div>
  </div>	
  
  
  


  
  
  	
		
  
  
	 <div class="form-group">

    <div class="col-sm-offset-2 col-sm-10">
     
	         <button type="submit"  name="btn_postgLaccount"  value="account"  class="btn btn-primary"> Add GL Account  </button>

    </div>
  </div>
	
  					<?php echo form_close();?>
			</div>							   
				
									
							
								
			<div class="modal-footer">

    

				</div>

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

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

 
</div>


















