<!-- modal hiring add action type -->
<div class="modal" id="hiring-add" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Add New Action Type</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <form action="<?php echo base_url('hr/StaffProfile/createaActionType'); ?>" method="post">
	      <div class="modal-body">   
	        <div class="row">
	        	<div class="col">
	        		<label class="text-danger"><b>fontawesome icon</b></label>
	        		<div class="input-group">
	        		  <input type="text" class="form-control iconpicker" name="icon" value="far fa-hand-pointer">
	        		</div>
	        	</div>
	        	<div class="col">
	        		<label class="text-danger"><b>color picker</b></label>
	        		
	        		<div class="input-group colorpicker-component cp">
	        		 	 <input type="text" value="#00AABB" class="form-control" name="color"/>
	        		  <div class="input-group-append">
	        		    <span class="input-group-text input-group-addon" style="background-color:#00AABB;"><i class="far fa-hand-pointer"></i></span>
	        		  </div>
	        		</div>
	        		
	        		
	        	</div>
	        </div>
	        

	      	<div class="row">
	      		<div class="col">
	      			<label class="text-danger"><b>Type</b></label>
	      			<input type="text" class="form-control" name="type">
	      		</div>
	      	</div>

	      	<input type="hidden" class="form-control" value="<?php echo current_url(); ?>" name="redirect">

	      </div>
	      <div class="modal-footer">
	        <div class="btn-group">
	        	<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
	        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
	        </div>
	      </div>
    </form>

    </div>
  </div>
</div>
<!-- modal hiring add -->

<!-- modal hiring-reason -->
<div class="modal" id="hiring-reason" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Add Hiring Reason</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <form action="<?php echo base_url('hr/StaffProfile/createHiringReason'); ?>" method="post">
	      <div class="modal-body">
	      	<div class="row">
	      		<div class="col">
	      			<label><b>Reason</b></label>
	      			<input type="text" class="form-control" name="type">
	      		</div>
	      	</div>
	      	<input type="hidden" class="form-control" value="<?php echo current_url();  ?>" name="redirect">
	      </div>
	      <div class="modal-footer">
	       	<div class="btn-group">
	        	<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
	        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
	        </div>
	      </div>
      </form>

    </div>
  </div>
</div>
<!-- modal hiring-reason -->

<!-- modal hiring-position-->
<div class="modal" id="hiring-designation" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Add New Position</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <form action="<?php echo base_url('hr/StaffProfile/createPosition'); ?>" method="post">
	      	<div class="row">
	      		<div class="col">
	      			<label><b>Level</b></label>
	      			<select class="form-control" name="level">
	      				<?php if(!empty($parentPositions)) foreach ($parentPositions as $key => $parent): ?>
	      					<option value="<?php echo $parent->id; ?>"><?php echo $parent->position; ?></option>
	      				<?php endforeach ?>
	      			</select>
	      		</div>
	      	</div>
	      	<div class="row">
	      		<div class="col">
	      			<label><b>Grade</b></label>
	      			<select class="form-control" name="grade">
	      				<?php 
	      					for ($i=0; $i < 24; $i) { 
	      						echo '<option>'.++$i.'</option>';
	      					}
	      				?>
	      			</select>
	      		</div>
	      		<div class="col">
	      			<label><b>Indicator</b></label>
	      			<input type="text" class="form-control" name="indicator">
	      		</div>
	      	</div>
	      	<div class="row">
	      		<div class="col">
	      			<label><b>Position</b></label>
	      			<input type="text" class="form-control" name="position">
	      		</div>
	      	</div>
	      	<input type="hidden" class="form-control" value="<?php echo current_url(); ?>" name="redirect">
	      </div>
	      <div class="modal-footer">
	        <div class="btn-group">
	        	<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
	        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
	        </div>
	      </div>
      </form>
    </div>
  </div>
</div>
<!-- modal hiring-position-->

