diff --git a/public/viewjs/stockentries.js b/public/viewjs/stockentries.js index bf52dfa4..d60b44ae 100644 --- a/public/viewjs/stockentries.js +++ b/public/viewjs/stockentries.js @@ -3,7 +3,7 @@ 'columnDefs': [ { 'orderable': false, 'targets': 0 }, { 'searchable': false, "targets": 0 }, - { 'visible': false, 'targets': 10 }, + { 'visible': false, 'targets': 10 } ].concat($.fn.dataTable.defaults.columnDefs) }); $('#stockentries-table tbody').removeClass("d-none"); diff --git a/views/stockentries.blade.php b/views/stockentries.blade.php index a1086139..2a5e757c 100644 --- a/views/stockentries.blade.php +++ b/views/stockentries.blade.php @@ -65,10 +65,10 @@ Hidden product_id {{ $__t('Product') }} {{ $__t('Amount') }} - {{ $__t('Due date') }} - {{ $__t('Location') }} - {{ $__t('Store') }} - {{ $__t('Price') }} + {{ $__t('Due date') }} + {{ $__t('Location') }} + {{ $__t('Store') }} + {{ $__t('Price') }} {{ $__t('Purchased date') }} Hidden purchased_date {{ $__t('Timestamp') }} @@ -235,26 +235,26 @@ @if($stockEntry->open == 1){{ $__t('Opened') }}@endif - + {{ $stockEntry->best_before_date }} {{ FindObjectInArrayByPropertyValue($locations, 'id', $stockEntry->location_id)->name }} @if (FindObjectInArrayByPropertyValue($shoppinglocations, 'id', $stockEntry->shopping_location_id) !== null) {{ FindObjectInArrayByPropertyValue($shoppinglocations, 'id', $stockEntry->shopping_location_id)->name }} @endif {{ $stockEntry->price }}