Skip to content

Commit 7dacbce

Browse files
committed
2 parents dac2c39 + 2705f34 commit 7dacbce

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

View/customer/rate.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
$count = count($user_feedback); // Đếm số bản ghi trả ra
32
$sum_count = $count_feedback;
43
$pages = ceil($sum_count / 3);
54
$ido = $_GET['ido'];
@@ -51,7 +50,7 @@
5150
</form>
5251
<?php
5352
}else{
54-
echo "<div style='display: flex; align-items: center; height: 100%;'><h2 style='color: red;margin: 0 auto'>Cảm ơn quý khách đã đánh giá!</h2></div>";
53+
echo "<div style='display: flex; align-items: center; height: 100%;'><h3 style='color: red;margin: 0 auto'>Cảm ơn quý khách đã đánh giá!</h3></div>";
5554
}
5655
?>
5756

admin/Asset/js/myScript.js

+2
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ $(document).on('click', '.transfer', function(){
141141
})
142142
});
143143

144+
//Sửa khách hàng
144145
$(document).on('click', '.edit_customer', function(){
145146

146147
var customer_id = $(this).val();
@@ -155,6 +156,7 @@ $(document).on('click', '.edit_customer', function(){
155156
$('.modal-backdrop').remove();
156157
$('.notification').html(data);
157158
$(".table").load(' #datatable_listcustomer');
159+
158160
})
159161
});
160162

admin/Server/Customer/edit_customer.php

+5-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@
4747
//Hiện thông báo .. giây xong ẩn
4848
$(document).ready(function(){
4949
$(".alert").delay(2000).slideUp();
50-
})
50+
setInterval('refreshPage()', 2000);
51+
});
52+
function refreshPage() {
53+
location.reload(true);
54+
}
5155
</script>
5256

5357

0 commit comments

Comments
 (0)