Release 2.0.5
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 24 Nov 2008 10:59:42 +0000 (10:59 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 24 Nov 2008 10:59:42 +0000 (10:59 +0000)
CHANGELOG.txt
config.php
reporting/includes/header2.inc
sales/view/view_receipt.php
update.html

index 0516a8469e371e081a8c1010fdf7dcb82ae5de80..e5cc3f3aa9b33749f99363fd80ff328caa11ad66 100644 (file)
@@ -19,6 +19,16 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+------------------------------- Release 2.0.5 --------------------------------------------
+24-Nov.2008 Joe Hunt
+! Release 2.0.5
+$ config.php
+! Changed update.html
+$ update.html
+# Small bug fixes
+$ /reporting/includes/header2.inc
+  /sales/view/view_receipt.php
+
 20-Nov-2008 Janusz Dobrowolski
 # [0000082] Bad js allocation on All/None button press.
 $ /sales/allocations/customer_allocate.php
index c21a79b9785ebdd28cfcb3454065e9f151feed10..a8c37f498c641e3b7cb91e61c9ad0a40b56d0abd 100644 (file)
@@ -38,7 +38,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
        // Main Title
        $app_title = "FrontAccounting";
        // application version
-       $version                = "2.0.4";
+       $version                = "2.0.5";
 
        // Build for development purposes
        $build_version  = date("d.m.Y", filemtime("$path_to_root/CHANGELOG.txt"));
index 84d93e1e738236ae21b34a0d4b5a49a379084c2d..ac10c40855bdc2b14161fb7ce2ef66a11ea85766 100644 (file)
                $this->Text($mcol, $doc_Due_Date . ":", $mcol2);
                if ($doctype == 9)
                        $this->Text($mcol2, sql2date($myrow['delivery_date']));
-               else if ($doctype != 8 && isset($myrow['due_date']))
+               else if ($doctype != 8 && $doctype != 11 && isset($myrow['due_date']))
                        $this->Text($mcol2, sql2date($myrow['due_date']));
                if ($branch != null)
                {
index 13797b0a671ebd4d0f5b4b3dfd108ed6af1cd548..71210945f302483806c082842ddbec572cb3fef3 100644 (file)
@@ -4,12 +4,16 @@ $page_security = 1;
 $path_to_root="../..";
 include_once($path_to_root . "/includes/session.inc");
 
-page(_("View Customer Payment"), true);
-
 include_once($path_to_root . "/includes/date_functions.inc");
 include_once($path_to_root . "/includes/ui.inc");
 include_once($path_to_root . "/sales/includes/sales_db.inc");
 
+$js = "";
+if ($use_popup_windows)
+       $js .= get_js_open_window(900, 600);
+
+page(_("View Customer Payment"), true, false, "", $js);
+
 if (isset($_GET["trans_no"]))
 {
        $trans_id = $_GET["trans_no"];
@@ -43,7 +47,7 @@ $voided = is_voided_display(systypes::cust_payment(), $trans_id, _("This custome
 
 if (!$voided)
 {
-       display_allocations_from(payment_person_types::customer(), $receipt['debtor_no'], systypes::cust_payment(), $trans_id, -$receipt['Total']);
+       display_allocations_from(payment_person_types::customer(), $receipt['debtor_no'], systypes::cust_payment(), $trans_id, $receipt['Total']);
 }
 
 end_page(true);
index 2c0702043f4f659774f407a79e3ba919a8874690..cc0bb64d2f8530852bd3e2d7e5ff045c516ce658 100644 (file)
@@ -53,7 +53,7 @@ password and choose the update script from the local harddisk.</li>
 do this, before entering FrontAccounting!
 Enter the database user and the password and choose the alter.sql
 script. &nbsp;Do the same for the alter2.sql script. If you have
-already updated release 2.0 Beta, you can just run the alter2.sql script.<br />You must also manuelly ensure that you have write permission to the new folder /company/0.</strong></li>
+already updated release 2.0 Beta, you can just run the alter2.sql script.<br />You must also manuelly ensure that you have write permission to the new folder /company/0.<br /></strong><strong>There are no database changes during a major and minor release. Like from 2.0 to 2.0.1 - 2.0.5 .</strong></li>
 </ul>
 
 <p>&nbsp;</p>