cash click prevent

This commit is contained in:
Yan
2017-07-05 11:16:16 +06:30
parent 15e0caa12d
commit a9f9f10899

View File

@@ -320,6 +320,9 @@ $(document).on('click', '.cashier_number', function(event){
});
$( document ).ready(function() {
// Disable click event cash to prevent
$(".payment .cash-color").off('click');
$('#credit_payment').click(function() {
var sale_id = $('#sale_id').text();
window.location.href = '/origami/sale/'+ sale_id + "/payment/credit_payment"