/purchasing/includes/invoice_db.inc
# Bug [0000045] Cannot close fiscal year
$ /admin/fiscalyears.php
+# Update screen bug in Bank Account Inquiry.
+ $ /gl/inquiry/bank_inquiry.php
02-Sep-2008 Joe Hunt
# Bug when selecting report, List of Journal Entries, by type. Nothing selected.
//-----------------------------------------------------------------------------------
// Ajax updates
//
-if (get_post('Show'))
+if (get_post('Show'))
{
$Ajax->activate('trans_tbl');
}
$result = db_query($sql,"The transactions for '" . $_POST['bank_account'] . "' could not be retrieved");
+div_start('trans_tbl');
$act = get_bank_account($_POST["bank_account"]);
display_heading($act['bank_account_name']." - ".$act['bank_curr_code']);
-div_start('trans_tbl');
start_table($table_style);
$th = array(_("Type"), _("#"), _("Reference"), _("Type"), _("Date"),
_("Debit"), _("Credit"), _("Balance"), _("Person/Item"), "");
-table_header($th);
+table_header($th);
$sql = "SELECT SUM(amount) FROM ".TB_PREF."bank_trans WHERE bank_act='" . $_POST['bank_account'] . "'
AND trans_date < '$date_after'";
$running_total = $bfw;
$j = 1;
$k = 0; //row colour counter
-while ($myrow = db_fetch($result))
+while ($myrow = db_fetch($result))
{
alt_table_row_color($k);
if ($j == 12)
{
$j = 1;
- table_header($th);
+ table_header($th);
}
$j++;
}