Supplier transactions list added.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Fri, 23 Jul 2010 13:02:46 +0000 (13:02 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Fri, 23 Jul 2010 13:02:46 +0000 (13:02 +0000)
includes/ui/ui_lists.inc

index 0e515e3c7a307d3f2019d0beda9ee2a17790b7b0..718363d45c31f6235c068c591d842270fb8146f0 100644 (file)
@@ -1917,6 +1917,25 @@ function supp_allocations_list_cell($name, $selected=null)
        echo "</td>\n";
 }
 
+function supp_transactions_list_cell($name, $selected=null)
+{
+       global $all_items;
+
+       echo "<td>\n";
+       $allocs = array( 
+               $all_items=>_("All Types"),
+               '6'=>_("GRNs"),
+               '1'=> _("Invoices"),
+               '2'=> _("Overdue Invoices"),
+               '3' => _("Payments"),
+               '4' => _("Credit Notes"),
+               '5' => _("Overdue Credit Notes")
+       );
+
+       echo array_selector($name, $selected, $allocs);
+       echo "</td>\n";
+}
+
 function policy_list_cells($label, $name, $selected=null)
 {
        if ($label != null)