The footer position was going up at the restaurant's page. It was happening because the div.restaurant-items has the position:absolute style's attribute and the footer was placed right after the div.body. Now the div.body will have at least the same height that the div.restaurant-items has. (app.js:343)
Added the functionality that shows the help little help message (Issue 520).
Added a black div (kind of a shield) that will comes up behind the modal form.
Fixes some bugs at the administration of suggestions.
Issue 635: Suggestion.
Added the Suggestion's model.
Added the Suggestion's controller.
Added some Suggestion's viewers.
Added the Suggestion's options at the admin menu.
Added some CSS classes at the admin.css.
Added the object App.suggestions at the admin.js file.
* item descriptions are now being stored
* improved the CSS for the admin at 1024x768
* adding helper to identify Restaurant model in the controller
* fixed the JS that was wrongly displaying the stored description
I added new properties at the '.home-tagline h2' selector (style.css:220).
I also added a new selector '.home-tagline h2 strong' and removed the inline style of the javascript string (app.js:17).
At the javascript side is being used the App.ceil function at the
result of the sum of the products's price (app.js:1281). The same
function is being used to round the values of the tax (app.js:1315) and
tip (app.js:1324). But at the PHP side this function Util::ceil was
called just at the sum of all itens (products price + tax + tip). So I
put the Util::ceil after the sum of the products price (Order.php:45),
after the tax calculation (Order.php:63) and after the tip calculation
(Order.php:58).
If the user changed the delivery method to takeout and the payment is
card the default tip will be 0%. If the delivery method is delivery and
the payment is card the default tip will be 15% (variable
App.order.tip). If the user had changed the tip value the default value
will be chosed one.
Problem only happened in Chrome/webkit browsers. The sort order was only using the open/close values, rewrote the sort function
* addded the sort order information to the restaurants export in the Community model to use that value in the JS/frontend to sort them
* rewrite the way the order/open information is used to sort the restaurants in the JS/frontend
* added margin in the admin/restaurant hours fields to make space, not with as it looked bad
* removed the in the admin/restaurant hours fields as they were looking bad for the new element, and the code was complex to read
* removed the 2nd param sent to the App.unFormatTime() to store 24:00 instead of 00:00 for the closing hour, reverting the changes from 09/09/2012 as they didn't work
* the "You are paying:" line is hidden if no ittems in cart
* the subtotal shows now only 2 decimals
* updateTotal() method updates the text for the stored user too