Improvements to Sales Groups. Presenting the Id too.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 26 Jun 2010 16:28:33 +0000 (16:28 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 26 Jun 2010 16:28:33 +0000 (16:28 +0000)
CHANGELOG.txt
sales/manage/sales_groups.php

index ea6d3da9afd2434b880217694558423469ee96ee..231e7aec6a01e7388d8233d81828f5b77e36f687 100644 (file)
@@ -27,6 +27,8 @@ $ config.default.php
   /includes/ui/ui_view.inc
   /reporting/rep107.php
   /reporting/rep110.php
+! Improvements to Sales Groups. Presenting the Id too.
+$ /sales/manage/sales_groups.php
 + Preparing for 2.3 Beta
 $ update.html
   
index 0005aed55f47e3c925bf2837b3c2a3295763f870..a67dc49aa8a7370741b4a73677511f5d3f38b0a2 100644 (file)
@@ -82,7 +82,7 @@ $result = get_sales_groups(check_value('show_inactive'));
 
 start_form();
 start_table(TABLESTYLE, "width=30%");
-$th = array(_("Group Name"), "", "");
+$th = array(_("ID"), _("Group Name"), "", "");
 inactive_control_column($th);
 
 table_header($th);
@@ -93,6 +93,7 @@ while ($myrow = db_fetch($result))
        
        alt_table_row_color($k);
                
+       label_cell($myrow["id"]);
        label_cell($myrow["description"]);
        inactive_control_cell($myrow["id"], $myrow["inactive"], 'groups', 'id');
        edit_button_cell("Edit".$myrow["id"], _("Edit"));
@@ -116,6 +117,7 @@ if ($selected_id != -1)
                $_POST['description']  = $myrow["description"];
        }
        hidden("selected_id", $selected_id);
+       label_row(_("ID"), $myrow["id"]);
 } 
 
 text_row_ex(_("Group Name:"), 'description', 30);