Leon,

Some errors/bugs in database/mysql/invoice

------------------------------------------------------
Error:

generated by PURGE_INVOICE

database/mysql/invoice line 1620:

        $Query = "SELECT Address ";
        $Query .= "FROM shipping ";
        $Query .= "WHERE Invoice = $invoice ";

Looks like it should be:

        $Query .= "FROM invoice_shipping ";

------------------------------------------------------
Typo:

database/mysql/invoice line 1629:

        $Query .= "FROM ionvoice_billing ";

------------------------------------------------------

Action:

Changing item quantity in order_info

Error:

Fatal error: Call to undefined function: addfeetoinvoice() in
/usr/local/apache/ft2-modules/database/mysql/invoice on line 1494

database/mysql/invoice line 1494:

if(!(addFeeToInvoice($invoice, getFeeID('Gift Wrap'),
                ($numGiftWrap * GIFTWRAP_COST), &$error)))

Looks like it should be:

if(!(insertInvoiceFee($invoice, getFeeID('Gift Wrap'),
                ($numGiftWrap * GIFTWRAP_COST), &$error)))

----------------------------------------------------------

Nick


> Hey, everybody!  I've been working on FT2 for the past couple of weeks.  I
> think I've finally removed all SQL and HTML from every screen and action
> module.  (Well, there are probably a few BR's around, still).
> 
> Anyway, you can download a tarball from the site, or you grab the latest
> CVS.
> 
> I'd appreciate any feedback regarding bugs that you might have.



----------------------
Lab2 Design-Unit
URL: http://www.lab2.com.au
e-mail: [EMAIL PROTECTED]
----------------------


_______________________________________________
FreeTrade-dev mailing list
[EMAIL PROTECTED]
http://share.whichever.com/mailman/listinfo/freetrade-dev

Reply via email to