Elxis CMS Forum

Extensions => Components => Topic started by: wieyoga on January 18, 2014, 07:11:28

Title: Currency on IOSR4
Post by: wieyoga on January 18, 2014, 07:11:28
Hi there,

I have found the wrong information for currency display on reservation report.
on default currency i had setup to USD $ but on reservation report the currency display in EUR ,
below the screenshot.

(http://easyresv.com/rt.jpg)

Title: Re: Currency on IOSR4
Post by: QAZI on January 22, 2014, 16:43:26
Hi TEAM

I have found the  information for currency display on reservation report.
on default currency i had setup to INR but on reservation report the currency display in EUR ,

THANKS IN ADVANCE
Title: Re: Currency on IOSR4
Post by: datahell on January 22, 2014, 20:50:38
Yes, you are right. This only happens in reservation edit page. It doesn't affect anything as prices are entered in the default currency, just the currency display is wrong. I am fixing it right now. Wait for my reply.

EDIT
To solve the problem do the following.
Open file components/com_reservations/ext/hotels/views/abookings.html.php
Go to line 357
Change this:
$cur = $iosr->getParam('CURRENCY', 'EUR');
To this:
$cur = $iosr->getParam('currency', 'EUR');

Save the file and the problem will be solved.

Do the same on this file:
components/com_reservations/ext/hotels/views/hotelier.html.php
on lines 2140 and 2549


Thanks for the bug report!
Title: Re: Currency on IOSR4
Post by: wieyoga on January 23, 2014, 04:14:06
Great thanks :-)

i just want to know, does the currency converter is for reference only?
i had test booking using IDR Curency module ( default rate in USD ) on the booking page the curency display in IDR.
but on the final invoice the rate display in USD also in ihotelier side.
 in some experience this will confusing the customer when they  booking using different currency
Title: Re: Currency on IOSR4
Post by: datahell on January 23, 2014, 12:42:42
If the currency is shown next to the price you don't confuse anyone.
In front-end pages IOSR shows prices in the user's selected currency. If he hasn't picked a different currency then he sees them in the default currency.

In administrators' and hoteliers' control panels the prices are always shown in the default currency. All prices are always entered in the default currency. Payments also performed in the default currency. In some front-end pages (mostly during booking procedure) if the user has picked a different currency IOSR displays him the price in both the selected and the default currencies.
Title: Re: Currency on IOSR4
Post by: wieyoga on January 23, 2014, 12:53:27
Thank you is clear now  :)