mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Added an option to print a shopping list (references #245)
This commit is contained in:
@@ -303,3 +303,9 @@ function OnListItemRemoved()
|
||||
}
|
||||
}
|
||||
OnListItemRemoved();
|
||||
|
||||
$(document).on("click", "#print-shopping-list-button", function(e)
|
||||
{
|
||||
$(".print-timestamp").text(moment().format("l LT"));
|
||||
window.print();
|
||||
});
|
||||
|
Reference in New Issue
Block a user