diff --git a/application/helpers/table_helper.php b/application/helpers/table_helper.php index 4ace37020..68e5b261b 100644 --- a/application/helpers/table_helper.php +++ b/application/helpers/table_helper.php @@ -291,13 +291,13 @@ function get_item_data_row($item, $controller) { 'quantity' => to_quantity_decimals($item->quantity), 'tax_percents' => $tax_percents, 'item_pic' => $image, - 'inventory' => anchor($controller_name."/inventory/$item->person_id", '', + 'inventory' => anchor($controller_name."/inventory/$item->item_id", '', array('class' => "modal-dlg modal-btn-submit", 'title' => $CI->lang->line($controller_name.'_count')) ), - 'stock' => anchor($controller_name."/count_details/$item->person_id", '', + 'stock' => anchor($controller_name."/count_details/$item->item_id", '', array('class' => "modal-dlg modal-btn-submit", 'title' => $CI->lang->line($controller_name.'_details_count')) ), - 'edit' => anchor($controller_name."/view/$item->person_id", '', + 'edit' => anchor($controller_name."/view/$item->item_id", '', array('class' => "modal-dlg modal-btn-submit", 'title' => $CI->lang->line($controller_name.'_update')) )); } diff --git a/application/views/items/manage.php b/application/views/items/manage.php index 84a012e90..47716756d 100644 --- a/application/views/items/manage.php +++ b/application/views/items/manage.php @@ -84,32 +84,27 @@ function post_bulk_form_submit(response)