Merge branch 'master' of bitbucket.org:code2lab/sxrestaurant into crm

This commit is contained in:
Aung Myo
2017-07-05 12:31:54 +06:30
6 changed files with 25 additions and 19 deletions

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"