0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
USER
/
[
Home
]
File: advance_settelment_entry.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Advance Settlement Entry| OFMSP</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="../style.css" rel="stylesheet" type="text/css" /> <link rel="icon" href="../images/icon.ico" /> <style type="text/css"> <!-- .style1 {font-size: 14px} .style2 {font-size: 18px} #apDiv1 { position:absolute; width:43px; height:22px; z-index:1; left: 660px; top: 629px; } .style4 {font-size: 12px} --> </style> </head> <body> <p> <!--<div id="headerbg"> <div id="headerblank">--> <?php require_once "advance_settelment_entry_ctrl.php"; include("include/first_userheader.php"); ?> </p> <p> </p> <p align="center" class="projectboldtxt style1">Advance<span class="style2"> / </span>Imprest Settelment Entry </p> <span class="msgText"> <?php if (isset($message)) echo $message; if (isset($_GET['message'])) echo $_GET['message'];?> </span> <form action="advance_settelment_entry.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <table width="556" align="center"> <tr> <td width="99" class="projectboldtxt">Entery no</td> <td width="269"><label> <select name="cmbtaken_entry_no" id="cmbtaken_entry_no"> <?php for($j=1;$j<=$i;$j++) { ?> <option value="<?php echo $j; ?>"<?php if(@$taken_entry_no==$j) { echo "selected='selected'"; } ?>> <?php echo $taken_entry_no_array[$j]; ?></option><?php } ?> </select> <input type="submit" name="showbtn" id="showbtn" value="View Details of Advance" /> </label></td> <td width="172"> </td> </tr> <tr> <td><p class="projectboldtxt"> </p> <p class="projectboldtxt"> </p> <p class="projectboldtxt"> </p></td> <td><table width="265" height="83"> <tr> <td width="128" height="20"><span class="projectboldtxt">Date </span></td> <td width="129"><span class="projectboldtxt"> : <?php if (isset($_POST['showbtn'])) { echo $taken_entry_date_db; } ?> </span></td> </tr> <tr> <td><span class="projectboldtxt">Name of Withdrawer</span></td> <td><span class="projectboldtxt"> : <?php if (isset($_POST['showbtn'])) { echo $taken_entry_name_db; } ?> </span></td> </tr> <tr> <td height="20"><span class="projectboldtxt">Type</span></td> <td><span class="projectboldtxt">: <?php if (isset($_POST['showbtn'])) { echo $taken_entry_type_db; } ?> </span></td> </tr> <tr> <td height="20"><span class="projectboldtxt">Amount</span></td> <td><span class="projectboldtxt"> : <?php if (isset($_POST['showbtn'])) { echo $taken_entry_amount_db; } ?> </span></td> </tr> </table> </td> <td> </td> </tr> <tr> <td class="projectboldtxt">Type of Item</td> <td><label> <input type="text" name="txttypeofitem" id="txttypeofitem"value="<?php if($type_of_item!="") echo $type_of_item;?>" /> </label></td> <td><span class="valText"> <?php if(isset($error['type_of_item_null'])) { echo $error['type_of_item_null']; } ?> </span></td> </tr> <tr> <td class="projectboldtxt">Vender Name</td> <td><label> <input type="text" name="txtvender_name" id="txtvender_name" value="<?php if($vender_name!="") echo $vender_name;?>"/> </label></td> <td></td> </tr> <tr> <td class="projectboldtxt">Invoice Number</td> <td><label> <input type="text" name="txtinvoice_no" id="txtinvoice_no" value="<?php if($invoice_no!="") echo $invoice_no;?>" /> </label></td> <td></td> </tr> <tr> <td class="projectboldtxt">Invoice Date</td> <td><label></label> <table width="200" border="0"> <tr> <td><select name="cmbinvoicedd" id="cmbinvoicedd"> <?php for ($i=1; $i<=31; $i++) { ?> <option value="<?php echo $i; ?>"<?php if(@$date_dd==$i) { echo "selected='selected'"; } ?> ><?php echo $i ?></option> <?php } ?> </select></td> <td><select name="cmbinvoicemm" id="cmbinvoicemm"> <?php for($i=1; $i<=12; $i++) { ?> <option value="<?php echo $i; ?>"<?php if(@$date_mm==$i) { echo "selected='selected'"; } ?> ><?php echo $month[$i]; ?></option> <?php } ?> </select></td> <td><input name="txtinvoice_yy" type="text" id="txtinvoice_yy" value="<?php if($date_yy!="") echo $date_yy;?>" size="2" maxlength="4"/></td> </tr> </table></td> <td><span class="valText"> <?php if(isset($error['invoice_date_null'])) { echo $error['invoice_date_null']; } else if(isset($error['invoicedate'])) { echo $error['invoicedate']; } ?> </span></td> </tr> <tr> <td class="projectboldtxt">Bill Amount</td> <td><label> <input type="text" name="txtbill_amount" id="txtbill_amount" value="<?php if($bill_amount!="") echo $bill_amount;?>"/> </label></td> <td><span class="valText"> <?php if(isset($error['numeric'])) { echo $error['numeric']; } else if(isset($error['bill_amount'])) { echo $error['bill_amount']; } ?> </span></td> </tr> <tr> <td class="projectboldtxt">Description</td> <td><label> <textarea name="txtdesc" id="txtdesc" cols="25" rows="5"></textarea> </label></td> <td> </td> </tr> <td><span class="projectboldtxt">Closed</span></td> <td><input name="chkclosed" type="checkbox" id="chkclosed" <?php if (isset($_POST['Update'])) { if ($closed_restore==1) { echo 'checked="checked"'; } } else { if ($closed==1) { echo 'checked="checked"'; } } ?> /></td> </tr> <tr> <td></td> <td><label> <input type="submit" name="savebtn" id="savebtn" value="Submit" /> <a href="search_advance_settlement.php" class="projectboldtxt">Search & Edit</a> <a href="task.php" class="projectboldtxt style4"><<Back</a></label></td> <td> </td> </tr> </table> </form> <p> </p> <p> </p> <p> </p> <p> </div> <?php include "include/footer.php"; ?> </p> </body> </html>