Hei Tommy!

Well, its Outlook Express who insist that any line beginning with // is a url, and 
since it's not http or ftp, it sure is file:// :_)) 

Thanks! I suppose I can just do what you did, so that's sorted out. 

Cool with your project. I noticed you had some problem with the COD option. Did you 
work it out?  

There was a vote on the list, and Leon agreed to put COD into FreeTrade. If what you 
did is good, you shuld mail it as an atachment to -jj or get CVS access. Talk to -jj 
or Leon, I don't know what they are thinking.- It's a pain to have the COD as a fix, 
because FT do change.

Yea! TradeIT have the best Open Sorce webstore up and running, so you are one the 
Cutting Edge! 


Bjarne



----- Original Message ----- 
From: "Tommy TradeIT" <[EMAIL PROTECTED]>
To: "FreeTrade" <[EMAIL PROTECTED]>
Sent: Sunday, September 10, 2000 11:15 PM
Subject: Re: [FreeTrade] function showTotals


> Hi Bjarne
> I did like this, But you hav to set the format money value in the
> GLobal_settings to be KR and the thousand seperator with a point and not
> comma on the last value.
> Then the output should be Norwegian.
> I ve rebuilded the whole calculate total file to Norwegian, so if you liek
> you can get access to my files in Norwegian.
> via my FTP.
> 
> Anyway this works for me..
> 
> 
> function showTotals($total)
>  {
>   file://sort the array by fee name
>   ksort($total);
> 
>   file://print items total
>   printTableRow("Artikler",
>    formatMoney($total["Items"]),
>    FALSE,
>    "font-weight: bold;",
>    "text-align: right;");
> 
>   file://print fees
>   reset($total);
>   while(list($key) = each($total))
>   {
>    if(($key != "Items") AND ($key != "Grand"))
>    {
>     printTableRow($key,
>      formatMoney($total[$key]),
>      FALSE,
>      "font-weight: bold;",
>      "text-align: right;");
>    }
>   }
> 
>   file://print grand total
>   printTableRow("", "<hr style=\"color: black;\">", FALSE);
>   printTableRow("� betale",
>    formatMoney($total["Grand"]),
>    FALSE,
>    "font-weight: bold;",
>    "text-align: right;");
> 
>   return(TRUE);
>  }
> ----- Original Message -----
> From: "Bjarne Hansen" <[EMAIL PROTECTED]>
> To: "FreeTrade" <[EMAIL PROTECTED]>
> Sent: Saturday, September 09, 2000 7:26 PM
> Subject: [FreeTrade] function showTotals
> 
> 
> Hi!
> I have a  problem with this function. There are no lanuage refrenses in
> this, so it is english on my pages.
> 
> 
> May I ask for some help here? Where would I put Norwegian words. I expect
> this will break?
> 
> function showTotals($total)
> {
> file://sort the array by fee name
> ksort($total);
> file://print items total
> printTableRow("Items",
> formatMoney($total["Items"]),
> FALSE,
> "font-weight: bold;",
> "text-align: right;");
> file://print fees
> reset($total);
> while(list($key) = each($total))
> {
> if(($key != "Items") AND ($key != "Grand"))
> {
> printTableRow($key,
> formatMoney($total[$key]),
> FALSE,
> "font-weight: bold;",
> "text-align: right;");
> }
> }
> file://print grand total
> printTableRow("", "<hr style=\"color: black;\">", FALSE);
> printTableRow("Grand Total",
> formatMoney($total["Grand"]),
> FALSE,
> "font-weight: bold;",
> "text-align: right;");
> return(TRUE);
> }
> 
> 
> 
> ------------------------------------------------------------
> To subscribe:    [EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Site:            http://www.working-dogs.com/freetrade/
> Problems?:       [EMAIL PROTECTED]
> 
> 
> 
> 
> ------------------------------------------------------------
> To subscribe:    [EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Site:            http://www.working-dogs.com/freetrade/
> Problems?:       [EMAIL PROTECTED]



------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to