Layout improvements in accruals.php
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 8 Sep 2010 13:42:38 +0000 (13:42 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 8 Sep 2010 13:42:38 +0000 (13:42 +0000)
CHANGELOG.txt
gl/accruals.php

index 342573119d49d79e65040acfd314bae7f8758256..bfb28b06f804ae5fac1b7e3affc7c7dd0902b674 100644 (file)
@@ -24,6 +24,8 @@ $ -> Affected files
 $ /purchasing/includes/db/grn_db.inc
   /purchasing/includes/db/invoice_db.inc
   /sales/includes/db/sales_delivery_db.inc
+! Layout improvements in accruals.php
+$ /gl/accruals.php
   
 ------------------------------- Release 2.3 RC1 --------------------------------
 07-Sep-2010 Janusz Dobrowolski
index 445e86574aeb43eb908c7c08806f25ba0ea1d2fd..091458c90fa28cc580ac87151e3679e9cabe4226 100644 (file)
@@ -170,7 +170,7 @@ if (isset($_POST['go']) || isset($_POST['show']))
 function frequency_list_row($label, $name, $selected=null)
 {
        echo "<tr>\n";
-       label_cell($label);
+       label_cell($label, "class='label'");
        echo "<td>\n";
        $freq = array(
                '1'=> _("Weekly"),
@@ -190,7 +190,8 @@ start_table(TABLESTYLE2);
 
 date_row(_("Date"), 'date_', _('First date of Accruals'), true, 0, 0, 0, null, true);
 start_row();
-gl_all_accounts_list_cells(_("Accrued Balance Account"), 'acc_act', null, true, false, false, true);
+label_cell(_("Accrued Balance Account"), "class='label'");
+gl_all_accounts_list_cells(null, 'acc_act', null, true, false, false, true);
 end_row();
 gl_all_accounts_list_row(_("Revenue / Cost Account"), 'res_act', null, true);