Local Food Cooperative Software


The Jist: This software operates on an order cycle instead of an “always open” system. Producers/farmers can log in and add products to their product catalog at anytime for sale. During a designated time, cooperative members place orders.
HomeWho’s Using It?DownloadsHow to HelpOther Resources

v1.5.4 Bugfix and Enhancement Release

Contents

Contributors to this Release
New features in v1.5.4
Changes from v1.5.3 to v1.5.4
Bugs Fixed in v1.5.4

Contributors to this Release

Ben Anderman - various bug-fixes and enhancements
Bruce Reynolds - various bug-fixes
Roy Guisinger - various bug-fixes and enhancements

New Features in v1.5.4

  1. Change to logout screens

    Logout screens now provide a link for logging back in.

  2. Change to pending producer function

    Allow removing producer information if it is desired to disallow them.

    Link to initial producer questionnaire for ease of evaluating producers.

    Includes change to prdcr_display_quest.php to allow viewing for pending or unlisted producers.

  3. New function to find accounting discrepancies

    The software keeps accounting records in two places: the customer_basket_overall table and the transactions table. Unfortunately, these sometimes do not reflect the same information, either because of bugs or because of manual changes to the database. This new admin page displays the places where the information is not correctly synchronized. Before revamping the accounting system in future versions, it will be desirable to have the accounting information in these two places made consistent.

  4. Added feature for non-cycle ordering

    Members with auth_type "orderex" priviledge may now order while the current order is not open in order to facilitate pre-ordering and post-ordering operations. This feature should be used with caution to prevent confustion to producers who may not have updated their product information yet, or who may already be filling orders.

  5. Added explanation on login page

    Pending members who can not log in will now receive a message explaining that their membership is pending instead of being mysteriously denied the ability to log in.

  6. Producer listing/unlisting

    Producers can list and unlist themselves. Admins can list, unlist, or suspend producers. Suspended producers may not relist themselves.

  7. Include invoice number for producer invoices (by customer-storage)

    Producer invoice number shows up on display-only output. It is genearted as a concatenation of the delivery_id and member_id for the producer.

  8. Producer invoice totals

    Change to producer_orders_totals.php to explicitly display "extra charge" amounts.

  9. New admin page for Edit Membership Types

    This function provides an ajax interface for changing members between the various allowable membership types in the database. It does not take any action with regard to membership receivables associated with the changes. This is also the first function to actually use the PER_PAGE (number of results per page) configuration variable.

Changes from v1.5.3 to v1.5.4

  1. Login session variables have been moved to the login process

    Session variables no longer require an access of the admin/index or members/index page to be set. This means that targeted pages within the members or admin areas will display correctly the first time. The session is also cleared when the login function is accessed so there is no longer a need to explicitly log out of the members area before logging into the admin area, or vice-versa.

  2. Change to auth_type management

    New function added to general_functions.php to assign $authorization[] associative variable for each available auth_type as true or false. This makes testing much less convoluted. Special note to developers: This functionality, although using a similar method, is changed again in v1.6.x.

    Description to auth_types:

    member
    Previously anyone could open carts. Now this is only for auth_type=member, so it is possible to prevent i.e. producers from placing orders.
    producer
    May post products for sale
    administrator
    May manage producer information. Also may view and buy wholesale items, just as auth_type=institution.
    orderex
    [Order Extended] May open baskets and order products outside the ordering window (must still be a member). Keep in mind anyone placing such orders is doing so outside the normal producer update schedule and the ability should be used with caution.
    sysadmin
    May view and generate invoices (CHANGE: previously auth_type=administrator function).
    cashier
    RESERVED: No effect at this time.
    rtemanager
    RESERVED: Minimal effect at this time.
    institution
    May see/buy wholesale items in product lists.
  3. Change to permissions

    Generation of invoices in the members area now requires "sysadmin" priviledges rather than "adminstrator" (producer admin) priviledges.

  4. Formatting of public product lists

    Changed all public product lists to have similar output formatting.

  5. Change to footers

    Footers are now combined and use logic to decide what links to display. The template_footer_orders_notloggedin.php and template_footer_orders_edit.php files are now deprecated. Footers were made to match one-another more in formatting.

  6. Improvement to the per-order fees

    Set aside transation_type 64 for all per-order credits and fees that will not be included in pending-and-unpaid-members table and will only be allowed at one per cart. Add a row to transaction_types table according to instructions in the upgrade notes for this version.

  7. Change to category list sort

    Sort order was changed to first sort by category, then subcategory in some of the product listing files.

  8. Restricted access to producer section

    Only members with auth_type "producer" will see the producer section. Please confirm that all producers in the database have the correct auth_type.

  9. Change counting on member_balances_outstanding pages

    Rather than paging members by sequential groups, the groupings now reflect the actual member_id values for the page that will be returned.

  10. Change report_financial.php and transaction_report.php

    Options for reporting range was previously defined as two years before the current year. Now reporting years range for the entire period of time that is in the database delivery_dates table.

