X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fview_print_transaction.php;h=da479c6ba01006fb8a7139735602193f5107ac27;hb=ac4ae9a8e2329bb8d56c06759246d02067e2fe09;hp=70c5ca51620b9cd048d7fde52173c6c9b7368938;hpb=4dd850870279bb6846695c39194c3d4b0b5c1345;p=fa-stable.git diff --git a/admin/view_print_transaction.php b/admin/view_print_transaction.php index 70c5ca51..da479c6b 100644 --- a/admin/view_print_transaction.php +++ b/admin/view_print_transaction.php @@ -36,7 +36,7 @@ function viewing_controls() ref_cells(_("to #:"), 'ToTransNo'); - submit_cells('ProcessSearch', _("Search")); + submit_cells('ProcessSearch', _("Search"), '', '', true); 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; } - if ($_POST['filterType'] == "") + if (!isset($_POST['filterType']) || $_POST['filterType'] == "") return false; return true; @@ -121,6 +121,7 @@ function handle_search() else $th = array(_("#"), _("View"), _("GL")); } + div_start('transactions'); start_table($table_style); table_header($th); $k = 0; @@ -142,6 +143,7 @@ function handle_search() } end_table(); + div_end(); } } @@ -151,6 +153,7 @@ if (isset($_POST['ProcessSearch'])) { if (!check_valid_entries()) unset($_POST['ProcessSearch']); + $Ajax->activate('transactions'); } //----------------------------------------------------------------------------------------