VERSION 0.2.4 : 2006-09-14
--------------------------
ADDED
    * profile.xsl, api_profile.php, profile.php
    	: added option to specify date and time for extending the closing time of a tender 
    	
VERSION 0.2.3 : 2006-09-08
--------------------------
FIXED
    * procure.class.php
    	: changed get-valid-time function to prevent error message if holidays not set
    	
VERSION 0.2.2 : 2006-08-31
--------------------------
ADDED
    * procure_update.class
    	: added date filter to get-tender-for-subscriber function
    	
VERSION 0.2.1 : 2006-08-29
--------------------------
ADDED
    * procure_request.class, procure_generic.xsl
    	: option to add commodity units such as kg, ltr
    	
VERSION 0.1.6 : 2006-08-21
--------------------------
CHANGED
	* api_profile.php
	  : made tenders with status = 0 editable
FIXED
	* procure.report.class.php
	  : added code to limit sql query results for quotes
	  
VERSION 0.1.5 : 2006-08-17
--------------------------
FIXED
	* procure_approve.class.php
		: approve without any items set closing to now()
		
VERSION 0.1.4 : 2006-08-10
--------------------------
CHANGES
	* procure.class.php
	  : closing time cannot be in lunch break period

	* show_tender_quote.xsl
	  : added javascript function to make sure at least on checkbox is checked before edit button can be pressed  
FIXED
	* procure.class.php
		: transaction fee to lowest quote
	* purchase_order_cancellation.php
		: purchase order authentication link
		
VERSION 0.1.3 : 2006-06-07
--------------------------    
ADDED
	* api_cancel_purchase_order.php
		: option to send a notification for purchase order cancellation
		
VERSION 0.1.21 : 2006-06-07
--------------------------
FIXED
    * profile.xsl / item_profile
    	: Organisation and agent profile for agent
    * procure_udate.class.php
    	: propagate purchase order delete time and date
    * purchase order
    	: display award date and time
    * award uncompleted RFQ from profile
    * award link when purchase order has been cancelled
    * time remaining fixed when server in different timezone
    
ADDED
	* profile.xsl
		: option to add quetes directly from ptofile
    	
VERSION 0.1.20 : 2006-05-27
--------------------------
FIXED
    * config.inc.php
    	: Approval URL
    	  
VERSION 0.1.20 : 2006-05-27
--------------------------
FIXED
    * procure_response.class.php
    	: don't check tenders if they should close if not in correct
    	  status
    	
CHANGES
	* procure_generic.xsl
		: right instruction shows product name
	* procure.class.php/purchase_order.php/procure_award.class.php
		: added support for assessment fee in purchase_order
	* procure_award.class.php
		: added branch comment to agent info

VERSION 0.1.19 : 2006-05-06
--------------------------
CHANGES
	* procure.class.php
	  : fixed bug in procure.class.php that erases tender variable contents
	* api_quote.profile
	  : suppliers are not allowed to access
	* show_purchase_order.xsl/procure_update.class.php
	  : removed client name from show purchase order because it might cause duplicates
	  : added created by column

VERSION 0.1.18 : 2006-05-05
--------------------------
CHANGES
	* api_item_profile.php
	  : set that only users and administrators can view item profiles
	* api_profile.php
	  : set that only users and administrators can view profiles
	    
VERSION 0.1.17 : 2006-04-01
--------------------------
CHANGES
	* procure_report.class.php
	  : search_quoted Order by tender quote classification ASC
	* procure_response.class.php
	  : shortened determine_status query
	  
FIXED
	* api_quote_profile.php
	  : keep old error message when deleting
	* procure_close.class.php
	  : calculate position of tender quotes after closing
	    of the tender item

VERSION 0.1.16 : 2006-03-21
--------------------------
IMPROVEMENTS
	* api_quote_profile.php/quote_profile.php/quote_profile.xsl
	  : allow late quotes to be added

FIXED
	* procure.class.php/procure_close.class.php
	  : fixed calculation of transraction fee of closed tenders

VERSION 0.1.15 : 2006-03-13
--------------------------
IMPROVEMENTS
	* api/templates/purchase_order.php
	  : added branch postal and physical code
	  : cleaned up look and feel of purchase order

VERSION 0.1.14 : 2006-03-11
--------------------------
IMPROVEMENTS
    * profile.xsl/api_profile.php/procure_update.class.php
      : can select who to sen notification to
CHANGE
    * procure_close.class.php
      : can include quote with status 1, ie no quotes     
FIXED
    * procure.class.php
      : don't include no quotes calculation of  position
	* show_tender.xsl
	  : fixed syntax errors
    * procure_update.class.php
	  : fixed syntax error