Bugs Fixed in v1.5.4

  1. Improvement to html

    Changed "a" target to "id" target in many files.

    Changed table layout to div layout in a number of files

    Corrected miscellaneous other html errors.

  2. Pathname bugfix

    /shop/ directory was still hard-coded in some places. This is now properly configurable.

  3. Short-tag bug-fix

    A couple of php short-tags missed being updated in prior versions. Hopefully this version eliminates all the rest of them.

  4. GLOBALS bug-fix

    /shop/template_hdr.php and /shop/admin/template_hdr.php contained an incorrect GLOBALS reference that caused an error on WAMP servers.

  5. Fix to organization verbiage

    Replaced hard-coded "co-op" and "cooperative" with the configured "ORGANIZATION_TYPE".

  6. Correction to member listing on admin pages

    In prior versions, the list for finalizing members had two entries for members 1101-1200 in /shop/admin/orders_list.php and /shop/admin/orders_list_withtotals.php. The linked text has been corrected to reflect the operation actually being performed.

  7. Number formatting fix

    Fix values in member balances lookup to show two decimals, regardless of amount.

  8. Shopping page layout bug-fix

    Added another wrapper table to shopping page layout to keep alignment of stacked tables consistent.

  9. Shopping cart query bug-fix

    Problem with query in the shopping cart query was fixed.

  10. Bugfix to the FAQ

    The FAQ did not allow viewing for users who were not currently logged into the system, partly because it resides in the members directory. Some additional minor changes to the FAQ content.

  11. Customer Totals bug-fix

    Some values were not being initialized, causing carry-forward of old values when a member did not have any prior accounting history.

  12. Fix values on Members with orders this cycle (with totals)

    Subtotals on this report are now affected by the SHOW_ACTUAL_PRICE configuration setting.

  13. Fix values on shopping cart for admin users

    Pricing on shopping cart from admin now respects the SHOW_ACTUAL_PRICE configuration setting in the /shop/func/mem_edit_invoice_admin.php.

  14. Minor rounding bug-fix on customer invoices

    Moved rounding function to the incoming price, rather than after multiplying by the quantity on the /shop/func/gen_invoice.php. This only affects invoices that are showing actual prices.

  15. Corrected min/max price calculation for customer invoices

    Change to /func/gen_invoice.php that corrects price calculations for temporarily using minimum or maximum weights on price calculations.

  16. Grammar-fix

    /shop/func/mem_select_delivery.php had a double colon (:) after the Delivery Type label.

  17. Pluralization bug-fix

    Producer order summary previously had strange behavior with pluralization of "outs".

  18. Edit producer info bug-fix

    When editing producer information for another producer (by a producer admin) the information now correctly posts for the target producer instead of erroneously changing the information for the admin producer doing the change.

  19. Member editing page bug-fix

    The member information editor in the admin section previously sometimes failed to update. One cause of this was that home phone was a required field. Home phone is no longer a required field.