<?php

$query="SELECT id,name FROM ".$prefix."fund ORDER BY id ASC";

$fundType=mysqli_query($linkid,$query);



$query="SELECT id,name FROM ".$prefix."employee ORDER BY id ASC";

$empType=mysqli_query($linkid,$query);

?>

<script type="text/javascript" language="javascript">

function getDateRange(){

		 if (document.form_validation_reg.daterange.checked)

			{

			   d_protection = $('#daterange').val();

			   //alert(d_protection);

			   if(d_protection==1){

				$("#startdateval").show();

				$("#enddateval").show();

				return false;

				}

			}

			

		else 

			{

				

				$("#startdateval").hide();

				$("#enddateval").hide();

				return false;

			}	

}

</script>

<div id="contentwrapper">

  <div class="main_content">

    <nav>

      <div id="jCrumbs" class="breadCrumb module">

        <ul>

          <li> <a href="#"><i class="icon-home"></i></a> </li>

          <li> <a href="#">Reports</a> </li>

          <li> <a href="index.php?tab=Production-report">Production Reports</a> </li>

        </ul>

      </div>

    </nav>

    <div class="row-fluid">

      <div class="span12">

        <h3 class="heading">Production Report</h3>

        <form class="form_validation_reg" id="form_validation_reg" name="form_validation_reg" action="production-report.php" method="post" target="_blank">

          <div class="formSep">

            <div class="row-fluid">

              <div class="span2">

			  <label>&nbsp;</label>

					<label class="checkbox">

						<input type="checkbox" name="daterange" id="daterange" value="1" onclick="getDateRange()"/>With Date						

					</label>											

				</div>

				 <div class="span2" style="display:none" id="startdateval">

                <label>Start Date <span class="f_req">*</span></label>

                <input type="text" name="startdateacc" id="startdateacc" class="span12" />

              </div>

              <div class="span2" style="display:none" id="enddateval">

                <label>End Date <span class="f_req">*</span></label>

                <input type="text" name="enddateacc" id="enddateacc" class="span12" />

              </div>

			  <div class="span2">

                <label>Production Type</label>

                <SELECT class="input_text" name="type" id="type">

                  <OPTION SELECTED VALUE="">Please select</OPTION>
				  <OPTION VALUE="All">All</OPTION>
				  <OPTION VALUE="1">Print</OPTION>
				  <OPTION VALUE="2">Embroidery</OPTION>
                </SELECT>

              </div>

			  

             

            </div>

          </div>

          <div class="form-actions">

            <input class="btn btn-inverse" name="submit" type="submit" value="Search"/>

          </div>

        </form>

      </div>

    </div>

  </div>

</div>

