mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-17 22:47:58 -04:00
Receivings comments and recv_invoice_format fields are updated on keyup now
This commit is contained in:
@@ -332,12 +332,12 @@ $(document).ready(function()
|
||||
$(this).attr('value',"<?php echo $this->lang->line('recvs_start_typing_supplier_name'); ?>");
|
||||
});
|
||||
|
||||
$('#comment').change(function()
|
||||
$('#comment').keyup(function()
|
||||
{
|
||||
$.post('<?php echo site_url("receivings/set_comment");?>', {comment: $('#comment').val()});
|
||||
});
|
||||
|
||||
$('#recv_invoice_number').change(function()
|
||||
$('#recv_invoice_number').keyup(function()
|
||||
{
|
||||
$.post('<?php echo site_url("receivings/set_invoice_number");?>', {recv_invoice_number: $('#recv_invoice_number').val()});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user