diff --git a/public/viewjs/stockentries.js b/public/viewjs/stockentries.js index 7f190e99..4b3fdd6f 100644 --- a/public/viewjs/stockentries.js +++ b/public/viewjs/stockentries.js @@ -3,7 +3,13 @@ 'columnDefs': [ { 'orderable': false, 'targets': 0 }, { 'searchable': false, "targets": 0 }, - { 'visible': false, 'targets': 10 } + { 'visible': false, 'targets': 10 }, + { "type": "num", "targets": 1}, + { "type": "num", "targets": 3 }, + { "type": "html", "targets": 4 }, + { "type": "html-num-fmt", "targets": 7}, + { "type": "html", "targets": 8}, + { "type": "html", "targets": 9} ].concat($.fn.dataTable.defaults.columnDefs) }); $('#stockentries-table tbody').removeClass("d-none"); diff --git a/views/stockentries.blade.php b/views/stockentries.blade.php index ea944465..6762b09d 100644 --- a/views/stockentries.blade.php +++ b/views/stockentries.blade.php @@ -231,7 +231,7 @@ data-product-id="{{ $stockEntry->product_id }}"> {{ FindObjectInArrayByPropertyValue($products, 'id', $stockEntry->product_id)->name }} -