mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-11 11:41:08 -04:00
Add refresh after enter in sales and receivings register (#572)
This commit is contained in:
@@ -459,6 +459,14 @@ $(document).ready(function()
|
||||
}
|
||||
});
|
||||
|
||||
$("#cart_contents input").keypress(function(event)
|
||||
{
|
||||
if (event.which == 13)
|
||||
{
|
||||
$('#cart_' + (1 + $(this).index() / 2 )).submit();
|
||||
}
|
||||
});
|
||||
|
||||
table_support.handle_submit = function(resource, response, stay_open)
|
||||
{
|
||||
if(response.success)
|
||||
|
||||
@@ -641,8 +641,16 @@ $(document).ready(function()
|
||||
$('#add_payment_form').submit();
|
||||
});
|
||||
|
||||
$("#payment_types").change(check_payment_type_giftcard).ready(check_payment_type_giftcard)
|
||||
|
||||
$("#payment_types").change(check_payment_type_giftcard).ready(check_payment_type_giftcard);
|
||||
|
||||
$("#cart_contents input").keypress(function(event)
|
||||
{
|
||||
if (event.which == 13)
|
||||
{
|
||||
$('#cart_' + (1 + $(this).index() / 2 )).submit();
|
||||
}
|
||||
});
|
||||
|
||||
$("#amount_tendered").keypress(function(event)
|
||||
{
|
||||
if( event.which == 13 )
|
||||
|
||||
Reference in New Issue
Block a user