Index: branches/5.1.x/units/payment_type/payment_type_config.php =================================================================== diff -u -N -r13549 -r13938 --- branches/5.1.x/units/payment_type/payment_type_config.php (.../payment_type_config.php) (revision 13549) +++ branches/5.1.x/units/payment_type/payment_type_config.php (.../payment_type_config.php) (revision 13938) @@ -1,6 +1,6 @@ 'Name', // field, used in bluebar when editing existing item 'SubItems' => Array ('gwfv', 'ptc'), - 'FilterMenu' => Array ( - 'Groups' => Array ( - Array ('mode' => 'AND', 'filters' => Array ('show_active', 'show_disabled'), 'type' => WHERE_FILTER), - ), - 'Filters' => Array ( - 'show_active' => Array ('label' => 'la_Active', 'on_sql' => '', 'off_sql' => '%1$s.Status != 1' ), - 'show_disabled' => Array ('label' => 'la_Disabled', 'on_sql' => '', 'off_sql' => '%1$s.Status != 0' ), - ) - ), - 'CalculatedFields' => Array ( - '' => Array ( - 'Gateway' => TABLE_PREFIX.'Gateways.Name', - ), - ), + '' => Array ( + 'Gateway' => TABLE_PREFIX . 'Gateways.Name', + ), + ), 'ListSQLs' => Array ( '' => ' SELECT %1$s.* %2$s FROM %1$s @@ -102,11 +92,12 @@ 'ItemSQLs' => Array ( '' => 'SELECT * FROM %s', ), 'ListSortings' => Array ( - '' => Array ( - 'ForcedSorting' => Array ('Priority' => 'desc'), - 'Sorting' => Array ('Name' => 'asc'), - ) - ), + '' => Array ( + 'ForcedSorting' => Array ('Priority' => 'desc'), + 'Sorting' => Array ('Name' => 'asc'), + ) + ), + 'Fields' => Array ( 'PaymentTypeId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0,), 'Name' => Array ('type' => 'string', 'not_null' => 1, 'default' => '', 'required' =>true, 'max_len' => 100),