0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
ADMIN
/
[
Home
]
File: salaryvoucher_datewise_report.php
<?php $MAIN_HEADING = "Salary voucher Report Datewise"; ?> <?php include("include/adminheader.php"); require_once "salaryvoucher_report_ctrl.php"; @$_SESSION['sl_no']=0;?> </p> <p> </p> <p> </p> <span class="msgText"><?php if (isset($message)) echo $message;?></span> <form action="salaryvoucher_datewise_report_ctrl.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <table width="500" height="138" align="center"> <tr> <td><table width="378" align="center"> <tr> <td width="148" class="projectboldtxt">Employee</td> <td width="218"> <select class="form-control" name="cmbempname" id="cmbempname"> <option value="0" selected="selected"><?php echo "All"; ?></option> <?php for($j=1;$j<=$i;$j++) {?> <option value="<?php echo $j; ?>"><?php echo $emp_name_array[$j]; ?></option> <?php } ?> </select> </td> </tr> <tr><td><br/></td></tr> <tr> <td><span class="projectboldtxt">Start Date</span></td> <td><select class="form-control" name="cmbstartdd" id="cmbstartdd"> <?php for ($i=1; $i<=31; $i++) { ?> <option value="<?php echo $i; ?>"<?php if(@$JD_dd==$i) { echo "selected='selected'"; } ?> ><?php echo $i ?></option> <?php } ?> </select> <select class="form-control" name="cmbstartmm" id="cmbstartmm"> <?php for($i=1; $i<=12; $i++) { ?> <option value="<?php echo $i; ?>"<?php if(@$JD_mm==$i) { echo "selected='selected'"; } ?> ><?php echo $month[$i]; ?></option> <?php } ?> </select> <input class="form-control" name="txtstartyy" type="text" id="txtstartyy" value="<?php if (isset($JD_yy ) && $JD_yy!="") { echo $JD_yy; } ?>" size="5" /> <span class="valText"> <?php if(isset($error['start_year'])) { echo $error['year']; } else if(isset($error['start_year_numeric'])) { echo $error['start_year_numeric']; } ?> </span></td> </tr> <tr><td><br/></td></tr> <tr> <td class="projectboldtxt">End Date</td> <td><select class="form-control" name="cmbenddd" id="cmbenddd"> <?php for ($i=1; $i<=31; $i++) { ?> <option value="<?php echo $i; ?>"<?php if(@$JD_dd==$i) { echo "selected='selected'"; } ?> ><?php echo $i ?></option> <?php } ?> </select> <select class="form-control" name="cmbendmm" id="cmbendmm"> <?php for($i=1; $i<=12; $i++) { ?> <option value="<?php echo $i; ?>"<?php if(@$JD_mm==$i) { echo "selected='selected'"; } ?> ><?php echo $month[$i]; ?></option> <?php } ?> </select> <input class="form-control" name="txtendyy" type="text" id="txtendyy" value="<?php if (isset($JD_yy) && $JD_yy!="") { echo $JD_yy; } ?>" size="5" /> <span class="valText"> <?php if(isset($error['end_year'])) { echo $error['end_year']; } else if(isset($error['end_year_numeric'])) { echo $error['end_year_numeric']; } ?> </span></td> </tr> <tr><td><br/></td></tr> <tr> <td class="projectboldtxt">Number of Working day</td> <td> <input class="form-control" name="txtworkday" type="text" id="txtworkday" value="<?php if (isset($num_of_work_day) && $num_of_work_day!="") { echo $num_of_work_day; } ?>" size="5" /> <span class="valText"> <?php if(isset($error['num_workday'])) { echo $error['num_workday']; } if(isset($error['wd_numeric'])) { echo $error['wd_numeric']; } if(isset($error['wd_invalid'])) { echo $error['wd_invalid']; } ?> </span></td> </tr> <tr><td><br/></td></tr> <tr> <td class="projectboldtxt"> </td> <td> <input class="btn btn-success" type="submit" name="showbtn" id="showbtn" value="Show" /> <a href="division_report.php" class="projectboldtxt style2">Back</a></td> </tr> </table></td> </tr> </table> </form> <p> </p> <p> </p> <p> </div> <?php include "include/footer.php"; ?> </p> </body> </html>