diff --git a/app/views/origami/customers/index.html.erb b/app/views/origami/customers/index.html.erb
index e3ed07cb..fb1e7e14 100644
--- a/app/views/origami/customers/index.html.erb
+++ b/app/views/origami/customers/index.html.erb
@@ -9,7 +9,9 @@
-->
-
+
@@ -658,13 +660,14 @@
swal({
title: "Confirmation !",
- text: 'Are You Sure to assign this customer' + customer + '!',
+ text: 'Are you sure to assign this customer' + customer + '!',
showCancelButton: true,
confirmButtonColor: "green",
confirmButtonText: "Yes!",
cancelButtonClass: 'btn btn-danger',
- closeOnConfirm: false,
+ closeOnConfirm: true,
}, function () {
+ $( "#loading_wrapper").show();
$.ajax({
type: "POST",
url: "/origami/"+sale_id+"/"+cashier_type+"/customers/update_sale" ,