<!-- modal designation / position information-->
<div class="modal" id="pos_info-designation" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Add New Designation</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>

      <form action="<?php echo base_url('/hr/StaffProfile/createDesignation'); ?>" method="post">
	      <div class="modal-body"> 
	        <div class="row">
	        	<div class="col">
	        		<label><b>Position</b></label>
	        		<select class="form-control" name="position">
	        			<?php if($jobPositions) foreach ($jobPositions as $key => $position): ?>
	        				<option value="<?php echo $position->id; ?>"><?php echo $position->grade; ?> - <?php echo $position->position ?></option>
	        			<?php endforeach ?>
	        		</select>
	        	</div>
	        </div>

	        <div class="row">
	        	<div class="col">
	        		<label><b>Designation</b></label>
	        		<input type="text" class="form-control" name="designation">
	        	</div>
	        </div>

	        <input type="hidden" value="<?php echo current_url(); ?>" name="redirect">
	      </div>
	      <div class="modal-footer">
	        	<div class="btn-group">
		        	<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
		        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
		        </div>
	      </div>
      </form>


    </div>
  </div>
</div>
<!-- modal designation / position information-->

<!-- modal newBranch-->
<div class="modal" id="newBranch">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Add New Branch</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <form action="<?php echo base_url('hr/StaffProfile/createBranch'); ?>" method="post">
	      <div class="modal-body">

	      		<div class="row">
	      			<div class="col">
	      				<label><b>Company</b></label>
	      				<select class="form-control" name="company">
	      					<?php if($companies) foreach ($companies as $key => $company): ?>
	      						<option value="<?php echo $company['id']; ?>"><?php echo $company['name']; ?></option>
	      					<?php endforeach ?>
	      				</select>
	      			</div>
	      		</div>
	        	<div class="row">
	        		<div class="col">
	        			<label><b>Branch Name</b></label>
	        			<input type="text" class="form-control" name="branch">
	        		</div>
	        		<div class="col">
	        			<label><b>Branch Email</b></label>
	        			<input type="text" class="form-control" name="email">
	        		</div>
	        	</div>

	        	<div class="row">
	        		<div class="col">
	        			<label><b>Address</b></label>
	        			<input type="text" class="form-control" name="address">
	        		</div>
	        	</div>

	        	<div class="row">
	        		<div class="col">
	        			<label><b>Postcode</b></label>
	        			<input type="text" class="form-control" name="postcode">
	        		</div>
	        		<div class="col">
	        			<label><b>City</b></label>
	        			<input type="text" class="form-control" name="city">
	        		</div>
	        	</div>

	        	<div class="row">
	        		<div class="col">
	        			<label><b>State</b></label>
	        			<select class="form-control select" name="state">
	        				<?php if($states) foreach ($states as $key => $state): ?>
                            	<option value="<?php echo $state->id; ?>"><?php echo $state->state; ?></option>
                            <?php endforeach ?>
	        			</select>
	        		</div>
	        		<div class="col">
	        			<label><b>Country</b></label>
	        			<select class="form-control select" name="country">
	        				<?php foreach ($countries as $key => $country): ?>
								<option value="<?php echo $country->id; ?>"><?php echo $country->country; ?></option>
							<?php endforeach ?>
	        			</select>
	        		</div>
	        	</div>

	        	<div class="row">
	        		<div class="col">
	        			<label>
	        				<b>Latitude</b>
	        			</label>
	        			<input type="text" class="form-control" name="latitude">
	        		</div>
	        		<div class="col">
	        			<label>
	        				<b>Longitude</b>
	        			</label>
	        			<input type="text" class="form-control" name="longitude">
	        		</div>
	        	</div>

	        	<div class="row">
	        		<div class="col">
	        			<label><b>Phone</b></label>
	        			<input class="form-control" type="text" name="phone">
	        		</div>
	        		<div class="col">
	        			<label><b>Fax</b></label>
	        			<input type="text" class="form-control" name="fax">
	        		</div>
	        	</div>

	        	<input type="hidden" class="form-control" value="<?php echo current_url(); ?>" name="redirect">
	      </div>
	      <div class="modal-footer">
	        <div class="btn-group">
	        	<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
	        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
	        </div>
	      </div>
      </form>
    </div>
  </div>
