projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replacing the PDF Engine with a slightly modified TCPDF
[fa-stable.git]
/
admin
/
view_print_transaction.php
diff --git
a/admin/view_print_transaction.php
b/admin/view_print_transaction.php
index 70c5ca51620b9cd048d7fde52173c6c9b7368938..da479c6ba01006fb8a7139735602193f5107ac27 100644
(file)
--- a/
admin/view_print_transaction.php
+++ b/
admin/view_print_transaction.php
@@
-36,7
+36,7
@@
function viewing_controls()
ref_cells(_("to #:"), 'ToTransNo');
ref_cells(_("to #:"), 'ToTransNo');
- submit_cells('ProcessSearch', _("Search"));
+ submit_cells('ProcessSearch', _("Search")
, '', '', true
);
end_row();
end_table(1);
end_row();
end_table(1);
@@
-59,7
+59,7
@@
function check_valid_entries()
echo _("The ending transaction number is expected to be numeric and greater than zero.");
return false;
}
echo _("The ending transaction number is expected to be numeric and greater than zero.");
return false;
}
- if ($_POST['filterType'] == "")
+ if (
!isset($_POST['filterType']) ||
$_POST['filterType'] == "")
return false;
return true;
return false;
return true;
@@
-121,6
+121,7
@@
function handle_search()
else
$th = array(_("#"), _("View"), _("GL"));
}
else
$th = array(_("#"), _("View"), _("GL"));
}
+ div_start('transactions');
start_table($table_style);
table_header($th);
$k = 0;
start_table($table_style);
table_header($th);
$k = 0;
@@
-142,6
+143,7
@@
function handle_search()
}
end_table();
}
end_table();
+ div_end();
}
}
}
}
@@
-151,6
+153,7
@@
if (isset($_POST['ProcessSearch']))
{
if (!check_valid_entries())
unset($_POST['ProcessSearch']);
{
if (!check_valid_entries())
unset($_POST['ProcessSearch']);
+ $Ajax->activate('transactions');
}
//----------------------------------------------------------------------------------------
}
//----------------------------------------------------------------------------------------