[Frontaccounting-cvs_updates] frontaccount/includes/ui ui_lists.inc, 1.7.2.78, 1.7.2.79
Brought to you by:
frontaccounting,
itronics
From: itronics <itr...@us...> - 2009-08-31 13:47:24
|
Update of /cvsroot/frontaccounting/frontaccount/includes/ui In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv21446/includes/ui Modified Files: Tag: unstable ui_lists.inc Log Message: Added security_roles list, changed gl acount list order to class id Index: ui_lists.inc =================================================================== RCS file: /cvsroot/frontaccounting/frontaccount/includes/ui/ui_lists.inc,v retrieving revision 1.7.2.78 retrieving revision 1.7.2.79 diff -C2 -d -r1.7.2.78 -r1.7.2.79 *** ui_lists.inc 25 Aug 2009 09:20:37 -0000 1.7.2.78 --- ui_lists.inc 31 Aug 2009 13:47:15 -0000 1.7.2.79 *************** *** 1532,1536 **** { if ($skip_bank_accounts) ! $sql = "SELECT chart.account_code, chart.account_name, type.name, chart.inactive FROM (".TB_PREF."chart_master chart,".TB_PREF."chart_types type) " ."LEFT JOIN ".TB_PREF."bank_accounts acc " --- 1532,1536 ---- { if ($skip_bank_accounts) ! $sql = "SELECT chart.account_code, chart.account_name, type.name, chart.inactive, type.id FROM (".TB_PREF."chart_master chart,".TB_PREF."chart_types type) " ."LEFT JOIN ".TB_PREF."bank_accounts acc " *************** *** 1539,1543 **** AND chart.account_type=type.id"; else ! $sql = "SELECT chart.account_code, chart.account_name, type.name, chart.inactive FROM ".TB_PREF."chart_master chart,".TB_PREF."chart_types type WHERE chart.account_type=type.id"; --- 1539,1543 ---- AND chart.account_type=type.id"; else ! $sql = "SELECT chart.account_code, chart.account_name, type.name, chart.inactive, type.id FROM ".TB_PREF."chart_master chart,".TB_PREF."chart_types type WHERE chart.account_type=type.id"; *************** *** 1548,1552 **** 'spec_option' => $all_option===true ? _("Use Item Sales Accounts") : $all_option, 'spec_id' => '', ! 'order' => array('name','account_code'), 'search_box' => $cells, 'search_submit' => false, --- 1548,1552 ---- 'spec_option' => $all_option===true ? _("Use Item Sales Accounts") : $all_option, 'spec_id' => '', ! 'order' => array('type.id','account_code'), 'search_box' => $cells, 'search_submit' => false, *************** *** 1809,1821 **** } - function security_headings_list_row($label, $name, $value=null) - { - global $security_headings; - - echo "<tr><td>$label</td>\n<td>"; - array_selector( $name, $value, $security_headings ); - echo "</td></tr>\n"; - } - function systypes_list_cells($label, $name, $value=null, $submit_on_change=false) { --- 1809,1812 ---- |