Fix barcode generation for receiving receipts

Minor code cleanup in items management javascript

git-svn-id: svn+ssh://svn.code.sf.net/p/opensourcepos/code/@97 c3eb156b-1dc0-44e1-88ae-e38439141b53
This commit is contained in:
jekkos
2014-03-19 23:29:19 +00:00
parent dc0f8147f5
commit f6e5ae3d12
2 changed files with 2 additions and 22 deletions

View File

@@ -22,30 +22,10 @@ $(document).ready(function()
$(this).attr('href','index.php/items/generate_barcodes/'+selected.join(':'));
});
$("#low_inventory").click(function()
$("#low_inventory, #is_serialized, #no_description, #search_custom, #is_deleted").click(function()
{
$('#items_filter_form').submit();
});
$("#is_serialized").click(function()
{
$('#items_filter_form').submit();
});
$("#no_description").click(function()
{
$('#items_filter_form').submit();
});
//GARRISON ADDED 4/21/2013
$("#search_custom").click(function()
{
$('#items_filter_form').submit();
});
//END GARRISON ADDED
$("#is_deleted").click(function()
{
$('#items_filter_form').submit();
}); // Parq 131215
});

View File

@@ -85,7 +85,7 @@ if (isset($error_message))
<?php echo nl2br($this->config->item('return_policy')); ?>
</div>
<div id='barcode'>
<?php echo "<img src='index.php?c=barcode&barcode=$receiving_id&text=$receiving_id&width=250&height=50' />"; ?>
<?php echo "<img src='index.php/barcode?barcode=$receiving_id&text=$receiving_id&width=250&height=50' />"; ?>
</div>
</div>
<?php $this->load->view("partial/footer"); ?>