projects
/
textcart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ba3ce7
)
0001285: Restrict the voiding transaction of closed fiscal year
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 16 Jan 2012 23:59:34 +0000
(
00:59
+0100)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 16 Jan 2012 23:59:34 +0000
(
00:59
+0100)
admin/void_transaction.php
patch
|
blob
|
history
diff --git
a/admin/void_transaction.php
b/admin/void_transaction.php
index 841ff08e4e0eb48c95c841c5756e196aad2d7a46..d3639d16a161c043045df174f1549b1f1481ddb0 100644
(file)
--- a/
admin/void_transaction.php
+++ b/
admin/void_transaction.php
@@
-121,6
+121,8
@@
function select_link($row)
{
if (!isset($row['type']))
$row['type'] = $_POST['filterType'];
+ if (!is_date_in_fiscalyear($row['trans_date'], true))
+ return "";
return button('Edit'.$row["trans_no"], _("Select"), _("Select"), ICON_EDIT);
}