</div>
<!-- modal newBranch-->

<!-- modal new division -->
<div class="modal" id="newDivision" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Add New Division</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      	<form action="<?php echo base_url('hr/StaffProfile/createDivision'); ?>" method="post">
	      <div class="modal-body">
	      	<div class="row">
	      		<div class="col">
	        		<label><b>Department</b></label>
	        		<select class="form-control" name="department_id">
	        			<option disabled selected>Please Select Department</option>
	        			<?php foreach ($departments as $key => $dept): ?>
							<option value="<?php echo $dept['id'];?>"><?php echo $dept['name'].' - '.$dept['branch_name']; ?></option>
						<?php endforeach ?>
	        		</select>
	        	</div>
	      		<div class="col">
	      			<label><b>Division Code</b></label>
	      			<input type="text" class="form-control" name="code">
	      		</div>
	      	</div>
	      	<div class="row">
	      		<div class="col">
	      			<label><b>Division Name</b></label>
	      			<input type="text" class="form-control" name="division">
	      		</div>
	      	</div>
	      	<input type="hidden" class="form-control" value="<?php echo current_url(); ?>" name="redirect">
	      </div>
	      <div class="modal-footer">
	        <div class="btn-group">
	        	<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
	        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
	        </div>
	      </div>
  		</form>
    </div>
  </div>
</div>
<!-- modal new division -->

<!-- modal new department-->
<div class="modal" id="newDepartment" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Add New Department</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      	<form action="<?php echo base_url('hr/StaffProfile/createDepartment'); ?>" method="post">
	      <div class="modal-body">
	        <div class="row">

	        	<div class="col">
	        		<label><b>Branch</b></label>
	        		<select class="form-control" name="branch">
	        			<?php foreach ($branches as $key => $branch): ?>
							<option value="<?php echo $branch['id']; ?>"><?php echo $branch['name'];?></option>
						<?php endforeach ?>
	        		</select>
	        	</div>
	        </div>
	        <div class="row">
	        	<div class="col">
	        		<label><b>Department Name</b></label>
	        		<input type="text" class="form-control" name="department">
	        	</div>
	        </div>

	        <div class="row">
	        	<div class="col">
	        		<label><b>Description</b></label>
	        		<textarea class="form-control" rows="5" name="description"></textarea>
	        	</div>
	        </div>
	        <input type="hidden" class="form-control" value="<?php echo current_url(); ?>" name="redirect">
	      </div>
	      <div class="modal-footer">
	        <div class="btn-group">
	        	<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
	        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
	        </div>
	      </div>
      </form>
    </div>
  </div>
</div>
<!-- modal new department-->

<!-- modal newHiringGroup-->
<div class="modal" id="newHiringGroup" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Add Employee Group</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <form action="<?php echo base_url('hr/StaffProfile/createEmployeeGroup'); ?>" method="post">
	      <div class="modal-body">
	       	<div class="row">
	       		<div class="col">
	       			<label><b>Group Type</b></label>
	       			<input type="text" class="form-control" name="type">
	       		</div>
	       	</div>
	       	<input type="hidden" class="form-control" value="<?php echo current_url(); ?>" name="redirect">
	      </div>
	      <div class="modal-footer">
	        <div class="btn-group">
	        	<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
	        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
	        </div>
	      </div>
      </form>
    </div>
  </div>
</div>
<!-- modal newHiringGroup-->

<!-- modal contractElement-->
<div class="modal" id="newContractElement" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">

  	<form action="<?php echo base_url('hr/StaffProfile/createContractElement'); ?>" method="post">
	    <div class="modal-content">
	      <div class="modal-header">
	        <h5 class="modal-title">Add Contract Element</h5>
	        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
	          <span aria-hidden="true">&times;</span>
	        </button>
	      </div>
	      <div class="modal-body">
	       	<div class="row">
	       		<div class="col">
	       			<label><b>Contract Element</b></label>
	       			<input type="text" class="form-control" name="contract">
	       		</div>
	       	</div>
	       	<input type="hidden" class="form-control" value="<?php echo current_url(); ?>" name="redirect">
	      </div>
	      <div class="modal-footer">
	        <div class="btn-group">
	        	<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
	        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
	        </div>
	      </div>
    </form>

    </div>
  </div>
