From: Phil D. <ph...@lo...> - 2014-10-28 00:01:07
|
So bob actually needs a "Shipping" tax category now and can lose the freight one Regards Phil Phil Daintree Cell: +64 (0) 275 567890 http://www.logicworks.co.nz On 28 October 2014 12:01:46 PM NZDT, "Rafael Chacón" <raf...@gm...> wrote: >Hi Bob, > >Sorry for my English. I want to say: if you have a file >"DatabaseTranslations.php" in the folder /includes. > >The purpose of the file "DatabaseTranslations.php" is to translate >"Freight" when it is shown in the display, instead of translate this >tax >category inside the database. When you include this file >(DatabaseTranslations.php), >you should delete the translation in the other scripts. > >Inside includes/DefineCartClass.php in line 372: > >* With file "DatabaseTranslations.php" (tax category is in en-GB): >$sql = "SELECT taxcatid FROM taxcategories WHERE >taxcatname='Freight'";// >This tax category is hardcoded inside the database. > >* Without file "DatabaseTranslations.php" >(Tax category is translated inside the database): >$sql = "SELECT taxcatid FROM taxcategories WHERE taxcatname='" . >_('Freight') . "'";// This tax category is hardcoded inside the >database. > >Best regards, Rafael > > >2014-10-27 16:30 GMT-06:00 rfthomas <rf...@as...>: > >> Raphael, >> >> There are no includes in DefineCartClass.php. The header on the file >is: >> >> >> >> I double checked the V4.11.5 .zip distribution and such is in that >version. >> >> Bob Thomas >> >> >> >> -- >> View this message in context: >> >http://weberp-accounting.1478800.n4.nabble.com/Unable-to-invoice-customers-tp4657770p4657772.html >> Sent from the web-ERP-developers mailing list archive at Nabble.com. >> >> >> >------------------------------------------------------------------------------ >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> > > >------------------------------------------------------------------------ > >------------------------------------------------------------------------------ > > >------------------------------------------------------------------------ > >_______________________________________________ >Web-erp-developers mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/web-erp-developers |