| Server IP : 216.92.14.13 / Your IP : 216.73.216.171 Web Server : Apache System : Linux vps4089.pairvps.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : rmlac2fmr ( 1040637) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/home/rmlac2fmr/ |
Upload File : |
import json
db = json.load(open("/home/rmlac2fmr/public_html/jn.com/ops/data/db.json"))
flights = [r for r in db["travelRequests"] if r.get("travelMethod") in ["flight","fly","fly_self"] and r.get("showId") == "S2"]
print(f"Flight requests: {len(flights)}")
for r in flights:
bd = r.get("bookingDetails", {})
in1 = bd.get("inbound1") or bd.get("in1") or {}
locator = in1.get("locator", "")
print(f" {r.get('submittedName','?'):25s} status:{r.get('status','?'):15s} locator:{locator or 'none'}")