X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_lists.inc;h=43a4d685b84438a6e3f0786b96697aade6f56daf;hb=36823b0fc61d0b2bcffb5d6fbdcc8b1714e8c9c9;hp=a15d45733e4519a85b6cd179c37e280a2c043923;hpb=017f59aff3a7c74d7eb32cb93d343d5d6eb7cd20;p=fa-stable.git diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index a15d4573..43a4d685 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -1345,7 +1345,7 @@ function sales_areas_list_row($label, $name, $selected_id=null, $special_option= function sales_groups_list($name, $selected_id=null, $special_option=false) { - $sql = "SELECT id, description, inactive FROM ".TB_PREF."groups"; + $sql = "SELECT id, description, inactive FROM `".TB_PREF."groups`"; return combo_input($name, $selected_id, $sql, 'id', 'description', array( 'spec_option' => $special_option===true ? ' ' : $special_option, 'order' => 'description', 'spec_id' => 0, @@ -2145,7 +2145,8 @@ function cust_allocations_list_cells($label, $name, $selected=null, $submit_on_c '2'=> _("Unsettled transactions"), '3' => _("Payments"), '4' => _("Credit Notes"), - '5' => _("Delivery Notes") + '5' => _("Delivery Notes"), + '6' => _("Journal Entries") ); echo array_selector($name, $selected, $allocs, array('select_submit'=> $submit_on_change)); echo "\n"; @@ -2161,7 +2162,8 @@ function supp_allocations_list_cell($name, $selected=null) '2'=> _("Overdue Invoices"), '3' => _("Payments"), '4' => _("Credit Notes"), - '5' => _("Overdue Credit Notes") + '5' => _("Overdue Credit Notes"), + '6' => _("Journal Entries") ); echo array_selector($name, $selected, $allocs); echo "\n"; @@ -2178,7 +2180,8 @@ function supp_transactions_list_cell($name, $selected=null, $submit_on_change=fa '2'=> _("Unsettled transactions"), '3' => _("Payments"), '4' => _("Credit Notes"), - '5' => _("Overdue Credit Notes") + '5' => _("Overdue Credit Notes"), + '7' => _("Journal Entries") ); echo array_selector($name, $selected, $allocs, array('select_submit'=> $submit_on_change));