VERSION 0.1.13 : 2006-03-07
--------------------------
FIXED
    * procure_update.class.php
	  : fixed SQL for search_tender_count method
	  : only send nofitication of changes to users when correct preference
	* procure_close.class.php
	  : fixed settings language in method process_quotes
	  : fixed not using no quotes
    * spelling errors
CHANGE
	* api_profile.php/procure_update.class.php
	  : cleaned up code
	  
VERSION 0.1.12 : 2006-02-28
--------------------------
IMPROVEMENTS
	* procure_order.xsl/api_cancel_purchase_order.php/procure.class.php
	  cancel_purchase_order.xsl/cancel_purchase_order.php/procure_update.class.php
	  purchase_order.php
	  : Can cancel Purchase Orders and rewarded tender items affected
	  
FIXED
	* procure_response.class.php
	  : clean up SQL Statement in determine_status method


VERSION 0.1.11 : 2006-02-27
--------------------------
IMPROVEMNTS
	* settings.xsl/settings.php/settings.class.php
	  : added settings to handle duplicates quotes
	  : added settings to handle positioning of quotes
    * procure_close.class.php/procure.class.php
      : uses setting to handle duplicates quotes
      : uses setting to handle positioning of quotes
    * api_quote_profile.php/quote_profile.xsl
      : can edit quotes that are closed
    * procure_response.class.php/item_profile.xsl
      : can add items to closed tenders

VERSION 0.1.10 : 2006-02-26
--------------------------
FIXED
	* procure_quote_change.php/api_quote_profile.php
	  : sending notification of quote change
	* procure_item_change.php/api_item_profile.php
	  : sending notification of item change
	* procure_time_extend.php/api_profile.php
	  : sending notification of change change

VERSION 0.1.9 : 2006-02-24
--------------------------
FIXED
	* procure_request.class.php
      : remvoing all items from tender after approving
	* procure_status.xsl
      : added N/A for items with no position

VERSION 0.1.8 : 2006-02-23
--------------------------
IMPROVMENTS
   * procure_update.class.php/profile.xsl/item_profile.xsl
     : shows agents you have recieved requests via email
     
CHANGED
    * procure_request.class.php
      : allows agents to create tenders
      
FIXED
	* mandate_exceeded
      : fixed link to view purchase order
    * procure.class.php
      : remove error message for good quotes
      : fixed up client sms
    * procure_update.class.php
      : fixed time display for tender_quote, tender_item, purchase order lists
    * quote_profile.xsl/profile.xsl
      : removed right dev

VERSION 0.1.7 : 2006-02-22
--------------------------
FIXED
    * procure.class.php/purchase_order.php
      : added client address
      : made branch comment colspan 3
    * procure.class.php
      : empty client fields
      : getting tender client information


VERSION 0.1.6 : 2006-02-21
--------------------------
CHANGED
    * purchase_order.php
      : added supplier information
    * procure_generic.xsl
      : allows additional fields to be re-inserted on error
      
FIXED
    * procure.class.php/tender_client.php
      : allow email address to be nothing and a few other fields
      : removed some warnings
    * procure.class.php/procure_award.class.php
      : moved send_client methods to procure class

VERSION 0.1.5 : 2006-02-20
--------------------------
FIXED
    * show_purchase_order.xsl/item_profile.xsl/profile.xsl
      : fixed purchase order link
    * procure_update.class.php
      : agent id was subscriber id on getting quote info, fixed
      : fixed listing of purchase orders

VERSION 0.1.4 : 2006-02-16
--------------------------
IMPROVEMENTS
    * settings.php/settings.xsl/setting.class.php
      : added settings to optional show phone_prefix
    * response_row.php/close.php
      : added positional text

FIXED
    * procure.class.php
      : inserted default values for id_number and phone_prefix
        for client information
      
CHANGED
    * procure_generic.xsl
      : added title select template
    * purchase_order.php/award.php
      : added vat number to purchase order

VERSION 0.1.3 : 2006-02-15
--------------------------
IMPROVEMENTS
    * mandate_exceeded.php/award.php
      : added a link to change authorised settlement amount online
        
FIXED
    * procure.class.php
      : when completing tenders, check for close time and
        add if missing
      : send purchase orders in agent theme
      : send mandate_exceeded in administrator theme

VERSION 0.1.2 : 2006-02-14
--------------------------
FIXED
    * purchase_order.php/mandate_exceeded.php/client_message.php
      : fixed up email template
      
CHANGED
    * client_message.php
      : added excess to client message
    * close.php
      : updated language

VERSION 0.1.1 : 2006-02-13
--------------------------
FIXED
    * mandate_exceeded.php/purchase_order.php/client_message.php
      : fixed template to use new stylesheet for emails and next_function calls
    * authenticate_purchase_order.php
	  : can view purchase orders