Permalink
Browse files

fix

  • Loading branch information...
Noel Rappin
Noel Rappin committed Dec 31, 2012
1 parent 4ab97f7 commit c86fc9193d55972ba0c76ad5e2f441868ba282ad
Showing with 2 additions and 0 deletions.
  1. +2 −0 app/assets/javascripts/backbone/models/order.js
@@ -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");

0 comments on commit c86fc91

Please sign in to comment.