diff --git a/app/Helpers/tabular_helper.php b/app/Helpers/tabular_helper.php index 33a386084..9d80e7433 100644 --- a/app/Helpers/tabular_helper.php +++ b/app/Helpers/tabular_helper.php @@ -478,9 +478,8 @@ function get_item_data_row(object $item): array : glob("./uploads/item_pics/$item->pic_filename"); if(sizeof($images) > 0) - {//TODO: alt text needs to be localized instead of English hardcoded - //TODO: this is resulting in the html being displayed to the screen rather than the thumbnail. Something is broken. - $image .= '\'Image'; + { + $image .= 'Image thumbnail'; } } diff --git a/app/Helpers/tax_helper.php b/app/Helpers/tax_helper.php index 6a64f70dd..1a025932f 100644 --- a/app/Helpers/tax_helper.php +++ b/app/Helpers/tax_helper.php @@ -35,12 +35,12 @@ function get_tax_code_data_row($tax_code_row): array 'city' => $tax_code_row->city, 'state' => $tax_code_row->state, 'edit' => anchor( - $controller_name."/view_tax_codes/$tax_code_row->tax_code", //TODO: String interpolation + "$controller_name/view_tax_codes/$tax_code_row->tax_code", '', [ 'class' => 'modal-dlg', 'data-btn-submit' => lang('Common.submit'), - 'title'=>lang($controller_name . '.update_tax_codes') //TODO: String interpolation + 'title'=>lang("$controller_name.update_tax_codes") ] ) ]; @@ -73,12 +73,12 @@ function get_tax_categories_data_row($tax_categories_row): array 'tax_category_code' => $tax_categories_row->tax_category_code, 'tax_group_sequence' => $tax_categories_row->tax_group_sequence, 'edit' => anchor( - $controller_name."/view/$tax_categories_row->tax_category_id", //TODO: String interpolation + "$controller_name/view/$tax_categories_row->tax_category_id", '', [ 'class' => 'modal-dlg', 'data-btn-submit' => lang('Common.submit'), - 'title'=>lang($controller_name . '.update') //TODO: String interpolation + 'title'=>lang("$controller_name.update") ] ) ]; @@ -110,12 +110,12 @@ function get_tax_jurisdictions_data_row($tax_jurisdiction_row): array 'jurisdiction_name' => $tax_jurisdiction_row->jurisdiction_name, 'reporting_authority' => $tax_jurisdiction_row->reporting_authority, 'edit' => anchor( - $controller_name."/view/$tax_jurisdiction_row->jurisdiction_id", //TODO: String interpolation + "$controller_name/view/$tax_jurisdiction_row->jurisdiction_id", '', [ 'class' => 'modal-dlg', 'data-btn-submit' => lang('Common.submit'), - 'title'=>lang($controller_name . '.update') //TODO: String interpolation + 'title'=>lang("$controller_name.update") ] ) ]; @@ -156,13 +156,13 @@ function get_tax_rates_data_row($tax_rates_row): array 'tax_rounding_code' =>$tax_rates_row->tax_rounding_code, 'rounding_code_name' => Rounding_mode::get_rounding_code_name($tax_rates_row->tax_rounding_code), 'edit' => anchor( - $controller_name."/view/$tax_rates_row->tax_rate_id", //TODO: String interpolation + "$controller_name/view/$tax_rates_row->tax_rate_id", '', [ 'class' => 'modal-dlg', 'data-btn-submit' => lang('Common.submit'), - 'title'=>lang($controller_name . '.update') //TODO: String interpolation + 'title'=>lang("$controller_name.update") ] ) ]; -} \ No newline at end of file +} diff --git a/app/Views/attributes/manage.php b/app/Views/attributes/manage.php index 46f0e869d..8111aaa06 100644 --- a/app/Views/attributes/manage.php +++ b/app/Views/attributes/manage.php @@ -23,9 +23,9 @@ diff --git a/app/Views/items/manage.php b/app/Views/items/manage.php index 4cd4aded6..5aaa40602 100644 --- a/app/Views/items/manage.php +++ b/app/Views/items/manage.php @@ -22,7 +22,7 @@ $(document).ready(function() '_blank' // <- This is what makes it open in a new window. ); }); - + // when any filter is clicked and the dropdown window is closed $('#filters').on('hidden.bs.select', function(e) { @@ -71,7 +71,6 @@ $(document).ready(function() }); }); - @@ -404,7 +404,7 @@ if (isset($success)) else { ?> - 'finish_receiving_form', 'class' => 'form-horizontal']) ?> + 'finish_receiving_form', 'class' => 'form-horizontal']) ?>
 
- +
 
@@ -521,12 +521,12 @@ $(document).ready(function() $(this).attr('value',""); }); - $('#comment').keyup(function() + $('#comment').keyup(function() { $.post('', {comment: $('#comment').val()}); }); - $('#recv_reference').keyup(function() + $('#recv_reference').keyup(function() { $.post('', {recv_reference: $('#recv_reference').val()}); });