[{"data":1,"prerenderedAt":158},["ShallowReactive",2],{"ui-script-easy-save-province-country-en":3},{"id":4,"title":5,"body":6,"description":144,"extension":145,"meta":146,"navigation":153,"path":154,"seo":155,"stem":156,"__hash__":157},"content/scripts/en/easy-save-province-country.md","Easy Save Province and Country",{"type":7,"value":8,"toc":135},"minimark",[9,13,18,21,25,28,69,73,93,97,111,115],[10,11,12],"p",{},"This script makes it faster to complete guest details in a Little Hotelier reservation, especially for Spanish guests. When you click the province field, it shows a list of Spanish provinces to tap, and picking one also sets the country to Spain. It is built for front desk staff at properties in Spain and is designed to be easy to use on a tablet.",[14,15,17],"h2",{"id":16},"the-problem-it-solves","The problem it solves",[10,19,20],{},"For Spanish guests, Little Hotelier needs a province as well as the country, and reports such as the INE occupancy survey group guests by province of residence. Typing province names by hand leads to spelling variants (Vizcaya or Bizkaia, Orense or Ourense), the country list is long to scroll, and an additional guest's form will not save while its name fields are empty.",[14,22,24],{"id":23},"what-changes","What changes",[10,26,27],{},"On the reservation edit screen in Front Desk:",[29,30,31,39,45,51,57,63],"ul",{},[32,33,34,38],"li",{},[35,36,37],"strong",{},"Province picker:"," focusing the province field opens a grid with the 50 Spanish provinces plus Ceuta and Melilla. Typing filters it, and common alternatives such as Gerona, Lérida, Seville, Mallorca or Tenerife find the right province.",[32,40,41,44],{},[35,42,43],{},"Country set for you:"," choosing a province sets the guest's country to Spain.",[32,46,47,50],{},[35,48,49],{},"Country picker:"," the country field opens a searchable grid showing each country in Spanish, with the English name below.",[32,52,53,56],{},[35,54,55],{},"Empty names filled:"," when you pick a province or country, empty first and last name fields on that guest form get the main guest's name, or an underscore \"_\" if that is empty too, so the form can be saved.",[32,58,59,62],{},[35,60,61],{},"Guest forms opened:"," collapsed guest forms are expanded automatically and the cursor goes to the province field.",[32,64,65,68],{},[35,66,67],{},"Touch-friendly buttons:"," the add-guest button and the expand arrows are larger, and the red cross to remove a guest is always visible.",[14,70,72],{"id":71},"how-to-install","How to install",[10,74,75,76,79,80,85,86,92],{},"You need the free Tampermonkey extension. Press ",[35,77,78],{},"Install on Tampermonkey",", confirm, and reload the reservation. The ",[81,82,84],"a",{"href":83},"/tools/ui/instructions","installation guide"," shows every step. The script runs only on reservation edit pages (app.littlehotelier.com/extranet/properties/.../reservations/.../edit). It is free and open source: ",[81,87,91],{"href":88,"rel":89},"https://github.com/JuanmanDev/TampermonkeyLittleHotelier/blob/main/frontdesk/reservationDetails/easySaveProvinceCountry.user.js",[90],"nofollow","read the code on GitHub",".",[14,94,96],{"id":95},"good-to-know","Good to know",[29,98,99,102,105,108],{},[32,100,101],{},"The province picker only appears when the guest's country is empty or Spain. For other countries the field works as normal.",[32,103,104],{},"The search box and country names are in Spanish, whatever language Little Hotelier uses.",[32,106,107],{},"Filled name fields copy the main guest's name. Correct them if the additional guest has a different name.",[32,109,110],{},"Changes are made in the form only. Nothing is saved until you press Save, and the script stores nothing.",[14,112,114],{"id":113},"related","Related",[29,116,117,123,129],{},[32,118,119],{},[81,120,122],{"href":121},"/blog/ses-hospedajes-little-hotelier","SES Hospedajes with Little Hotelier",[32,124,125],{},[81,126,128],{"href":127},"/blog/ine-hotel-occupancy-survey","How to fill in the INE hotel occupancy survey",[32,130,131],{},[81,132,134],{"href":133},"/tools/ui/show-chekin","Chekin Connection",{"title":136,"searchDepth":137,"depth":137,"links":138},"",2,[139,140,141,142,143],{"id":16,"depth":137,"text":17},{"id":23,"depth":137,"text":24},{"id":71,"depth":137,"text":72},{"id":95,"depth":137,"text":96},{"id":113,"depth":137,"text":114},"Spanish province and country picker for Little Hotelier guest forms: one tap sets the province and Spain, fills empty guest names and opens each guest form.","md",{"github":88,"category":147,"images":148},"Reservation Details",{"before":149,"after":150,"gallery":151},"/images/scripts/easy-save-province-country/from.webp","/images/scripts/easy-save-province-country/to.webp",[149,150,152],"/images/scripts/easy-save-province-country/three.webp",true,"/scripts/en/easy-save-province-country",{"title":5,"description":144},"scripts/en/easy-save-province-country","kFC8UOBJkIq8hrqDKPbD9Hf0gvDGhVpwreM0BY3l-h0",1792099645725]