Reply To: Custom price: pb

OK, finally back from holidays and back to work. I tested it on a clean install of WordPress, with and without language tags. I have upgraded to the latest beta also. But there is a bug in the price calculation on the reservation edit screen:

View screenshot

This is my form config:


[hidden resource 6]
[hidden form_room]
[error]
[lang value="Boekingsinformatie" en_US="Booking information" de_DE="Buchungsinformationen"]

[lang value="Aankomst" en_US="Arrival" de_DE="Anreise"]:
[lang value="Vertrek" en_US="Departure" de_DE="Abfahrt"]:
[lang value="Personen" en_US="Persons" de_DE="Personen"]:
[lang value="Basisprijs" en_US="Basic price" de_DE="Grundpreis"]:
[lang value="Totaalprijs" en_US="Total price" de_DE="Gesamtpreis"]: [show_price]

[lang value="Aankomstdatum" en_US="Date of arrival" de_DE="Anreisedatum"]

[date-from]

[lang value="Aantal nachten" en_US="Amount of nights" de_DE="Nächte"]

[units 1 14]

[lang value="Volwassenen" en_US="Adults" de_DE="Erwachsenen"]
[lang value="Vanaf 12 jr" en_US="From 12 yrs" de_DE="Ab 12 Jahre"]
[adults 20 40]

[lang value="Kinderen" en_US="Children" de_DE="Kinder"]
[lang value="Tot 12 jr, maximaal 6 kinderen per 20 volw." en_US="To 12 yrs, maximum 6 kids per 20 adults" de_DE="Bis 12 Jahre, maximal 6 Kinder pro 20 Erwachsenen"]
[childs 0 12]

[lang value="Faciliteiten" en_US="Facilities" de_DE="Anlagen"]

[lang value="Schoonmaakbeurten" en_US="Cleanings" de_DE="Reinigungen"]
[lang value="Aantal, prijs per keer" en_US="Amount, price per time" de_DE="Aanzahl, Preis pro Zeit"]
[price select Schoonmaakbeurten "1:175,2:350,3:525"]

[lang value="Ontbijt" en_US="Breakfast" de_DE="Frühstück"]
[lang value="Per persoon, per dag" en_US="Per person, per day" de_DE="Pro Person, pro Tag"]
[price select Ontbijt "Nee:0,Ja:5" pb]

[lang value="Borg" en_US="Deposit" de_DE="Anzahlung"]
[lang value="Per reservering" en_US="Per booking" de_DE="Pro Reservierung"]
[price select Deposit "TEST:500"]

[lang value="Toeristenbelasting" en_US="Tourist tax" de_DE="Kurtaxe"]
[lang value="Per persoon, per dag" en_US="Per person, per day" de_DE="Pro Person, pro Tag"]
[price select Touristtax "TEST:1" pb]

[lang value="Persoonlijke informatie" en_US="Personal information" de_DE="Persönliche Informationen"]

[lang value="Naam" en_US="Name" de_DE="Name"]
[lang value="Voor- en achternaam" en_US="First and last name" de_DE="Vor- und Nachname"]
[thename]

E-mail

[email]

[lang value="Telefoon" en_US="Telephone" de_DE="Telefon"]

[custom text Phone *]
[lang value="Adres" en_US="Address" de_DE="Adresse"]

[custom text Address *]

[lang value="Postcode" en_US="Postcode" de_DE="Postleitzahl"]

[custom text Postcode *]

[lang value="Woonplaats" en_US="City" de_DE="Wohnort"]

[custom text City *]

[lang value="Land" en_US="Country" de_DE="Land"]

[country value="NL"]

[lang value="Opmerkingen" en_US="Comments" de_DE="Kommentare"]
[lang value="Optioneel bericht" en_US="Optional message" de_DE="Optionale Mitteilung"]
[custom textarea Message]
[lang value="Beveiligingscontrole" en_US="Safety check" de_DE="Sicherheitscheck"]
[lang value="Typ de volgende letters/cijfers over" en_US="Type the following characters" de_DE="Geben Sie die folgenden Buchstaben / Zahlen"]
[captcha]

[submit [lang value="Verzenden" en_US="Send" de_DE="Senden"]]