Re: [Fwd: Re: [webERP-users] Upgrade Problem Fix!]

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [Fwd: Re: [webERP-users] Upgrade Problem Fix!]

weberp
OK I fixed this one!

Phil

On Fri, 07 Oct 2005 21:10, you wrote:

> /Default Tax Category
> $sql = 'SELECT taxcatid, taxcatname FROM taxcategories ORDER BY
> taxcatname'; $ErrMsg = 'Could not load tax categories table';
> $result = DB_query($sql,$db,$ErrMsg);
> echo '<TR><TD>' . _('Default Tax Category') . ':</TD>';
> echo '<TD><SELECT Name="X_DefaultTaxCategory">';
> if( DB_num_rows($result) == 0 ) {
>         echo '<OPTION SELECTED VALUE="">'._('Unavailable');
> } else {
>         while( $row = DB_fetch_array($result) ) {
>                 echo '<OPTION '.($_SESSION['DefaultTaxCategory'] ==
> $row['taxcatid']?'SELECTED
> ':'').'VALUE="'.$row['taxcatid'].'">'.$row['taxcatname'];
>         }
> }
> echo '</SELECT></TD>
>         <TD>' . _('This is the tax category used for entry of supplier
> invoices and the category at which freight attracts tax') .'</TD></TR>';

--
Phil Daintree
webERP Project Admin


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
web-ERP-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/web-erp-users
Reply | Threaded
Open this post in threaded view
|

Re: [Fwd: Re: [webERP-users] Upgrade Problem Fix!]

eculp
Quoting Phil Daintree <[hidden email]>:

> OK I fixed this one!

I assume that we should get this from cvs?

thanks,

ed

>
> Phil
>
> On Fri, 07 Oct 2005 21:10, you wrote:
>> /Default Tax Category
>> $sql = 'SELECT taxcatid, taxcatname FROM taxcategories ORDER BY
>> taxcatname'; $ErrMsg = 'Could not load tax categories table';
>> $result = DB_query($sql,$db,$ErrMsg);
>> echo '<TR><TD>' . _('Default Tax Category') . ':</TD>';
>> echo '<TD><SELECT Name="X_DefaultTaxCategory">';
>> if( DB_num_rows($result) == 0 ) {
>>         echo '<OPTION SELECTED VALUE="">'._('Unavailable');
>> } else {
>>         while( $row = DB_fetch_array($result) ) {
>>                 echo '<OPTION '.($_SESSION['DefaultTaxCategory'] ==
>> $row['taxcatid']?'SELECTED
>> ':'').'VALUE="'.$row['taxcatid'].'">'.$row['taxcatname'];
>>         }
>> }
>> echo '</SELECT></TD>
>>         <TD>' . _('This is the tax category used for entry of supplier
>> invoices and the category at which freight attracts tax') .'</TD></TR>';
>
> --
> Phil Daintree
> webERP Project Admin
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> web-ERP-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/web-erp-users
>





-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
web-ERP-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/web-erp-users