[{"data":1,"prerenderedAt":137},["ShallowReactive",2],{"ui-script-update-number-adults-en":3},{"id":4,"title":5,"body":6,"description":124,"extension":125,"meta":126,"navigation":132,"path":133,"seo":134,"stem":135,"__hash__":136},"content/scripts/en/update-number-adults.md","Update Number Adults",{"type":7,"value":8,"toc":115},"minimark",[9,13,18,21,25,46,50,70,74,91,95],[10,11,12],"p",{},"This script changes the default number of adults on a new Little Hotelier reservation from 0 to 2. It is for front desk staff who create walk-in and phone bookings by hand, where most reservations are for two people and a forgotten adults field causes trouble later.",[14,15,17],"h2",{"id":16},"the-problem-it-solves","The problem it solves",[10,19,20],{},"When you create a reservation in Front Desk, the adults field can start at 0. If nobody changes it, the booking is saved with no adults. Zero adults can throw off guest registration, breakfast counts and any tourist tax charged per person, and fixing it afterwards means finding and reopening each reservation.",[14,22,24],{"id":23},"what-changes","What changes",[26,27,28,37,40,43],"ul",{},[29,30,31,32,36],"li",{},"When a reservation page loads, the script looks at the ",[33,34,35],"strong",{},"number of adults"," field.",[29,38,39],{},"If it is 0, the script sets it to 2 and tells Little Hotelier the value changed, as if you had typed it.",[29,41,42],{},"If it holds any other number, it is left alone, so existing reservations are not touched.",[29,44,45],{},"You can still change the value to 1, 3 or any other number before saving.",[14,47,49],{"id":48},"how-to-install","How to install",[10,51,52,53,56,57,62,63,69],{},"Install the free Tampermonkey extension, press ",[33,54,55],{},"Install on Tampermonkey"," on this page, confirm, and reload Little Hotelier. The ",[58,59,61],"a",{"href":60},"/tools/ui/instructions","installation guide"," shows each step. The script runs on Front Desk pages at app.littlehotelier.com and only acts when the adults field is on the page. It is free and open source: ",[58,64,68],{"href":65,"rel":66},"https://github.com/JuanmanDev/TampermonkeyLittleHotelier/blob/main/frontdesk/reservationDetails/updateNumberAdults.user.js",[67],"nofollow","read the code on GitHub",".",[14,71,73],{"id":72},"good-to-know","Good to know",[26,75,76,79,82,85,88],{},[29,77,78],{},"The value 2 is fixed in the code. If your property mostly sells single rooms or beds, edit the number in the Tampermonkey editor.",[29,80,81],{},"The check runs once, half a second after the page loads. If a reservation form opens later without a page reload, the field is not changed.",[29,83,84],{},"It only changes the field in the form. Nothing is saved until you press Save.",[29,86,87],{},"The number of children is not changed.",[29,89,90],{},"It works the same on desktop and touch screens. It stores nothing and sends nothing anywhere.",[14,92,94],{"id":93},"related","Related",[26,96,97,103,109],{},[29,98,99],{},[58,100,102],{"href":101},"/blog/hotel-front-desk-checklist-automation","Hotel front desk daily checklist for Little Hotelier",[29,104,105],{},[58,106,108],{"href":107},"/tools/ui/easy-save-province-country","Easy Save Province and Country",[29,110,111],{},[58,112,114],{"href":113},"/blog/little-hotelier-tips","Little Hotelier tips and hidden features",{"title":116,"searchDepth":117,"depth":117,"links":118},"",2,[119,120,121,122,123],{"id":16,"depth":117,"text":17},{"id":23,"depth":117,"text":24},{"id":48,"depth":117,"text":49},{"id":72,"depth":117,"text":73},{"id":93,"depth":117,"text":94},"Sets the adults field to 2 when a Little Hotelier reservation form opens with 0 adults, so a booking is never saved without guests by mistake at the front desk.","md",{"github":65,"category":127,"images":128},"Reservation Details",{"before":129,"after":130,"gallery":131},"/images/scripts/update-number-adults/from.png","/images/scripts/update-number-adults/to.png",[129,130],true,"/scripts/en/update-number-adults",{"title":5,"description":124},"scripts/en/update-number-adults","-PFsTNo4Oxyn1CBoyNLC3QZhUiKu526M6Ijy7wWYn2E",1792099658868]