mspnp/cqrs-journey-code — pull request #418 by fsimonazzi (2012-05-15 20:11:46+00:00)
Title: Show the available seats in the ui

#386 #413

Show the "Available" column when choosing the seats (not on the registration and billing page as the designs also show - it's not a trivial addition without refactoring the page, and that piece of information is not that useful there).

Updates the ConferenceViewModelGenerator to handle the events from the seat availability to update the Available seats.

Adds an AvailableQuantity column to the read model on the conference seats. This is the only schema change. Populating this column requires replaying the events for each seat availability aggregate root, which is not part of this pull request.

Updates the javascript used to calculate the total in the client so that it doesn't break when there are no seats available.