</div>
<!-- modal contractElement-->

<!-- modal addressType-->
<div class="modal" id="addressType" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Create New Address Type</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <form action="<?php echo base_url('hr/StaffProfile/createAddressType'); ?>" method="post">
	      <div class="modal-body">
	      	<div class="row">
	      		<div class="col">
	      			<label><b>Address Type</b></label>
	      			<input type="text" class="form-control" name="type">
	      		</div>
	      	</div>
	      	<input type="hidden" class="form-control" value="<?php echo current_url(); ?>" name="redirect">
	      </div>
	      <div class="modal-footer">
	        <div class="btn-group">
	        	<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
	        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
	        </div>
	      </div>
      </form>
    </div>
  </div>
</div>
<!-- modal addressType-->

<!-- modal newRelation-->
<div class="modal" id="newRelation" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Add Relation</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>

      <form action="<?php echo base_url('hr/StaffProfile/createRelation'); ?>" method="post">
	      <div class="modal-body">
	        <div class="row">
	        	<div class="col">
	        		<label><b>Relation</b></label>
	        		<input type="text" class="form-control" name="relation">
	        	</div>
	        </div>
	        <input type="hidden" class="form-control" value="<?php echo current_url(); ?>" name="redirect">
	      </div>
	      <div class="modal-footer">
	        <div class="btn-group">
	        	<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
	        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
	        </div>
	      </div>
      </form>

    </div>
  </div>
</div>
<!-- modal newRelation-->

<!-- modal newAcademicLevel-->
<div class="modal" id="newAcademicLevel" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Create Academic Level</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <form action="<?php echo base_url('hr/StaffProfile/createAcademicLevel'); ?>" method="post">
	      <div class="modal-body">
	       		<div class="row">
	       			<div class="col">
	       				<label><b>Academic</b></label>
	       				<input type="text" class="form-control" name="level">
	       			</div>
	       		</div>
	       		<input type="hidden" class="form-control" value="<?php echo current_url(); ?>" name="redirect">
	      </div>
	      <div class="modal-footer">
	        <div class="btn-group">
	        	<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
	        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
	        </div>
	      </div>
      </form>
    </div>
  </div>
</div>
<!-- modal newAcademicLevel-->

<!-- modal newContractType-->
<div class="modal" id="newContractType" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Create Contract Type</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>

      <form action="<?php echo base_url('hr/StaffProfile/createContractType'); ?>" method="post">
	      <div class="modal-body">
	  		<div class="row">
	  			<div class="col">
	  				<label><b>Contract Type</b></label>
	  				<input type="text" class="form-control" name="type">
	  			</div>
	  		</div>
	  		<input type="hidden" class="form-control" value="<?php echo current_url(); ?>" name="redirect">
	      </div>
	      <div class="modal-footer">
	        <div class="btn-group">
	        	<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
	        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
	        </div>
	      </div>
      </form>

    </div>
  </div>
</div>
<!-- modal newContractType-->

<!-- modal confirmationType-->
<div class="modal" id="confirmationType" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Create Confirmation Type</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <form action="<?php echo base_url('hr/StaffProfile/createConfirmationType'); ?>" method="post">
	      <div class="modal-body">
	        	<div class="row">
	        		<div class="col">
	        			<label><b>Confirmation Type</b></label>
	        			<input class="form-control" type="text" name="type">
	        		</div>
	        	</div>
	        	<input type="hidden" class="form-control" value="<?php echo current_url(); ?>" name="redirect">
	      </div>
	      <div class="modal-footer">
	        <div class="btn-group">
	        	<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
	        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
	        </div>
	      </div>
      </form>
    </div>
  </div>
