';
@@ -290,8 +291,8 @@ $(document).ready(function(){
});
/* Button Control by Status */
-function control_button(order_status){
- if(order_status=="billed"){
+function control_button(order_status){
+ if(order_status=="billed"){
$("#customer").prop('disabled', false);
$("#request_bills").prop('disabled', true);
$("#discount").prop('disabled', false);
diff --git a/app/views/origami/payments/show.html.erb b/app/views/origami/payments/show.html.erb
index 230e8a5a..dab6615d 100644
--- a/app/views/origami/payments/show.html.erb
+++ b/app/views/origami/payments/show.html.erb
@@ -237,6 +237,7 @@
+
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 5aa66a01..0dac3e0e 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -8,11 +8,12 @@ Rails.application.configure do
# your application in memory, allowing both threaded web servers
# and those relying on copy on write to perform better.
# Rake tasks automatically ignore this option for performance.
- config.eager_load = true
+ config.eager_load = false
# Full error reports are disabled and caching is turned on.
config.consider_all_requests_local = false
config.action_controller.perform_caching = true
+ config.serve_staitc_assets = true
# Disable serving static files from the `/public` folder by default since
# Apache or NGINX already handles this.
@@ -23,7 +24,7 @@ Rails.application.configure do
# config.assets.css_compressor = :sass
# Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
+ config.assets.compile = true
# `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb