1

(7 replies, posted in Report Bugs here)

@itronics
I understand what's happening and why you choose to use popups and have them close to return to the main working window. I guess I'm wondering why you chose to use the same function for back and close. Is it not possible to write a function that allows both to happen for someone who chooses to run FA in a popup?

It's certainly not a big problem for me, and if you can't or won't change it I'll still use FA, but because I use popup windows a lot - I don't need every window to have menu, bookmarks, etc. - I opened this thread because I thought it was a bug because I've never had this problem before. Now I understand it's a design decision, but I feel that it must be possible to do both, if the code were changed. So I ask again, if there are no adverse affects by allowing both, could you, Joe, or someone with the right experience, provide the code that would work? You don't have to change the application for everyone, I'll just change the code in my little setup, and the solution can be available here to anyone else wanting the same ability.

Thanks again.

2

(7 replies, posted in Report Bugs here)

FA was necer planned to be used in a popup window.

For you maybe.

Though I've found the code that controls this behaviour I can prevent the back links from closing my popup window, but at the expense of the close links not working.

I've no idea about javascript so I'm not sure how to get both to work. If there are no adverse affects by allowing both, could you, Joe, or someone with the right experience, provide the code that would work?

Currently it's...

function goBack(deep) {
    if (window.opener)
     window.close();
    else
     window.history.go(deep || -1);
}

Many thanks.

3

(7 replies, posted in Report Bugs here)

Joe,

Is that to say it can't be fixed, or is that just why it's happening? Is such a thing a browser restriction or a code feature?

4

(7 replies, posted in Report Bugs here)

I open my locally hosted FrontAccounting (v2.3.17) in a popup window generated as follows

<a href="javascript:void(0)" onclick="window.open('https://frontaccounting.myhomeserver.net','FrntAcc','scrollbars=yes,height=569,width=1032,left=1706,top=430');return false;">FrontAccounting</a>

Whenever I click on any of the "Back" links, my FrontAccounting window closes. This is happening in both Firefox (v22.0) and Chrome (Version 28.0.1500.71 m).

Any ideas how to fix this?

Many thanks.

Perhaps a bit of a newbie question, and, to add to the confusion, I'm not an accountant. So with that said, here goes...

I created a Direct Purchase Invoice and then paid it straight away via Supplier Payment Entry. I then displayed the General Ledger Transaction Details and found the following:

Account Code     Account Name     Dimension      Debit         Credit     Memo
2100         Trade Creditors                            56,730.00
1065         Cash                                                            56.00
4450         Foreign Exchange Profit                                   56,674.00
Total                                                         56,730.00     56,730.00

My question is, why, when I selected the 'From Bank' of Cash (a/c code 1065), did it also pick up the Foreign Exchange Profit (a/c code 4450)? I do have 3 currencies set up in the system, but have never seen or manually done anything with this Foreign Exchange Profit account before. The original invoice and this corresponding payment were made in the company's 'Home Currency'. In addition, the goods received are all entered into the system in the company's 'Home Currency'. It's only for a completely different account where the currency is different, and I went nowhere near that account during this purchase and payment.

Then, if you can answer the why, could you also advise me how I can make it so that it doesn't appear in Supplier Payments again, so that next time I just get the 'From Bank' account?

I don't know if you need more detail, but I'm happy to supply it if you do.

Many thanks,
newbie Martin