From: <tim...@us...> - 2009-11-12 12:30:33
|
Revision: 2982 http://web-erp.svn.sourceforge.net/web-erp/?rev=2982&view=rev Author: tim_schofield Date: 2009-11-12 12:30:20 +0000 (Thu, 12 Nov 2009) Log Message: ----------- api_php.php - include sqlcommonfunctions. api_salesorders.php - Fix call to GtNextTransaction() Modified Paths: -------------- branches/3.11-stable/api/api_php.php branches/3.11-stable/api/api_salesorders.php branches/3.11-stable/doc/Change.log.html trunk/api/api_php.php trunk/api/api_salesorders.php trunk/doc/Change.log.html trunk/includes/phplot/phplot.php trunk/includes/phplot/phplot_data.php Added Paths: ----------- trunk/ReportBug.php Property Changed: ---------------- trunk/includes/DefinePOClass.php Modified: branches/3.11-stable/api/api_php.php =================================================================== --- branches/3.11-stable/api/api_php.php 2009-11-12 12:16:52 UTC (rev 2981) +++ branches/3.11-stable/api/api_php.php 2009-11-12 12:30:20 UTC (rev 2982) @@ -9,6 +9,8 @@ $_SESSION['db']=$db; include 'api_errorcodes.php'; + /* Include SQL_CommonFunctions.inc, to use GetNextTransNo().*/ + include($PathPrefix.'includes/SQL_CommonFunctions.inc'); /* Get weberp authentication, and return a valid database connection */ Modified: branches/3.11-stable/api/api_salesorders.php =================================================================== --- branches/3.11-stable/api/api_salesorders.php 2009-11-12 12:16:52 UTC (rev 2981) +++ branches/3.11-stable/api/api_salesorders.php 2009-11-12 12:30:20 UTC (rev 2982) @@ -329,7 +329,7 @@ } $FieldNames=''; $FieldValues=''; - $OrderHeader['orderno'] = GetNextTransNo(30); + $OrderHeader['orderno'] = GetNextTransNo(30,$db); foreach ($OrderHeader as $key => $value) { $FieldNames.=$key.', '; $FieldValues.='"'.$value.'", '; Modified: branches/3.11-stable/doc/Change.log.html =================================================================== --- branches/3.11-stable/doc/Change.log.html 2009-11-12 12:16:52 UTC (rev 2981) +++ branches/3.11-stable/doc/Change.log.html 2009-11-12 12:30:20 UTC (rev 2982) @@ -1,5 +1,7 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p> +<p>12/11/09 Tim: api_php.php - include sqlcommonfunctions. +<p>12/11/09 Tim: api_salesorders.php - Fix call to GtNextTransaction() <p>12/11/09 CSRBusiness: api_salesorders.php - Correct the number of parameters in call to VerifyDeliveryDate() <p>12/11/09 Bryan Nielsen: BankAccounts.php - Correctly assign values to Yes and No options. <p>12/11/09 Tim: TaxProvinces.php - Correctly check if any locations use this province before deletion. Added: trunk/ReportBug.php =================================================================== --- trunk/ReportBug.php (rev 0) +++ trunk/ReportBug.php 2009-11-12 12:30:20 UTC (rev 2982) @@ -0,0 +1,26 @@ +<?php + +$PageSecurity = 15; +include('includes/session.inc'); +$title = _('Create trac item for bugs'); + +include 'xmlrpc/lib/xmlrpc.inc'; +include('includes/header.inc'); + + +$ServerURL = "https://sourceforge.net/apps/trac/web-erp/"; +$DebugLevel = 2; //Set to 0,1, or 2 with 2 being the highest level of debug info + +$msg = new xmlrpcmsg("system.listMethods", array()); + +$client = new xmlrpc_client($ServerURL); +$client->setDebug($DebugLevel); + +$response = $client->send($msg); + +$answer = php_xmlrpc_decode($response->value()); + +echo $answer; + +include('includes/footer.inc'); +?> \ No newline at end of file Modified: trunk/api/api_php.php =================================================================== --- trunk/api/api_php.php 2009-11-12 12:16:52 UTC (rev 2981) +++ trunk/api/api_php.php 2009-11-12 12:30:20 UTC (rev 2982) @@ -9,6 +9,8 @@ $_SESSION['db']=$db; include 'api_errorcodes.php'; + /* Include SQL_CommonFunctions.inc, to use GetNextTransNo().*/ + include($PathPrefix.'includes/SQL_CommonFunctions.inc'); /* Get weberp authentication, and return a valid database connection */ Modified: trunk/api/api_salesorders.php =================================================================== --- trunk/api/api_salesorders.php 2009-11-12 12:16:52 UTC (rev 2981) +++ trunk/api/api_salesorders.php 2009-11-12 12:30:20 UTC (rev 2982) @@ -329,7 +329,7 @@ } $FieldNames=''; $FieldValues=''; - $OrderHeader['orderno'] = GetNextTransNo(30); + $OrderHeader['orderno'] = GetNextTransNo(30,$db); foreach ($OrderHeader as $key => $value) { $FieldNames.=$key.', '; $FieldValues.='"'.$value.'", '; Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2009-11-12 12:16:52 UTC (rev 2981) +++ trunk/doc/Change.log.html 2009-11-12 12:30:20 UTC (rev 2982) @@ -1,5 +1,7 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p> +<p>12/11/09 Tim: api_php.php - include sqlcommonfunctions. +<p>12/11/09 Tim: api_salesorders.php - Fix call to GtNextTransaction() <p>12/11/09 CSRBusiness: api_salesorders.php - Correct the number of parameters in call to VerifyDeliveryDate() <p>12/11/09 Bryan Nielsen: BankAccounts.php - Correctly assign values to Yes and No options. <p>12/11/09 Tim: TaxProvinces.php - Correctly check if any locations use this province before deletion. Property changes on: trunk/includes/DefinePOClass.php ___________________________________________________________________ Added: svn:keywords + Id Modified: trunk/includes/phplot/phplot.php =================================================================== --- trunk/includes/phplot/phplot.php 2009-11-12 12:16:52 UTC (rev 2981) +++ trunk/includes/phplot/phplot.php 2009-11-12 12:30:20 UTC (rev 2982) @@ -1,6 +1,6 @@ <?php -/* $Id: phplot.php,v 1.1 2005-10-25 08:13:53 daintree Exp $ */ +/* $Id: phplot.php,v 1.1 2005/10/25 08:13:53 daintree Exp $ */ /* * PHPLOT Version 5.0.rc1 Modified: trunk/includes/phplot/phplot_data.php =================================================================== --- trunk/includes/phplot/phplot_data.php 2009-11-12 12:16:52 UTC (rev 2981) +++ trunk/includes/phplot/phplot_data.php 2009-11-12 12:30:20 UTC (rev 2982) @@ -1,5 +1,5 @@ <?php -/* $Id: phplot_data.php,v 1.1 2005-10-25 08:13:53 daintree Exp $ +/* $Id: phplot_data.php,v 1.1 2005/10/25 08:13:53 daintree Exp $ * * Copyright (C) 2000 Afan Ottenheimer. Released under * the GPL and PHP licenses as stated in the the README file which This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |