oqs fix
This commit is contained in:
@@ -99,11 +99,11 @@
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
original_value = $('#qty').val();
|
||||
console.log(original_value);
|
||||
|
||||
// Qty update for OQS Edit Controller
|
||||
$('#qty-update').on('click', function(){
|
||||
var qty_weight = $("input[name='qty_weight']").val();
|
||||
console.log(qty_weight);
|
||||
|
||||
if(parseInt(qty_weight) > parseInt(original_value)){
|
||||
swal("Alert!", "Not allowed over quantity", "warning");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user