add frontend changes
This commit is contained in:
@@ -13,11 +13,11 @@ function ProductSell(o){
|
||||
selector_user_cart: '.user-cart',
|
||||
selector_btn_pay_customer_cart: '#btn_pay_customer_cart',
|
||||
selector_btn_pay_user_cart: '#btn_pay_user_cart',
|
||||
/**mark list paid url*/
|
||||
url_pay_customer_card: '-',
|
||||
url_pay_user_cart: '',
|
||||
/** ajax url for lookup service*/
|
||||
lookup_product_url: '',
|
||||
/**mark list paid url*/
|
||||
url_pay_user_cart: '',
|
||||
/**the id of form*/
|
||||
selector_form: '#product_form',
|
||||
/**form contains error text*/
|
||||
@@ -289,7 +289,8 @@ function ProductSell(o){
|
||||
table.find('.product-barcode').html(product.barcode);
|
||||
table.find('.product-stock').html(product.stock);
|
||||
$('#productsaleform-id_product').val(product.id_product);
|
||||
$('#productsaleform-id_account').val(product.id_account);
|
||||
if ( app.defaults.id_account == null)
|
||||
$('#productsaleform-id_account').val(product.id_account);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user