X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fview_print_transaction.php;h=94c22416102df6f35e29af92c87de8d7991bce1c;hb=c0d93311185d0657a6ff4a3c1e00c7967738fd27;hp=8e07831474eb3f9b9cc79638039840800877867f;hpb=335234b4bfa5e4fb58e35da36322b8d0cdfe7f89;p=fa-stable.git diff --git a/admin/view_print_transaction.php b/admin/view_print_transaction.php index 8e078314..94c22416 100644 --- a/admin/view_print_transaction.php +++ b/admin/view_print_transaction.php @@ -1,13 +1,13 @@ . + See the License here . ***********************************************************************/ $path_to_root=".."; $page_security = 5; @@ -60,7 +60,7 @@ function viewing_controls() ref_cells(_("to #:"), 'ToTransNo'); - submit_cells('ProcessSearch', _("Search"), '', '', true); + submit_cells('ProcessSearch', _("Search"), '', '', 'default'); end_row(); end_table(1); @@ -82,8 +82,6 @@ function check_valid_entries() display_error(_("The ending transaction number is expected to be numeric and greater than zero.")); return false; } - if (!isset($_POST['filterType']) || $_POST['filterType'] == "") - return false; return true; } @@ -139,7 +137,7 @@ function handle_search() } $table =& new_db_pager('transactions', $sql, $cols); - if (list_updated('filterType')) { + if (list_updated('filterType') || get_post('ProcessSearch')) { $table->set_sql($sql); $table->set_columns($cols); } @@ -160,7 +158,7 @@ if (isset($_POST['ProcessSearch'])) //---------------------------------------------------------------------------------------- -start_form(false, true); +start_form(false); viewing_controls(); handle_search(); end_form(2);