close #34 Fixed: Offline Payments not saving changes

This commit is contained in:
cuneytsenturk
2017-10-04 11:26:16 +03:00
parent 2f00c96ab3
commit 238e98b772
2 changed files with 6 additions and 4 deletions

View File

@ -134,12 +134,12 @@
$('.col-md-4.no-padding-left .box-header.with-border .box-title').html(json['data']['title']);
$('input[name="name"]').val(json['data']['name']);
$('input[name="code"]').val(json['data']['code']);
$('input[name="sort"]').val(json['data']['sort']);
$('input[name="order"]').val(json['data']['order']);
$('input[name="description"]').val(json['data']['description']);
$('input[name="method"]').remove();
$('.col-md-4 .box-body').append('<input type="hidden" name="method" value="' + json['data']['code'] + '">');
$('.col-md-4 .box-body').append('<input type="hidden" name="method" value="' + json['data']['method'] + '">');
}
}
});
@ -167,4 +167,3 @@
});
</script>
@endsection