Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Noel Rappin committed Dec 31, 2012
1 parent 4ab97f7 commit c86fc91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/assets/javascripts/backbone/models/order.js
Expand Up @@ -38,9 +38,11 @@ TimeTravel.Models.Order = Backbone.Model.extend({
this.set("lengthOfStay", days)
},

//##sendable
isSendable: function() {
return this.get("hotel") && this.get("lengthOfStay");
},
//##sendable

calculatePrice: function() {
var prices = this.get("extras").pluck("price");
Expand Down

0 comments on commit c86fc91

Please sign in to comment.