[Weberp-svn] SF.net SVN: weberp:[8286] trunk
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2011-10-15 09:43:01
|
Revision: 8286 http://weberp.svn.sourceforge.net/weberp/?rev=8286&view=rev Author: tim_schofield Date: 2011-10-15 09:42:55 +0000 (Sat, 15 Oct 2011) Log Message: ----------- Add stock requset authorisation script to menus Modified Paths: -------------- trunk/InternalStockRequestAuthorisation.php trunk/includes/session.inc trunk/index.php Added Paths: ----------- trunk/sql/mysql/updates/99.php Modified: trunk/InternalStockRequestAuthorisation.php =================================================================== --- trunk/InternalStockRequestAuthorisation.php 2011-10-15 09:42:37 UTC (rev 8285) +++ trunk/InternalStockRequestAuthorisation.php 2011-10-15 09:42:55 UTC (rev 8286) @@ -1,7 +1,7 @@ <?php /* $Id$*/ -$PageSecurity=1; + include('includes/session.inc'); $title = _('Authorise Internal Stock Requests'); Modified: trunk/includes/session.inc =================================================================== --- trunk/includes/session.inc 2011-10-15 09:42:37 UTC (rev 8285) +++ trunk/includes/session.inc 2011-10-15 09:42:55 UTC (rev 8286) @@ -13,7 +13,7 @@ header('Location:' . $rootpath . '/install/index.php'); } include($PathPrefix . 'config.php'); -$DBVersion=98; +$DBVersion=99; if (isset($SessionSavePath)){ session_save_path($SessionSavePath); } Modified: trunk/index.php =================================================================== --- trunk/index.php 2011-10-15 09:42:37 UTC (rev 8285) +++ trunk/index.php 2011-10-15 09:42:55 UTC (rev 8286) @@ -194,7 +194,8 @@ _('Inventory Adjustments'), _('Reverse Goods Received'), _('Enter Stock Counts'), - _('Create a New Internal Stock Request') + _('Create a New Internal Stock Request'), + _('Authorise Internal Stock Requests') ); $MenuItems['stock']['Transactions']['URL'] = array ('/PO_SelectOSPurchOrder.php', '/StockLocTransfer.php', @@ -203,7 +204,8 @@ '/StockAdjustments.php?NewAdjustment=Yes', '/ReverseGRN.php', '/StockCounts.php', - '/InternalStockRequest.php?New=Yes' + '/InternalStockRequest.php?New=Yes', + '/InternalStockRequestAuthorisation.php' ); $MenuItems['stock']['Reports']['Caption'] = array (_('Serial Item Research Tool'), Added: trunk/sql/mysql/updates/99.php =================================================================== --- trunk/sql/mysql/updates/99.php (rev 0) +++ trunk/sql/mysql/updates/99.php 2011-10-15 09:42:55 UTC (rev 8286) @@ -0,0 +1,10 @@ +<?php + +/* Include the new script for printing quotations in Portrait + */ + +InsertRecord('pagesecurity', array('script', 'security'), array('InternalStockRequestAuthorisation.php',1), array('script', 'security'), array('InternalStockRequestAuthorisation.php',1), $db); + +UpdateDBNo(99, $db); + +?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |