X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gl%2Fbank_transfer.php;h=5ed84c08e4528c12537c456bc4a9fa94d9ab17ec;hb=9b7ac7414c4ec6b3284adb22876cd5142ac78fa3;hp=2256a4a041aa93dee001f71e4c6372ccfc3db7af;hpb=d2cc0860eccf02eaefcd90731ac3af141a841529;p=fa-stable.git
diff --git a/gl/bank_transfer.php b/gl/bank_transfer.php
index 2256a4a0..5ed84c08 100644
--- a/gl/bank_transfer.php
+++ b/gl/bank_transfer.php
@@ -42,7 +42,7 @@ if (isset($_GET['AddedID']))
hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter &Another Transfer"));
- safeExit();
+ display_footer_exit();
}
if (isset($_POST['_DatePaid_changed'])) {
@@ -53,13 +53,13 @@ if (isset($_POST['_DatePaid_changed'])) {
function gl_payment_controls()
{
- global $table_style2, $Refs;
+ global $Refs;
$home_currency = get_company_currency();
start_form();
- start_outer_table($table_style2, 5);
+ start_outer_table(TABLESTYLE2);
table_section(1);
@@ -170,21 +170,11 @@ function handle_add_deposit()
//----------------------------------------------------------------------------------------
-function safeExit()
-{
- echo "
";
- end_page();
- exit;
-}
-
-//----------------------------------------------------------------------------------------
-
if (isset($_POST['AddPayment']))
{
if (check_valid_entries() == true)
{
handle_add_deposit();
- safeExit();
}
}