rittamdebnath / bookyourseats Goto Github PK
View Code? Open in Web Editor NEWIt is a AngularJs implementation of BookMyShow.
It is a AngularJs implementation of BookMyShow.
when the user clicks for the first time on the second last seat in a row , two seats are selected automatically but when i go in the next row and select the last 3rd seat in that row, remaining two seats should be selected at once.
that means even on the second click the user should be able to select the remaining seats automatically if the leftSeats are more than 1.
Blocked Seats should be visible when the user changes the seat quantiy and also the seat quality. the user should not be able to uncheck or change the blocked seats once booked.
when the user clicks on the finish button after the selection the storeSeat function in the quantityModuleController
should execute and in that function the logic should check each and every seat and check whether it is checked or not if it is checked then make it uncheck and the blocked should be true.
thus whenever the user selects new pair of options then the user should see the blocked seats as grey in color and should be disabled from clicking as shown in the GIF.
lets say that user have selected 3 seat quantity and chose to select from premium then the user should not be able to select one seat in premium then jump to 'standard' and select the remaining two in standard seat quality.
Important
If you click in between two booked seats and you'd like to select more then the available space it will incorrectly check booked seats. The followin screenshot is before clicking seat no. 6:
And afterward it will look like this and no seat available to select:
I think that's easy to add to the border calculation. I'll add this asap.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.