|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
two correctionsHi there,
Please find here two really small corrections, I just wanted to get rid of red stuff (errors) on my project's workspace :-)) thank you, Index: MRPCreateDemands.php =================================================================== --- MRPCreateDemands.php (revision 2673) +++ MRPCreateDemands.php (working copy) @@ -90,7 +90,7 @@ list($yyyy,$mm,$dd) = explode("/",$FormatedDistdate); } else if (strpos($FormatedDistdate,"-")) { list($yyyy,$mm,$dd) = explode("-",$FormatedDistdate); -} else else if (strpos($FormatedDistdate,".")) { +} else if (strpos($FormatedDistdate,".")) { list($yyyy,$mm,$dd) = explode(".",$FormatedDistdate); } $datearray[0] = $FormatedDistdate; Index: EDIProcessOrders.php =================================================================== --- EDIProcessOrders.php (revision 2673) +++ EDIProcessOrders.php (working copy) @@ -63,7 +63,7 @@ $FirstSegInGrp =0; $SegGroup =0; - $fp = fopen($_SERVER['DOCUMENT_ROOT'] . "/$rootpath/$_SESSION['EDI_Incoming_Orders']/$OrderFile",'r'); + $fp = fopen($_SERVER['DOCUMENT_ROOT'] . '/$rootpath/'.$_SESSION['EDI_Incoming_Orders'].'/'.$OrderFile,'r'); $SegID = 0; $SegCounter =0; @@ -78,7 +78,7 @@ while ($LineText = fgets($fp) AND $TryNextFile != True){ /* get each line of the order file */ $LineText = StripTrailingComma($LineText); - echo "<br>$LineText"; + echo '<br>'.$LineText; if ($SegTag != substr($LineText,0,3)){ $SegCounter=1; @@ -570,4 +570,4 @@ } } -?> +?> \ No newline at end of file ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Web-erp-developers mailing list Web-erp-developers@... https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
|
|
Re: two correctionsHi Bogdan,
I had picked up the first one already, but I have updated the second one. Thanks Tim 2009/11/1 Bogdan Stanciu <bogdanovidiu.stanciu@...>: > Hi there, > > > Please find here two really small corrections, I just wanted to get rid > of red stuff (errors) on my project's workspace :-)) > > > thank you, > > > > Index: MRPCreateDemands.php > =================================================================== > --- MRPCreateDemands.php (revision 2673) > +++ MRPCreateDemands.php (working copy) > @@ -90,7 +90,7 @@ > list($yyyy,$mm,$dd) = explode("/",$FormatedDistdate); > } else if (strpos($FormatedDistdate,"-")) { > list($yyyy,$mm,$dd) = explode("-",$FormatedDistdate); > -} else else if (strpos($FormatedDistdate,".")) { > +} else if (strpos($FormatedDistdate,".")) { > list($yyyy,$mm,$dd) = explode(".",$FormatedDistdate); > } > $datearray[0] = $FormatedDistdate; > Index: EDIProcessOrders.php > =================================================================== > --- EDIProcessOrders.php (revision 2673) > +++ EDIProcessOrders.php (working copy) > @@ -63,7 +63,7 @@ > $FirstSegInGrp =0; > $SegGroup =0; > > - $fp = fopen($_SERVER['DOCUMENT_ROOT'] . > "/$rootpath/$_SESSION['EDI_Incoming_Orders']/$OrderFile",'r'); > + $fp = fopen($_SERVER['DOCUMENT_ROOT'] . > '/$rootpath/'.$_SESSION['EDI_Incoming_Orders'].'/'.$OrderFile,'r'); > > $SegID = 0; > $SegCounter =0; > @@ -78,7 +78,7 @@ > while ($LineText = fgets($fp) AND $TryNextFile != True){ /* get > each line of the order file */ > > $LineText = StripTrailingComma($LineText); > - echo "<br>$LineText"; > + echo '<br>'.$LineText; > > if ($SegTag != substr($LineText,0,3)){ > $SegCounter=1; > @@ -570,4 +570,4 @@ > } > } > > -?> > +?> > \ No newline at end of file > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Web-erp-developers mailing list > Web-erp-developers@... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Web-erp-developers mailing list Web-erp-developers@... https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
|
|
Re: two corrections +a new onei had this feeling :-)
thank you! here another small one. actually, for my settings was a blocker, but i see that the demo version works like that.. i might be too strict. ### Eclipse Workspace Patch 1.0 #P CVS.webERP Index: PrintCustTransPortrait.php =================================================================== RCS file: /cvsroot/web-erp/webERP/PrintCustTransPortrait.php,v retrieving revision 1.39 diff -u -r1.39 PrintCustTransPortrait.php --- PrintCustTransPortrait.php 30 Oct 2009 10:55:35 -0000 1.39 +++ PrintCustTransPortrait.php 3 Nov 2009 14:38:25 -0000 @@ -261,7 +261,7 @@ stockmaster.units, stockmaster.decimalplaces, stockmoves.discountpercent, - stockmoves.narrative, + stockmoves.narrative FROM stockmoves, stockmaster WHERE stockmoves.stockid = stockmaster.stockid @@ -871,7 +871,7 @@ (stockmoves.price * ' . $ExchRate . ') AS fxprice, stockmoves.narrative, stockmaster.units, - stockmaster.decimalplaces, + stockmaster.decimalplaces FROM stockmoves, stockmaster WHERE stockmoves.stockid = stockmaster.stockid @@ -902,7 +902,7 @@ stockmoves.qty as Quantity, stockmoves.discountpercent, ((1 - stockmoves.discountpercent) * stockmoves.price * ' . $ExchRate . ' * stockmoves.qty) AS fxnet, (stockmoves.price * ' . $ExchRate . ') AS fxprice, - stockmaster.units, + stockmaster.units FROM stockmoves, stockmaster WHERE stockmoves.stockid = stockmaster.stockid Tim Schofield wrote: > Hi Bogdan, > > I had picked up the first one already, but I have updated the second one. > > Thanks > Tim > > > 2009/11/1 Bogdan Stanciu <bogdanovidiu.stanciu@...>: > >> Hi there, >> >> >> Please find here two really small corrections, I just wanted to get rid >> of red stuff (errors) on my project's workspace :-)) >> >> >> thank you, >> >> >> >> Index: MRPCreateDemands.php >> =================================================================== >> --- MRPCreateDemands.php (revision 2673) >> +++ MRPCreateDemands.php (working copy) >> @@ -90,7 +90,7 @@ >> list($yyyy,$mm,$dd) = explode("/",$FormatedDistdate); >> } else if (strpos($FormatedDistdate,"-")) { >> list($yyyy,$mm,$dd) = explode("-",$FormatedDistdate); >> -} else else if (strpos($FormatedDistdate,".")) { >> +} else if (strpos($FormatedDistdate,".")) { >> list($yyyy,$mm,$dd) = explode(".",$FormatedDistdate); >> } >> $datearray[0] = $FormatedDistdate; >> Index: EDIProcessOrders.php >> =================================================================== >> --- EDIProcessOrders.php (revision 2673) >> +++ EDIProcessOrders.php (working copy) >> @@ -63,7 +63,7 @@ >> $FirstSegInGrp =0; >> $SegGroup =0; >> >> - $fp = fopen($_SERVER['DOCUMENT_ROOT'] . >> "/$rootpath/$_SESSION['EDI_Incoming_Orders']/$OrderFile",'r'); >> + $fp = fopen($_SERVER['DOCUMENT_ROOT'] . >> '/$rootpath/'.$_SESSION['EDI_Incoming_Orders'].'/'.$OrderFile,'r'); >> >> $SegID = 0; >> $SegCounter =0; >> @@ -78,7 +78,7 @@ >> while ($LineText = fgets($fp) AND $TryNextFile != True){ /* get >> each line of the order file */ >> >> $LineText = StripTrailingComma($LineText); >> - echo "<br>$LineText"; >> + echo '<br>'.$LineText; >> >> if ($SegTag != substr($LineText,0,3)){ >> $SegCounter=1; >> @@ -570,4 +570,4 @@ >> } >> } >> >> -?> >> +?> >> \ No newline at end of file >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Web-erp-developers mailing list >> Web-erp-developers@... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Web-erp-developers mailing list > Web-erp-developers@... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Web-erp-developers mailing list Web-erp-developers@... https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
|
|
Re: two corrections +a new oneThanks Bogdan,
I have updated this. It depends what sql mode mysql is running in. We should really develop for the strictest mode. Tim 2009/11/3 Bogdan Stanciu <bogdanovidiu.stanciu@...>: > i had this feeling :-) > > thank you! > > here another small one. actually, for my settings was a blocker, but i > see that the demo version works like that.. i might be too strict. > > ### Eclipse Workspace Patch 1.0 > #P CVS.webERP > Index: PrintCustTransPortrait.php > =================================================================== > RCS file: /cvsroot/web-erp/webERP/PrintCustTransPortrait.php,v > retrieving revision 1.39 > diff -u -r1.39 PrintCustTransPortrait.php > --- PrintCustTransPortrait.php 30 Oct 2009 10:55:35 -0000 1.39 > +++ PrintCustTransPortrait.php 3 Nov 2009 14:38:25 -0000 > @@ -261,7 +261,7 @@ > stockmaster.units, > stockmaster.decimalplaces, > stockmoves.discountpercent, > > - stockmoves.narrative, > + stockmoves.narrative > FROM stockmoves, > stockmaster > WHERE stockmoves.stockid = stockmaster.stockid > @@ -871,7 +871,7 @@ > (stockmoves.price * ' . $ExchRate . ') AS fxprice, > stockmoves.narrative, > stockmaster.units, > - stockmaster.decimalplaces, > + stockmaster.decimalplaces > FROM stockmoves, > stockmaster > WHERE stockmoves.stockid = stockmaster.stockid > @@ -902,7 +902,7 @@ > stockmoves.qty as Quantity, > stockmoves.discountpercent, ((1 - > stockmoves.discountpercent) * stockmoves.price * ' . $ExchRate . ' * > stockmoves.qty) AS fxnet, > (stockmoves.price * ' . $ExchRate . ') AS fxprice, > - stockmaster.units, > + stockmaster.units > FROM stockmoves, > stockmaster > WHERE stockmoves.stockid = stockmaster.stockid > > > Tim Schofield wrote: >> Hi Bogdan, >> >> I had picked up the first one already, but I have updated the second one. >> >> Thanks >> Tim >> >> >> 2009/11/1 Bogdan Stanciu <bogdanovidiu.stanciu@...>: >> >>> Hi there, >>> >>> >>> Please find here two really small corrections, I just wanted to get rid >>> of red stuff (errors) on my project's workspace :-)) >>> >>> >>> thank you, >>> >>> >>> >>> Index: MRPCreateDemands.php >>> =================================================================== >>> --- MRPCreateDemands.php (revision 2673) >>> +++ MRPCreateDemands.php (working copy) >>> @@ -90,7 +90,7 @@ >>> list($yyyy,$mm,$dd) = explode("/",$FormatedDistdate); >>> } else if (strpos($FormatedDistdate,"-")) { >>> list($yyyy,$mm,$dd) = explode("-",$FormatedDistdate); >>> -} else else if (strpos($FormatedDistdate,".")) { >>> +} else if (strpos($FormatedDistdate,".")) { >>> list($yyyy,$mm,$dd) = explode(".",$FormatedDistdate); >>> } >>> $datearray[0] = $FormatedDistdate; >>> Index: EDIProcessOrders.php >>> =================================================================== >>> --- EDIProcessOrders.php (revision 2673) >>> +++ EDIProcessOrders.php (working copy) >>> @@ -63,7 +63,7 @@ >>> $FirstSegInGrp =0; >>> $SegGroup =0; >>> >>> - $fp = fopen($_SERVER['DOCUMENT_ROOT'] . >>> "/$rootpath/$_SESSION['EDI_Incoming_Orders']/$OrderFile",'r'); >>> + $fp = fopen($_SERVER['DOCUMENT_ROOT'] . >>> '/$rootpath/'.$_SESSION['EDI_Incoming_Orders'].'/'.$OrderFile,'r'); >>> >>> $SegID = 0; >>> $SegCounter =0; >>> @@ -78,7 +78,7 @@ >>> while ($LineText = fgets($fp) AND $TryNextFile != True){ /* get >>> each line of the order file */ >>> >>> $LineText = StripTrailingComma($LineText); >>> - echo "<br>$LineText"; >>> + echo '<br>'.$LineText; >>> >>> if ($SegTag != substr($LineText,0,3)){ >>> $SegCounter=1; >>> @@ -570,4 +570,4 @@ >>> } >>> } >>> >>> -?> >>> +?> >>> \ No newline at end of file >>> >>> >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart your >>> developing skills, take BlackBerry mobile applications to market and stay >>> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >>> http://p.sf.net/sfu/devconference >>> _______________________________________________ >>> Web-erp-developers mailing list >>> Web-erp-developers@... >>> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>> >>> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Web-erp-developers mailing list >> Web-erp-developers@... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Web-erp-developers mailing list > Web-erp-developers@... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Web-erp-developers mailing list Web-erp-developers@... https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
|
|
Re: two corrections +a new onethank you!
i agree:-) Tim Schofield wrote: > Thanks Bogdan, > > I have updated this. It depends what sql mode mysql is running in. We > should really develop for the strictest mode. > > Tim > > > 2009/11/3 Bogdan Stanciu <bogdanovidiu.stanciu@...>: > >> i had this feeling :-) >> >> thank you! >> >> here another small one. actually, for my settings was a blocker, but i >> see that the demo version works like that.. i might be too strict. >> >> ### Eclipse Workspace Patch 1.0 >> #P CVS.webERP >> Index: PrintCustTransPortrait.php >> =================================================================== >> RCS file: /cvsroot/web-erp/webERP/PrintCustTransPortrait.php,v >> retrieving revision 1.39 >> diff -u -r1.39 PrintCustTransPortrait.php >> --- PrintCustTransPortrait.php 30 Oct 2009 10:55:35 -0000 1.39 >> +++ PrintCustTransPortrait.php 3 Nov 2009 14:38:25 -0000 >> @@ -261,7 +261,7 @@ >> stockmaster.units, >> stockmaster.decimalplaces, >> stockmoves.discountpercent, >> >> - stockmoves.narrative, >> + stockmoves.narrative >> FROM stockmoves, >> stockmaster >> WHERE stockmoves.stockid = stockmaster.stockid >> @@ -871,7 +871,7 @@ >> (stockmoves.price * ' . $ExchRate . ') AS fxprice, >> stockmoves.narrative, >> stockmaster.units, >> - stockmaster.decimalplaces, >> + stockmaster.decimalplaces >> FROM stockmoves, >> stockmaster >> WHERE stockmoves.stockid = stockmaster.stockid >> @@ -902,7 +902,7 @@ >> stockmoves.qty as Quantity, >> stockmoves.discountpercent, ((1 - >> stockmoves.discountpercent) * stockmoves.price * ' . $ExchRate . ' * >> stockmoves.qty) AS fxnet, >> (stockmoves.price * ' . $ExchRate . ') AS fxprice, >> - stockmaster.units, >> + stockmaster.units >> FROM stockmoves, >> stockmaster >> WHERE stockmoves.stockid = stockmaster.stockid >> >> >> Tim Schofield wrote: >> >>> Hi Bogdan, >>> >>> I had picked up the first one already, but I have updated the second one. >>> >>> Thanks >>> Tim >>> >>> >>> 2009/11/1 Bogdan Stanciu <bogdanovidiu.stanciu@...>: >>> >>> >>>> Hi there, >>>> >>>> >>>> Please find here two really small corrections, I just wanted to get rid >>>> of red stuff (errors) on my project's workspace :-)) >>>> >>>> >>>> thank you, >>>> >>>> >>>> >>>> Index: MRPCreateDemands.php >>>> =================================================================== >>>> --- MRPCreateDemands.php (revision 2673) >>>> +++ MRPCreateDemands.php (working copy) >>>> @@ -90,7 +90,7 @@ >>>> list($yyyy,$mm,$dd) = explode("/",$FormatedDistdate); >>>> } else if (strpos($FormatedDistdate,"-")) { >>>> list($yyyy,$mm,$dd) = explode("-",$FormatedDistdate); >>>> -} else else if (strpos($FormatedDistdate,".")) { >>>> +} else if (strpos($FormatedDistdate,".")) { >>>> list($yyyy,$mm,$dd) = explode(".",$FormatedDistdate); >>>> } >>>> $datearray[0] = $FormatedDistdate; >>>> Index: EDIProcessOrders.php >>>> =================================================================== >>>> --- EDIProcessOrders.php (revision 2673) >>>> +++ EDIProcessOrders.php (working copy) >>>> @@ -63,7 +63,7 @@ >>>> $FirstSegInGrp =0; >>>> $SegGroup =0; >>>> >>>> - $fp = fopen($_SERVER['DOCUMENT_ROOT'] . >>>> "/$rootpath/$_SESSION['EDI_Incoming_Orders']/$OrderFile",'r'); >>>> + $fp = fopen($_SERVER['DOCUMENT_ROOT'] . >>>> '/$rootpath/'.$_SESSION['EDI_Incoming_Orders'].'/'.$OrderFile,'r'); >>>> >>>> $SegID = 0; >>>> $SegCounter =0; >>>> @@ -78,7 +78,7 @@ >>>> while ($LineText = fgets($fp) AND $TryNextFile != True){ /* get >>>> each line of the order file */ >>>> >>>> $LineText = StripTrailingComma($LineText); >>>> - echo "<br>$LineText"; >>>> + echo '<br>'.$LineText; >>>> >>>> if ($SegTag != substr($LineText,0,3)){ >>>> $SegCounter=1; >>>> @@ -570,4 +570,4 @@ >>>> } >>>> } >>>> >>>> -?> >>>> +?> >>>> \ No newline at end of file >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>>> is the only developer event you need to attend this year. Jumpstart your >>>> developing skills, take BlackBerry mobile applications to market and stay >>>> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >>>> http://p.sf.net/sfu/devconference >>>> _______________________________________________ >>>> Web-erp-developers mailing list >>>> Web-erp-developers@... >>>> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>>> >>>> >>>> >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart your >>> developing skills, take BlackBerry mobile applications to market and stay >>> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >>> http://p.sf.net/sfu/devconference >>> _______________________________________________ >>> Web-erp-developers mailing list >>> Web-erp-developers@... >>> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>> >>> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Web-erp-developers mailing list >> Web-erp-developers@... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Web-erp-developers mailing list > Web-erp-developers@... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Web-erp-developers mailing list Web-erp-developers@... https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
| Free embeddable forum powered by Nabble | Forum Help |