</div>
<!-- modal confirmationType-->

<!-- modal createBank-->
<div class="modal" id="createBank" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Create Bank</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>

      	<form action="<?php echo base_url('hr/StaffProfile/createBankRef'); ?>" method="post">
	      	<div class="modal-body">
		       	<div class="row">
		       		<div class="col">
		       			<label><b>Bank Shortcode</b></label>
		       			<input type="text" class="form-control" name="shortcode">
		       		</div>
		       	</div>

		       	<div class="row">
		       		<div class="col">
		       			<label><b>Bank Name</b></label>
		       			<input type="text" class="form-control" name="bank">
		       		</div>
		       	</div>
	    	</div>
	      	<input type="hidden" class="form-control" name="redirect" value="<?php echo current_url(); ?>">
		    <div class="modal-footer">
		        <div class="btn-group">
		        	<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
		        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
		        </div>
		    </div>
	    </form>

    </div>
  </div>
</div>
<!-- modal createBank-->

<!-- modal createTitle-->
<div class="modal" id="createTitle" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Create New Titles</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <form action="<?php echo base_url('hr/StaffProfile/createTitles');?>" method="post">
	      <div class="modal-body">
	      		<div class="row">
	      			<div class="col">
	      				<label><b>New Title</b></label>
	      				<input type="text" class="form-control" name="title">
	      				<input type="hidden" class="form-control" value="<?php echo current_url(); ?>" name="redirect">
	      			</div>
	      		</div>
	      </div>
	      <div class="modal-footer">
	      	<div class="btn-group">
	      		<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
	        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
	      	</div>
	      </div>
      </form>
    </div>
  </div>
</div>
<!-- modal createTitle-->

<!-- modal createNewReligion-->
<div class="modal" id="createNewReligion" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Create New Religion</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
     	<form action="<?php echo base_url('/hr/StaffProfile/createReligion'); ?>" method="post">
	      <div class="modal-body">
	      		<div class="row">
	      			<div class="col">
	      				<label><b>Religion Name</b></label>
	      				<input type="text" class='form-control' name="name">
	      				<input type="hidden" class="form-control" name="redirect" value="<?php echo current_url(); ?>">
	      			</div>
	      		</div>
	      </div>
	      <div class="modal-footer">
	      	<div class="btn-group">
	      		<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
	        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
	      	</div>
	      </div>
      </form>
    </div>
  </div>
</div>
<!-- modal createNewReligion-->

<!-- modal createNewRaces-->
<div class="modal" id="createNewRaces" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Create New Race</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>

      <form action="<?php echo base_url('hr/StaffProfile/createRaces'); ?>" method="post">
	      <div class="modal-body">
	       	<div class="row">
	       		<div class="col">
	       			<label><b>Race</b></label>
	       			<input type="text" class="form-control" name="race">
	       			<input type="hidden" class="form-control" name="redirect" value="<?php echo current_url(); ?>">
	       		</div>
	       	</div>
	      </div>
	      <div class="modal-footer">
	      	<div class="btn-group">
	      		<button type="submit" class="btn btn-primary"><i class="far fa-save"></i></button>
	        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
	      	</div>
	      </div>
      </form>
    </div>
  </div>
</div>
<!-- modal createNewRaces-->

<!-- modal createNewWorkflow-->
<div class="modal" id="add_new_workflow" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Create New Workflow</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>

      <div class="modal-body">
       	<div class="row">
       		<div class="col">
       			<label><b>Workflow Name : </b></label>
       			<input type="text" class="form-control" id="workflowName">
       		</div>
       	</div>
      </div>
      <div class="modal-footer">
      	<div class="btn-group">
      		<button type="submit" id="btn-workflows" class="btn btn-primary"><i class="far fa-save"></i></button>
        	<button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fas fa-times"></i></button>
      	</div>
      </div>
    </div>
  </div>
</div>
<!-- modal createNewWorkflow-->