Old ineffective sql_trail superseded by new improved db_trail logging only calls...
[fa-stable.git] / gl / gl_bank.php
index b11111530a0129d852f60ddf27f84096382c36fd..2ff551c708d8984b8ccb5f70231323f121498ceb 100644 (file)
@@ -342,8 +342,6 @@ function check_item_data()
        return true;
 }
 
-//-----------------------------------------------------------------------------------------------
-
 function handle_update_item()
 {
        $amount = ($_SESSION['pay_items']->trans_type==ST_BANKPAYMENT ? 1:-1) * input_num('amount');
@@ -355,16 +353,12 @@ function handle_update_item()
        line_start_focus();
 }
 
-//-----------------------------------------------------------------------------------------------
-
 function handle_delete_item($id)
 {
        $_SESSION['pay_items']->remove_gl_item($id);
        line_start_focus();
 }
 
-//-----------------------------------------------------------------------------------------------
-
 function handle_new_item()
 {
        if (!check_item_data())
@@ -375,7 +369,9 @@ function handle_new_item()
                $_POST['dimension2_id'], $amount, $_POST['LineMemo']);
        line_start_focus();
 }
+
 //-----------------------------------------------------------------------------------------------
+
 $id = find_submit('Delete');
 if ($id != -1)
        handle_delete_item($id);
@@ -418,7 +414,5 @@ submit_center_last('Process', $_SESSION['pay_items']->trans_type==ST_BANKPAYMENT
 
 end_form();
 
-//------------------------------------------------------------------------------------------------
-
 end_page();