From: Chris B. <cb...@en...> - 2004-09-27 17:06:50
|
Hmm.. Anyone wanna take a shot at this?? [root@ns2 web-erp]# cvs login Logging in to :pserver:ano...@cv...:2401/cvsroot/web-erp CVS password: [root@ns2 web-erp]# cvs update ? digital-clock ? logo-small.jpg ? logo2.jpg cvs update: Updating . P ConfirmDispatch_Invoice.php P Credit_Invoice.php P Customers.php P PDFDeliveryDifferences.php P PrintCustTrans.php P StockLocTransfer.php P StockLocTransferReceive.php P StockTransfers.php P Stocks.php P Suppliers.php P Tax.php RCS file: /cvsroot/web-erp/web-erp/config.php,v retrieving revision 1.28 retrieving revision 1.29 Merging differences between 1.28 and 1.29 into config.php rcsmerge: warning: conflicts during merge cvs update: conflicts found in config.php C config.php M logo.jpg cvs update: Updating EDI_Incoming_Orders cvs update: Updating EDI_Pending cvs update: Updating EDI_Sent cvs update: Updating doc cvs update: Updating fonts cvs update: Updating includes P includes/DefineStockTransfers.php P includes/LanguageSetup.php M includes/Login.php P includes/MiscFunctions.php P includes/SQL_CommonFunctions.inc M includes/footer.inc M includes/header.inc cvs update: Updating includes/StockModules cvs update: Updating locale cvs update: Updating locale/en cvs update: Updating locale/en/LC_MESSAGES cvs update: Updating locale/es cvs update: Updating locale/es/LC_MESSAGES cvs update: Updating locale/it cvs update: Updating locale/it/LC_MESSAGES cvs update: Updating part_pics cvs update: Updating reports cvs update: Updating sql cvs update: Updating sql/pg for user anonymouszation failed: server cvs.sourceforge.net rejected access to /cvsroot/web-erp cvs update: used empty password; try "cvs login" with a real password [root@ns2 web-erp]# -----Original Message----- From: web...@li... [mailto:web...@li...] On Behalf Of skaill Sent: Thursday, September 23, 2004 4:11 PM To: web...@li... Subject: Fw: [Web-erp-developers] CVS File Error's Umm...probably the include and exit need to be within those braces too... ----- Original Message ----- From: skaill <mailto:sk...@ro...> To: web...@li... Sent: Thursday, September 23, 2004 12:33 PM Subject: Re: [Web-erp-developers] CVS File Error's Looks like it's checking whether there is at least one line that has a positive quantity. I believe the echo line should be changed to if ($QuantityInvoicedIsPositive) { echo '<BR><FONT SIZE=4 COLOR=RED>Error: </FONT>' . _('There are no lines on this order with a quantity to invoice. No furth$ } Something is wrong with that echo too. Where's the closing parenthesis? What is furth$? If you let me know the script and whereabouts within the script I'll look further... Steve ----- Original Message ----- From: Chris Bice <mailto:cb...@en...> To: web...@li... Sent: Thursday, September 23, 2004 10:43 AM Subject: RE: [Web-erp-developers] CVS File Error's The error is in this line of code: /*First check there are lines on the dipatch with quantities to invoice invoices can have a zero amount but there must be a quantity to invoice */ $QuantityInvoicedIsPositive = false; foreach ($_SESSION['Items']->LineItems as $OrderLine) { if ($OrderLine->QtyDispatched > 0){ $QuantityInvoicedIsPositive =true; } } echo '<BR><FONT SIZE=4 COLOR=RED>Error: </FONT>' . _('There are no lines on this order with a quantity to invoice. No furth$ include('includes/footer.inc'); exit; -----Original Message----- From: web...@li... [mailto:web...@li...] On Behalf Of Chris Bice Sent: Thursday, September 23, 2004 9:40 AM To: web...@li... Subject: [Web-erp-developers] CVS File Error's Ok, I have downloaded the latest CSV. I upgraded from 2.8 to 2.9 to 2.10 with the SQL Upgrade Scripts. Now when I Try and process an Invoice, it gives me an error saying I have to have something in the Quantity Field, or Line to Process. There are 7 Lines on this Invoice. Are there going to be major issues with upgrading from a couple previous versions to the letst CVS version?? |