diff --git a/app/assets/stylesheets/orgiami.scss b/app/assets/stylesheets/orgiami.scss index 70e1fe8b..327c5897 100644 --- a/app/assets/stylesheets/orgiami.scss +++ b/app/assets/stylesheets/orgiami.scss @@ -25,3 +25,7 @@ .long{ width:100% } + +.purple { + background-color:#7a62d3; +} diff --git a/app/controllers/origami/payments_controller.rb b/app/controllers/origami/payments_controller.rb index a09b81fe..3fa3aa9b 100644 --- a/app/controllers/origami/payments_controller.rb +++ b/app/controllers/origami/payments_controller.rb @@ -2,7 +2,6 @@ class Origami::PaymentsController < BaseOrigamiController def index - end def create @@ -11,4 +10,5 @@ class Origami::PaymentsController < BaseOrigamiController def show end + end diff --git a/app/views/origami/home/index.html.erb b/app/views/origami/home/index.html.erb index 78f59422..4897407d 100644 --- a/app/views/origami/home/index.html.erb +++ b/app/views/origami/home/index.html.erb @@ -312,14 +312,15 @@ $( document ).ready(function() { window.location.href = '/origami/request_bills/'+ table_or_order_id return false; }); + + $('#pay').click(function() { + window.location.href = '/origami/sale/'+ pay_sale_id + "/payment" + return false; + }); + }); -$( document ).ready(function() { - $('#pay').click(function() { - window.location.href = '/origami/sale/'+ pay_sale_id + "/payment" - return false; - }); -}); +