diff --git a/app/views/origami/payments/show.html.erb b/app/views/origami/payments/show.html.erb
index 8c7ac778..26bd24af 100755
--- a/app/views/origami/payments/show.html.erb
+++ b/app/views/origami/payments/show.html.erb
@@ -609,7 +609,7 @@ var customer_name = "<%= @customer.name %>";
$("#changed_amount").text('Changed amount ' + parseFloat($('#balance').text() * (-1)));
<% end %>
}
- customer_display_view(null,"reload");
+
//PDF lightbox data
// if($('#balance').text() < 0){
// swal({
@@ -969,11 +969,12 @@ var customer_name = "<%= @customer.name %>";
data: params,
success:function(result){
console.log(result);
- if (cashier_type=="cashier") {
- window.location.href = '/origami';
- }else{
- window.location.href = '/origami/quick_service';
- }
+ customer_display_view(null,"reload");
+ // if (cashier_type=="cashier") {
+ // window.location.href = '/origami';
+ // }else{
+ // window.location.href = '/origami/quick_service';
+ // }
}
});
// }