cash click prevent
This commit is contained in:
@@ -320,6 +320,9 @@ $(document).on('click', '.cashier_number', function(event){
|
|||||||
});
|
});
|
||||||
|
|
||||||
$( document ).ready(function() {
|
$( document ).ready(function() {
|
||||||
|
// Disable click event cash to prevent
|
||||||
|
$(".payment .cash-color").off('click');
|
||||||
|
|
||||||
$('#credit_payment').click(function() {
|
$('#credit_payment').click(function() {
|
||||||
var sale_id = $('#sale_id').text();
|
var sale_id = $('#sale_id').text();
|
||||||
window.location.href = '/origami/sale/'+ sale_id + "/payment/credit_payment"
|
window.location.href = '/origami/sale/'+ sale_id + "/payment/credit_payment"
|
||||||
|
|||||||
Reference in New Issue
Block a user