hajonsoft / hajonsoft-tiger

🐯 Home for Dove and Humming Bird collectively named Nest
2 stars 0 forks source link

Eagle to firebase direct #353

Open hajonsoft opened 2 years ago

hajonsoft commented 2 years ago

Eagle already has access_token issued by firebase. We want to store the mofaNumber, Enumber, EhajNumber, Reservation number back to firebase directly from eagle.

Create a function that takes a firebase path to a traveller and patches the record with additional values.

Use this implementation to update mofaNumber when importing from way to umrah, gabul ya hajj and tawaf.

Then use the same function to store eNumber when working with hajj smart form