[0005735] Problems with sending emails with encoding other than ASCII - fixed.
[fa-stable.git] / gl / view / gl_payment_view.php
index 65587407b80f2b8ed90b8db108734212407e05e7..7e14b9a7f291e67c284b9bd136c7d22167bb148a 100644 (file)
@@ -43,6 +43,9 @@ if ($from_trans['bank_curr_code'] != $from_trans['settle_curr'])
        $show_currencies = true;
 }
 
+if (!empty($SysPrefs->prefs['company_logo_on_views']))
+       company_logo_on_view();
+
 display_heading(_("GL Payment") . " #$trans_no");
 
 echo "<br>";
@@ -102,7 +105,7 @@ else
     if ($dim == 2)
         $th = array(_("Account Code"), _("Account Description"), _("Dimension")." 1", _("Dimension")." 2",
             _("Amount"), _("Memo"));
-    else if ($dim == 1)
+    elseif ($dim == 1)
         $th = array(_("Account Code"), _("Account Description"), _("Dimension"),
             _("Amount"), _("Memo"));
     else