diff --git a/localization/strings.pot b/localization/strings.pot index c663a75b..1e02e7c3 100644 --- a/localization/strings.pot +++ b/localization/strings.pot @@ -2169,3 +2169,6 @@ msgstr "" msgid "In-stock products" msgstr "" + +msgid "Timestamp" +msgstr "" diff --git a/public/viewjs/stockentries.js b/public/viewjs/stockentries.js index 05fe09b7..bf52dfa4 100644 --- a/public/viewjs/stockentries.js +++ b/public/viewjs/stockentries.js @@ -2,7 +2,8 @@ 'order': [[2, 'asc']], 'columnDefs': [ { 'orderable': false, 'targets': 0 }, - { 'searchable': false, "targets": 0 } + { 'searchable': false, "targets": 0 }, + { '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 4c4816b6..a1086139 100644 --- a/views/stockentries.blade.php +++ b/views/stockentries.blade.php @@ -71,6 +71,7 @@ {{ $__t('Price') }} {{ $__t('Purchased date') }} Hidden purchased_date + {{ $__t('Timestamp') }} @include('components.userfields_thead', array( 'userfields' => $userfields @@ -265,6 +266,11 @@ datetime="{{ $stockEntry->purchased_date }} 23:59:59"> {{ $stockEntry->purchased_date }} + + {{ $stockEntry->row_created_timestamp }} + + @include('components.userfields_tbody', array( 'userfields' => $userfields,