Local Food Cooperative Management System Software Upgrade Notes

___v1.4.3 Customer Invoice Update___

Features

Contributors to this Update

Roy Guisinger, Brandon Burnett, Ben Anderman, Emma McCauley.

___v1.4.3 Changes to Files___

  1. Change the delivery/pick-up of an order
    Create a new directory: shop/admin/classes/
    Add these two files:
    shop/admin/delivery_change.php
    shop/admin/classes/delivery.class.php

    Update this file:
    shop/admin/delivery_list.php

    Find this around line 164:
    </form>

    Add this after that line and before the ";
    <br /><a href='delivery_change.php?member_id=".$member_id."&basket_id=".$basket_id."'>Change this delivery/pick-up</a>

  2. Edit Member Info
    Note: These files were based on row keys, so are updated with field names so as the database structure changes over time, we don't have to remember to update the row ids each time.

    Create a new directory: shop/admin/forms/

    Delete: shop/admin/addmember.form.php
    Copy the included updated file into shop/admin/forms/

    Move: shop/admin/findmembers.form.php
    Into: shop/admin/forms/

    Delete: shop/admin/mi.class.php
    Copy the included updated file into shop/admin/classes/

    Move: shop/admin/formvalidator.class.php
    Into: shop/admin/classes/

    Replace: shop/admin/member_interface.php

    Update these files:
    config_foodweb.php and config_foodweb_orders.php

    Find this around line 11:
    define("TABLE_PRODUCER","producers");

    Add this line after it:
    define("TABLE_PRODUCER_REG","producers_registration");

    Update this file:
    shop/admin/index.php

    Find around line 58 the Pending Members link. Add this above it:
    <li><a href="member_interface.php?action=find">Find/Edit Members</a><br /><br /></li>

  3. Remove broken link
    shop/admin/index.php

    Find around line 118:
    if($_SESSION['valid_c']=="nancyo" || $_SESSION['valid_c']=="sandra"){

    Remove that line and through the closing bracket }