diff --git a/modules/item/front/last-entries/index.html b/modules/item/front/last-entries/index.html
index f306fb4f0..1f7c3c364 100644
--- a/modules/item/front/last-entries/index.html
+++ b/modules/item/front/last-entries/index.html
@@ -7,25 +7,25 @@
order="landed DESC, buyFk DESC"
limit="20">
+
+
+
+
+
-
-
-
-
-
Ig
Warehouse
- Landed
+ Landed
Entry
P.P.U
P.P.P
@@ -48,8 +48,8 @@
disabled="true">
- {{::entry.warehouse| dashIfEmpty}}
- {{::entry.landed | date:'dd/MM/yyyy HH:mm'}}
+ {{::entry.warehouse| dashIfEmpty}}
+ {{::entry.landed | date:'dd/MM/yyyy HH:mm'}}
{{::entry.entryFk | dashIfEmpty}}
{{::entry.price2 | dashIfEmpty}}
{{::entry.price3 | dashIfEmpty}}
@@ -69,7 +69,7 @@
{{::entry.buyingValue | dashIfEmpty}}
{{::entry.weight | dashIfEmpty}}
{{::entry.packageFk | dashIfEmpty}}
- {{::entry.supplier | dashIfEmpty}}
+ {{::entry.supplier | dashIfEmpty}}
diff --git a/modules/item/front/last-entries/index.js b/modules/item/front/last-entries/index.js
index 11a2bf20e..4a72c0caa 100644
--- a/modules/item/front/last-entries/index.js
+++ b/modules/item/front/last-entries/index.js
@@ -30,7 +30,16 @@ class Controller extends Section {
if (!value) return;
- this.filter.where.date = value;
+ const from = new Date(value);
+ from.setHours(0, 0, 0, 0);
+
+ const to = new Date();
+ to.setDate(to.getDate() + 10);
+ to.setHours(23, 59, 59, 59);
+
+ this.filter.where.shipped = {
+ between: [from, to]
+ };
this.$.model.refresh();
}