<?php require 'lock.php' ?>
<!DOCTYPE html>
<html lang="en">
<?php require 'head.php'; ?>
<body>
    <!-- Loader starts-->
    <div class="loader-wrapper">
      <div class="theme-loader">    
        <div class="loader-p"></div>
      </div>
    </div>
    <!-- Loader ends-->
    <!-- page-wrapper Start-->
    <div class="page-wrapper" id="pageWrapper">
      <?php include 'top.php'; ?>
      <!-- Page Header Ends                              -->
      <!-- Page Body Start-->
      <div class="page-body-wrapper horizontal-menu">
        <?php include 'header.php'; ?>
        <!-- Page Sidebar Ends-->
        <div class="page-body">
          <div class="container-fluid">
            <div class="page-header">
              <div class="row">
                <div class="col-sm-6">
                  <h3>Task Report</h3>
                  <ol class="breadcrumb">
                    <li class="breadcrumb-item"><a href="index">Home</a></li>
                    <li class="breadcrumb-item active">Task Report</li>
                  </ol>
                </div>
                <div class="col-sm-6">
                </div>
              </div>
            </div>
          </div>
          <!-- Container-fluid starts-->
           <div class="container-fluid">
            <div class="row">
              <div class="col-sm-12">
                <div class="card">
                  <div class="card-body">
				    <form action="report-task-view.php" method="post">
                    <div class="form theme-form">
                 
                      <div class="row">
                       <div class="col-sm-4">
                          <div class="mb-3">
                            <label>Select User <sup class="text-danger">*</sup></label>
                            <select class="form-select"  name="task_userid">
							<option value="0">--Select--</option>
							<?php
							$customerqry=mysqli_query($con,"select * from user_master where user_status='Enable' order by user_id DESC");
							while($customerdata=mysqli_fetch_assoc($customerqry))
							{
							?>
							<option value="<?php echo $customerdata['user_id']; ?>"><?php echo $customerdata['user_name']; ?></option>
							<?php
							}
							?>
							<option value="All">All</option>
                            </select>
                          </div>
                        </div>
						
                        <div class="col-sm-4">
                          <div class="mb-3">
                            <label>Priority <sup class="text-danger">*</sup></label>
                            <select class="form-select" name="task_status">
							  <option value="0">--Select--</option>
                              <option value="Pending">Pending</option>
                              <option value="In Progress">In Progress</option>
                              <option value="On Hold">On Hold</option>
                              <option value="Review">Review</option>
                              <option value="Completed">Completed</option>
                              <option value="All">All</option>
                            </select>
                          </div>
                        </div>
						
						<div class="col-sm-4">
                          <div class="mb-3">
                            <label>From</label>
                            <input class="datepicker-here form-control" type="date" name="fromdate" >
                          </div>
                        </div>
						
						<div class="col-sm-4">
                          <div class="mb-3">
                            <label>To </label>
                            <input class="datepicker-here form-control" type="date" name="enddate" >
                          </div>
                        </div>
						
                      </div>
                     
                      <div class="row">
                        <div class="col">
                          <div class="text-end">
						  <button class="btn btn-secondary me-3" name="taskadd" type="submit"> Submit </button>
                        </div>
                      </div>
                    </div>
                  </div>
				  </form>	
                </div>
              </div>
            </div>
          </div>
          <!-- Container-fluid Ends-->
        </div>
        
		<?php include 'footer.php'; ?>
  </body>
</html>