add contraint , that everybody expect admin is limited to 3 days, Add card package
This commit is contained in:
@@ -576,18 +576,18 @@ function ProductSell(o){
|
||||
// Some item from your model is active!
|
||||
if (current.name == $input.val()) {
|
||||
// This means the exact match is found. Use toLowerCase() if you want case insensitive match.
|
||||
console.info(current);
|
||||
// console.info(current);
|
||||
_findProduct(current.id_product);
|
||||
} else {
|
||||
// This means it is only a partial match, you can either add a new item
|
||||
// or take the active if you don't want new items
|
||||
console.info('partial');
|
||||
// console.info('partial');
|
||||
app.product = null;
|
||||
productChanged();
|
||||
}
|
||||
} else {
|
||||
// Nothing is active so it is a new value (or maybe empty value)
|
||||
console.info('incactive');
|
||||
// console.info('incactive');
|
||||
app.product = null;
|
||||
productChanged();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user