From: Joe Hunt Date: Sat, 26 Jun 2010 16:28:33 +0000 (+0000) Subject: Improvements to Sales Groups. Presenting the Id too. X-Git-Tag: v2.4.2~19^2~823 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=194b41d122867b06b89721b4086d747ce8747d86;p=fa-stable.git Improvements to Sales Groups. Presenting the Id too. --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index ea6d3da9..231e7aec 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -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 diff --git a/sales/manage/sales_groups.php b/sales/manage/sales_groups.php index 0005aed5..a67dc49a 100644 --- a/sales/manage/sales_groups.php +++ b/sales/manage/sales_groups.php @@ -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);