<?php
session_start();
if(!isset ($_SESSION['user_id'])){
    header("Location:../login.php?msg=Log in first");
    exit();
}else{
	include('../Server/connection.php');
	include('includes/session.php');
?>


<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <?php
	include 'title.php';
	?>
	
	<link type = "image/png" rel="icon" href="images/brvision.png" />

    <!-- Bootstrap -->
    <link href="../vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="../vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <!-- NProgress -->
    <link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
	
	 <!-- bootstrap-daterangepicker -->
    <link href="../vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
    <!-- bootstrap-datetimepicker -->
    <link href="../vendors/bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css" rel="stylesheet">
	
	<!-- bootstrap-datetimepicker -->
    <link href="../vendors/bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css" rel="stylesheet">
    
    <!-- Custom Theme Style -->
    <link href="../build/css/custom.min.css" rel="stylesheet">
	
	<!-- jQuery -->
    <script src="../vendors/jquery/dist/jquery.min.js"></script>
	
	<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.13.1/jquery.validate.min.js"></script>
    <script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.13.1/additional-methods.min.js"></script>
	
  
	
	<style>
 
  .error {
    color: #F00;
}  


</style>

<script type="text/javascript">
$(document).ready(function(){
    $('#vehicle_brand_id').on('change',function(){
        var regID = $(this).val();
        if(regID){
            $.ajax({
                type:'POST',
                url:'vajaxData.php',
                data:'vBrandId='+regID,
                success:function(html){
                    $('#vehicle_model_id').html(html);
                }
            }); 
        }else{
            $('#vehicle_model_id').html('<option value="">Select Vehicle Brand First</option>');
        }
    });

});
</script>
	
  </head>

  <body class="nav-md">
  
    <div class="container body">
	
    <?php
	//include 'header.php';
	?>
	
      <div class="main_container">
        <div class="col-md-3 left_col">
          <div class="left_col scroll-view">
		  
            <?php  
		include 'includes/role.php';
               ?>

            <div class="clearfix"></div>
            
			<?php
            include 'includes/profile.php';
			print '</br></br>';
			include 'includes/menu.php';
			?>

           

        <!-- page content -->
        <div class="right_col" role="main">
          <div class="">
		  
			
			
            <div class="clearfix"></div>

            <div class="row">
              <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                  <div class="x_title">
				  
                    <a href="dashboard.php">  <h2><span class="glyphicon glyphicon-step-backward"></span> Back</h2></a>
					
					
                    <ul class="nav navbar-right panel_toolbox">
                      <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
                      </li>
                      
                     
                    </ul>
                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content" style="overflow: auto;">
				  
				  <?php if (isset($_SESSION['success_message']) && !empty($_SESSION['success_message'])) { ?>
                        <div class="success-message" style="margin-bottom: 20px;font-size: 20px;color: green;"><?php echo $_SESSION['success_message']; ?></div>
                        <?php
                        unset($_SESSION['success_message']);
                    }
                    ?>	

                    <form action="php_action/addAsset.php"  id="id_frm" name="id_frm" method="post" enctype="multipart/form-data" class="form-horizontal form-label-left"  >

                    <span class="section">Add Asset</span>
			   
			   
					 <div class="item form-group">
                        <label for="password" class="control-label col-md-3">Asset Type</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						  <select class="form-control" name="itemType_id" id="itemType_id" autocomplete="off">
			  						<option value="">~~SELECT~~</option>
			  						<?php
			  							$productSql = "SELECT * FROM itemtypes ORDER BY name";
			  							$productData = $conn->query($productSql);
			  							while($row = $productData->fetch_array()){									 		
			  								echo "<option value='".$row['itemType_id']."'>".$row['name']."</option>";
										 	} // /while 

			  						?>
		  						</select>
								<br/>
                         <label for="itemType_id" class="error" generated="true"></label>
                         
                        </div>
                      </div>
					  
					  <div id="comments">
					  
					   <div class="item form-group">
                        <label for="password" class="control-label col-md-3">Asset Name</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<input  type="text" style="width:100%;margin-left:0%;" placeholder="Asset Name" name="asset_name" id = "asset_name" class="form-control col-md-7 col-xs-12">
						  
						
						</div>
						</div>
					  
					  
					   <div class="item form-group">
                        <label for="password" class="control-label col-md-3">Asset Serial No</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<input  type="text" style="width:100%;margin-left:0%;" placeholder="Asset Serial No" name="serial_no" id = "serial_no" class="form-control col-md-7 col-xs-12">
						  <br/>
                         <label for="serial_no" class="error" generated="true"></label>
						
						</div>
						</div>
						
						<div class="item form-group">
                        <label for="password" class="control-label col-md-3"> Asset Value in Tsh.</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						<input  type="number" style="width:100%;margin-left:0%;" placeholder="Asset Value" name="asset_value" id = "asset_value" min="1"  class="form-control col-md-7 col-xs-12">
						  <br/>
                         <label for="asset_value" class="error" generated="true"></label>
						
						
						</div>
						</div> 
					  
					  
					  <div class="item form-group">
                        <label for="password" class="control-label col-md-3"> Asset Remarks </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<textarea id="asset_remarks" rows="10" cols="50" name="asset_remarks" class="form-control" style="margin-left:0%;" autocomplete="off"> </textarea>
			            <br/>
                         <label for="asset_remarks" class="error" generated="true"></label>
                          
						</div>
                      </div>
					
					 
					  </div>
					  
					  <div id="comment" style="display:none">
					  
					   <div class="item form-group">
                        <label for="password" class="control-label col-md-3">Vehicle Plate No</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<input  type="text" style="width:100%;margin-left:0%;" placeholder="Vehicle Plate No" name="vehicle_plate_no" id = "vehicle_plate_no" class="form-control col-md-7 col-xs-12">
						  
						
						</div>
						</div>
						
						<div class="item form-group">
                        <label for="password" class="control-label col-md-3">Vehicle Chassis No</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<input  type="text" style="width:100%;margin-left:0%;" placeholder="Vehicle Chassis No" name="vehicle_chasis_no" id = "vehicle_chassis_no" class="form-control col-md-7 col-xs-12">
						  
						
						</div>
						</div>
						
						<div class="item form-group">
                        <label for="password" class="control-label col-md-3">Vehicle Type</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						  <select class="form-control" name="vehicle_type_id" id="vehicle_type_id" autocomplete="off">
			  						<option value="">~~SELECT~~</option>
			  						<?php
			  							$productSql1 = "SELECT * FROM veh_type ORDER BY vehicle_type";
			  							$productData1 = $conn->query($productSql1);
			  							while($row1 = $productData1->fetch_array()){									 		
			  								echo "<option value='".$row1['vehicle_type_id']."'>".$row1['vehicle_type']."</option>";
										 	} // /while 

			  						?>
		  						</select>
								<br/>
                         <label for="vehicle_type_id" class="error" generated="true"></label>
                         
                        </div>
                      </div>
					  
					  <div class="item form-group">
                        <label for="password" class="control-label col-md-3">Vehicle Brand</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						  <select class="form-control" name="vehicle_brand_id" id="vehicle_brand_id" autocomplete="off">
			  						<option value="">~~SELECT~~</option>
			  						<?php
			  							$productSql2 = "SELECT * FROM vehicle_brands ORDER BY vehicle_brand_name";
			  							$productData2 = $conn->query($productSql2);
			  							while($row2 = $productData2->fetch_array()){									 		
			  								echo "<option value='".$row2['vehicle_brand_id']."'>".$row2['vehicle_brand_name']."</option>";
										 	} // /while 

			  						?>
		  						</select>
								<br/>
                         <label for="vehicle_brand_id" class="error" generated="true"></label>
                         
                        </div>
                      </div>
					  
					   <div class="item form-group">
                        <label for="password" class="control-label col-md-3">Vehicle Model</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						   <select class="form-control" name="vehicle_model_id" id="vehicle_model_id">
			  						<option value="">~~SELECT~~</option>
		  						</select> 
								<br/>
                         <label for="vehicle_model_id" class="error" generated="true"></label>
                         
                        </div>
                      </div>
					  
					  <div class="item form-group">
                        <label for="password" class="control-label col-md-3">Vehicle Color</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						   <select class="form-control" name="vehicle_color_id" id="vehicle_color_id" autocomplete="off">
			  						<option value="">~~SELECT~~</option>
			  						<?php
			  							$productSql3 = "SELECT * FROM vehicle_colors ORDER BY vehicle_color_name";
			  							$productData3 = $conn->query($productSql3);
			  							while($row3 = $productData3->fetch_array()){									 		
			  								echo "<option value='".$row3['vehicle_color_id']."'>".$row3['vehicle_color_name']."</option>";
										 	} // /while 

			  						?>
		  						</select>
								<br/>
                         <label for="vehicle_color_id" class="error" generated="true"></label>
                         
                        </div>
                      </div>
					  
					  <div class="item form-group">
                        <label for="password" class="control-label col-md-3">Vehicle Fuel</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						   <select class="form-control" name="fuel_id" id="fuel_id" autocomplete="off">
			  						<option value="">~~SELECT~~</option>
			  						<?php
			  							$productSql4 = "SELECT * FROM fuel ORDER BY name";
			  							$productData4 = $conn->query($productSql4);
			  							while($row4 = $productData4->fetch_array()){									 		
			  								echo "<option value='".$row4['fuel_id']."'>".$row4['name']."</option>";
										 	} // /while 

			  						?>
		  						</select>
								<br/>
                         <label for="fuel_id" class="error" generated="true"></label>
                         
                        </div>
                      </div>
					  
					  <div class="item form-group">
                        <label for="password" class="control-label col-md-3">Vehicle Insurance No</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<input  type="text" style="width:100%;margin-left:0%;" placeholder="Vehicle Insurance No" name="vehicle_insurance_no" id = "vehicle_insurance_no" class="form-control col-md-7 col-xs-12">
						  
						
						</div>
						</div>
						
						<div class="item form-group">
                        <label for="password" class="control-label col-md-3">Vehicle Insurance Issued Date</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<input  type="text" style="width:100%;margin-left:0%;" placeholder="Insurance Issued Date" name="insurance_issued_date" id = "insurance_issued_date" class="form-control col-md-7 col-xs-12">
						  
						
						</div>
						</div>
						
						<div class="item form-group">
                        <label for="password" class="control-label col-md-3">Vehicle Insurance Expire Date</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<input  type="text" style="width:100%;margin-left:0%;" placeholder="Insurance Expire Date" name="insurance_expire_date" id = "insurance_expire_date" class="form-control col-md-7 col-xs-12">
						  
						
						</div>
						</div>
						
						<div class="item form-group">
                        <label for="password" class="control-label col-md-3">Vehicle Insurance Cost</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<input  type="number" style="width:100%;margin-left:0%;" placeholder="Vehicle Insurance Cost" name="insurance_cost" id = "insurance_cost" min="1" class="form-control col-md-7 col-xs-12">
						  
						
						</div>
						</div>
						
						 <div class="item form-group">
                        <label for="password" class="control-label col-md-3">Insurer Name</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						   <select class="form-control" name="insurer_id" id="insurer_id" autocomplete="off">
			  						<option value="">~~SELECT~~</option>
			  						<?php
			  							$productSql4s = "SELECT * FROM insurer ORDER BY insurer_name";
			  							$productData4s = $conn->query($productSql4s);
			  							while($row4s = $productData4s->fetch_array()){									 		
			  								echo "<option value='".$row4s['insurer_id']."'>".$row4s['insurer_name']."</option>";
										 	} // /while 

			  						?>
		  						</select>
								<br/>
                         <label for="insurer_id" class="error" generated="true"></label>
                         
                        </div>
                      </div>
					  
					  <div class="item form-group">
                        <label for="password" class="control-label col-md-3"> Vehicle Value in Tsh.</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						<input  type="number" style="width:100%;margin-left:0%;" placeholder="Vehicle Value" name="vehicle_value" id = "vehicle_value" min="1"  class="form-control col-md-7 col-xs-12">
						  <br/>
                         <label for="vehicle_value" class="error" generated="true"></label>
						
						
						</div>
						</div> 
					  
					  
					  <div class="item form-group">
                        <label for="password" class="control-label col-md-3"> Vehicle Remarks </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<textarea id="vehicle_remarks" rows="10" cols="50" name="vehicle_remarks" class="form-control" style="margin-left:0%;" autocomplete="off"> </textarea>
			            <br/>
                         <label for="vehicle_remarks" class="error" generated="true"></label>
                          
						</div>
                      </div>
					  
					  
					  
					   <div class="item form-group">
                        <label for="password" class="control-label col-md-3">Vehicle Owner</label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						   <select class="form-control" name="veh_owner_id" id="veh_owner_id" autocomplete="off">
			  						<option value="">~~SELECT~~</option>
			  						<?php
			  							$productSql5 = "SELECT * FROM veh_ownership ORDER BY owner_name";
			  							$productData5 = $conn->query($productSql5);
			  							while($row5 = $productData5->fetch_array()){									 		
			  								echo "<option value='".$row5['veh_owner_id']."'>".$row5['owner_name']."</option>";
										 	} // /while 

			  						?>
		  						</select>
								<br/>
                         <label for="veh_owner_id" class="error" generated="true"></label>
                         
                        </div>
                      </div>
					  
					  </div>
					  
					  <div id="comment1" style="display:none">
					  
					  <div class="item form-group">
                        <label for="password" class="control-label col-md-3">Owner First Name</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<input  type="text" style="width:100%;margin-left:0%;" placeholder="Owner First Name" name="owner_first_name" id = "owner_first_name" class="form-control col-md-7 col-xs-12">
						  <br/>
                         <label for="owner_first_name" class="error" generated="true"></label>
						
						</div>
						</div>
						
						<div class="item form-group">
                        <label for="password" class="control-label col-md-3">Owner Middle Name</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<input  type="text" style="width:100%;margin-left:0%;" placeholder="Owner Middle Name" name="owner_middle_name" id = "owner_middle_name" class="form-control col-md-7 col-xs-12">
						  <br/>
                         <label for="owner_middle_name" class="error" generated="true"></label>
						
						</div>
						</div>
						
						<div class="item form-group">
                        <label for="password" class="control-label col-md-3">Owner Last Name</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<input  type="text" style="width:100%;margin-left:0%;" placeholder="Owner Last Name" name="owner_last_name" id = "owner_last_name" class="form-control col-md-7 col-xs-12">
						  <br/>
                         <label for="owner_last_name" class="error" generated="true"></label>
						
						</div>
						</div>
						
						<div class="item form-group">
                        <label for="password" class="control-label col-md-3">Owner Phone Number</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<input  type="tel" style="width:100%;margin-left:0%;" placeholder="Owner Phone Number" name="owner_phone_number" id = "owner_phone_number" class="form-control col-md-7 col-xs-12">
						  <br/>
                         <label for="owner_phone_number" class="error" generated="true"></label>
						
						</div>
						</div>
						
						<div class="item form-group">
                        <label for="password" class="control-label col-md-3">Owner Email Address</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<input  type="email" style="width:100%;margin-left:0%;" placeholder="Owner Email Address" name="owner_email_address" id = "owner_email_address" class="form-control col-md-7 col-xs-12">
						  <br/>
                         <label for="owner_email_address" class="error" generated="true"></label>
						
						</div>
						</div>
						
						<div class="item form-group">
                        <label for="password" class="control-label col-md-3">Owner Address</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<input  type="text" style="width:100%;margin-left:0%;" placeholder="Owner Address" name="owner_address" id = "owner_address" class="form-control col-md-7 col-xs-12">
						  
						
						</div>
						</div>
						
						<div class="item form-group">
                        <label for="password" class="control-label col-md-3">Owner Contract Start</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<input  type="date" style="width:100%;margin-left:0%;" placeholder="Owner Contract Start" name="owner_cont_start" id = "owner_cont_start" class="form-control col-md-7 col-xs-12">
						  <br/>
                         <label for="owner_cont_start" class="error" generated="true"></label>
						
						</div>
						</div>
						
						<div class="item form-group">
                        <label for="password" class="control-label col-md-3">Owner Contract End</label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<input  type="date" style="width:100%;margin-left:0%;" placeholder="Owner Contract Start" name="owner_cont_end" id = "owner_cont_end" class="form-control col-md-7 col-xs-12">
						  <br/>
                         <label for="owner_cont_end" class="error" generated="true"></label>
						
						</div>
						</div>
						
						<div class="item form-group">
                        <label for="password" class="control-label col-md-3"> Upload Owner Contract </label>
					  	
                        <div class="col-md-6 col-sm-6 col-xs-12">
						
						<input  type="file" name="file[]"  id="file" class="form-control" style="width:100%;margin-left:0%;" multiple>
						 
						
						</div>
						</div>
						
				
						
						
					  
					  </div>
					 
					 
					  <div class="ln_solid"></div>
                      <div class="form-group">
                        <div class="col-md-6 col-md-offset-3">
						  <button class="btn btn-success"><span class="glyphicon glyphicon-registration-save"> </span> Submit </button>
                        </div>
                      </div>
                    </form>
					
			
					
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!-- /page content -->

		<?php
		include 'includes/footer.php';
		?>
		
        
      </div>
    </div>

<script>	
	//jquery
$(document).ready(function () {

    $('#id_frm select[name="itemType_id"]').change(function () {

        if ($('#id_frm select[name="itemType_id"] option:selected').val() == 1) {

            $('#comments').show();
             $('#comment').hide();
			 $('#comment1').hide();
        }else if($('#id_frm select[name="itemType_id"] option:selected').val() == 2){
			 $('#comments').show();
			  $('#comment').hide();
			  $('#comment1').hide();
		}else if($('#id_frm select[name="itemType_id"] option:selected').val() == 3){
			 $('#comments').show();
			  $('#comment').hide();
			  $('#comment1').hide();
		}else if($('#id_frm select[name="itemType_id"] option:selected').val() == 4){
			 $('#comments').show();
			  $('#comment').hide();
			  $('#comment1').hide();
		}else if($('#id_frm select[name="itemType_id"] option:selected').val() == 6){
			 $('#comments').show();
			 $('#comment').hide();
			 $('#comment1').hide();
		}else {

            $('#comment').show();
            $('#comments').hide();
			$('#comment1').hide();
        }

    });

    });
</script>


<script>	
	//jquery
$(document).ready(function () {

    $('#id_frm select[name="veh_owner_id"]').change(function () {

        if ($('#id_frm select[name="veh_owner_id"] option:selected').val() == 1) {

            //$('#comment').show();
             $('#comment1').hide();
        }else if($('#id_frm select[name="veh_owner_id"] option:selected').val() == 2){
			 $('#comment1').show();
			  //$('#comment').hide();
		}
		

    });

    });
</script>
	
	
	<script>
	
 $("#id_frm").validate({
        rules: {
			
			"itemType_id": {
                required: true
            },
			
			"serial_no": {
                required: true
            },
			
			"quantity": {
                required: true
            },
			
			"asset_value": {
                required: true
            },
			
			"vehicle_value": {
                required: true
            },
			
			"vehicle_brand_id": {
                required: true
            },
			
			"vehicle_model_id": {
                required: true
            },
			
			"vehicle_color_id": {
                required: true
            },
			
			"veh_owner_id": {
                required: true
            },
			
			"fuel_id": {
                required: true
            },
			
			"asset_remarks": {
                required: true
            },
			
			"owner_first_name": {
                required: true
            },
			
			"owner_middle_name": {
                required: true
            },
			
			"owner_last_name": {
                required: true
            },
			
			"owner_phone_number": {
                required: true
            },
			
			"owner_email_address": {
                required: true
            },
			
			
			"vehicle_remarks": {
                required: true
            }
		 
        },
        messages: {
			
			"itemType_id": {
                required: "Please Select Asset Type."
            },
			
			"serial_no": {
                required: "Please Enter Serial No."
            },
			
			"quantity": {
                required: "Please Enter Quantity."
            },
			
			"asset_value": {
                required: "Please Enter Value."
            },
			
			"vehicle_value": {
                required: "Please Enter Value."
            },
			
			"vehicle_brand_id": {
                required: "Please Select Vehicle Brand."
            },
			
			"vehicle_model_id": {
                required: "Please Select Vehicle Model."
            },
			
			"vehicle_color_id": {
                required: "Please Select Vehicle Color."
            },
			
			"veh_owner_id": {
                required: "Please Select Vehicle Owner."
            },
			
			"fuel_id": {
                required: "Please Select Vehicle Fuel."
            },
			
			"asset_remarks": {
                required: "Please Enter Remarks"
            },
			
			"owner_first_name": {
                required: "Please Enter Owner First Name"
            },
			
			"owner_middle_name": {
                required: "Please Enter Owner Middle Name"
            },
			
			"owner_last_name": {
                required: "Please Enter Owner Last Name"
            },
			
			"owner_phone_number": {
                required: "Please Enter Owner Phone Number"
            },
			
			"owner_email_address": {
                required: "Please Enter Owner Email Address"
            },
			
			
			"vehicle_remarks": {
                required: "Please Enter Remarks"
            }
			
			
        },
        // for demo
        //submitHandler: function(form) {
            //alert('valid form');
            //return false;
        //}
 });
</script>

<script>
	// order date picker
		$("#insurance_issued_date").datepicker();
		
		// delivery date picker
		$("#insurance_expire_date").datepicker();
		
		//$("#contStart").datepicker();
	
	</script>
    
    <!-- Bootstrap -->
    <script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script>
    <!-- FastClick -->
    <script src="../vendors/fastclick/lib/fastclick.js"></script>
    <!-- NProgress -->
    <script src="../vendors/nprogress/nprogress.js"></script>
	
    <!-- validator -->
    <!--<script src="../vendors/validator/validator.js"></script>-->
	
	<!-- bootstrap-daterangepicker -->
    <script src="../vendors/moment/min/moment.min.js"></script>
	
	<!-- bootstrap-datetimepicker -->    
    <script src="../vendors/bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js"></script>

    <!-- Custom Theme Scripts -->
    <script src="../build/js/custom.min.js"></script>
	
	
	
  </body>
</html>



<?php
}
?>