0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
USER
/
[
Home
]
File: custemaccountcashentry.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>Custem account cash 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"> <!-- .style15 { color: #660000; font-size: 18px; } .style3 {color: #990000} .style16 { color: #853008; font-weight: bold; font-size: 24px; } --> </style> </head> <body> <p> <!--<div id="headerbg"> <div id="headerblank">--> <?php require_once "custemaccountcashentry_ctrl.php"; include("include/first_userheader.php"); ?> </p> <p> </p><span class="msgText"><?php if (isset($message)) echo $message;?></span> <p align="center" class="style16">Custom account cash entry form</p> <p> </p> <form action="custemaccountcashentry.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <table width="485" height="253" align="center"> <tr> <th width="107" class="projectboldtxt" scope="row"><div align="left">Voucher no:</div></th> <td width="200"><label> <input type="text" name="txtcustemvoucher" id="txtcustemvoucher" value="<?php if ($custemvoucher!="") { echo $custemvoucher; } ?>"/> </label></td> <td width="162"><span class="valText"> <?php if(isset($error['Voucher_number'])) { echo $error['Voucher_number']; } ?> </span></td> </tr> <tr> <th class="projectboldtxt" scope="row"><div align="left">Date</div></th> <td><label> <select name="cmbcustemdd" id="cmbcustemdd"> <?php for ($p=1; $p<=31; $p++) { ?> <option value="<?php echo $p; ?>"<?php if(@$custemdate_dd==$p) { echo "selected='selected'"; } ?> ><?php echo $p ?></option> <?php } ?> </select> </label> <label> <select name="cmbcustemmm" id="cmbcustemmm"> <?php for($p=1; $p<=12; $p++) { ?> <option value="<?php echo $p; ?>"<?php if(@$custemdate_mm==$p) { echo "selected='selected'"; } ?> ><?php echo $month[$p]; ?></option> <?php } ?> </select> </label> <label> <input name="txtcustemyy" type="text" id="txtcustemyy" value="<?php if ($custemdate_yy!="") { echo $custemdate_yy; } ?>" size="2" maxlength="4" /> </label></td> <td><span class="valText"> <?php if(isset($error['date'])) { echo $error['date']; } else if(isset($error['year_numeric'])) { echo $error['year_numeric']; } ?> </span></td> </tr> <tr> <th class="projectboldtxt" scope="row"><div align="left">Group name</div></th> <td><label> <select name="cmbcustemacgroup" id="cmbcustemacgroup"> <?php for($m=1;$m<=$k;$m++) { ?> <option value="<?php echo $m; ?>"<?php if(@$accounthead==$m) { echo "selected='selected'"; } ?>> <?php echo $acc_group_array[$m];?></option> <?php } ?> </select> </label></td> <td> </td> </tr> <tr> <th class="projectboldtxt" scope="row"><div align="left">Account Name</div></th> <td><label> <select name="cmbcustemaccname" id="cmbcustemaccname"> <?php for($j=1;$j<=$i;$j++) {?> <option value="<?php echo $j; ?>"<?php if(@$accountname==$j) { echo "selected='selected'"; } ?>><?php echo $acc_name_array[$j]; ?></option> <?php } ?> </select> </label></td> <td><span class="valText"> <?php if(isset($error['account_exist'])) { echo $error['account_exist']; } ?> </span></td> </tr> <tr> <th class="projectboldtxt" scope="row"><div align="left">Payment <input name="radio" type="radio" id="radiopayment" value="radiopayment" /> </div></th> <td><label><span class="projectboldtxt">Receipt </span> <input type="radio" name="radio" id="radioreceipt" value="radioreceipt" /> </label></td> <td><span class="valText"> <?php if(isset($error['voucher_null'])) { echo $error['voucher_null']; } ?> </span></td> </tr> <tr> <th class="projectboldtxt" scope="row"><div align="left">Amount</div></th> <td><label> <input type="text" name="txtcustemamount" id="txtcustemamount" value="<?php if ($custemamount!="") { echo $custemamount; } ?>" /> </label></td> <td><span class="valText"> <?php if(isset($error['amount'])) { echo $error['amount']; } else if(isset($error['amount_numeric'])) { echo $error['amount_numeric']; } ?> </span></td> </tr> <tr> <th class="projectboldtxt" scope="row"><div align="left">Description</div></th> <td><label> <textarea name="txtcustemdescription" id="txtcustemdescription" cols="20" rows="5"><?php if($custemdescription!="") { echo $custemdescription; } ?> </textarea> </label></td> <td><span class="valText"> <?php if(isset($error['description'])) { echo $error['description']; } ?> </span></td> </tr> <tr> <th scope="row"><div align="left"></div></th> <td><label> <span class="projectboldtxt style3"> <input type="submit" name="save" id="save" value="SAVE" /> </span> </label> <label></label> <a href="search_custemaccountcashentry.php" class="none style15">Search & Edit</a></td> <td><a href="task.php" class="projectboldtxt style2">Back</a></td> </tr> </table> </form> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </div> <?php include "include/footer.php"; ?> </p> </body> </html>