Make it possible to mark a product as opened (closes #86)

This commit is contained in:
Bernd Bestel
2018-11-17 19:39:37 +01:00
parent 816ca6460f
commit 10ea9c44fd
12 changed files with 356 additions and 8 deletions

View File

@@ -3,5 +3,6 @@
return array(
'purchase' => 'Purchase',
'consume' => 'Consume',
'inventory-correction' => 'Inventory correction'
'inventory-correction' => 'Inventory correction',
'product-opened' => 'Product opened'
);

View File

@@ -308,5 +308,13 @@ return array(
'Adding shopping list item #1 of #2' => 'Adding shopping list item #1 of #2',
'Use a specific stock item' => 'Use a specific stock item',
'Expires on #1; bought on #2' => 'Expires on #1; bought on #2',
'The first item in this list would be picked by the default rule which is "First expiring first, then first in first out"' => 'The first item in this list would be picked by the default rule which is "First expiring first, then first in first out"'
'The first item in this list would be picked by the default rule which is "First expiring first, then first in first out"' => 'The first item in this list would be picked by the default rule which is "First expiring first, then first in first out"',
'Mark #3 #1 of #2 as open' => 'Mark #3 #1 of #2 as open',
'When a product was marked as opened, the best before date will be replaced by today + this amount of days (a value of 0 disables this)' => 'When a product was marked as opened, the best before date will be replaced by today + this amount of days (a value of 0 disables this)',
'Default best before days after opened' => 'Default best before days after opened',
'Marked #1 #2 of #3 as opened' => 'Marked #1 #2 of #3 as opened',
'Mark as opened' => 'Mark as opened',
'Expires on #1; Bought on #2' => 'Expires on #1; Bought on #2',
'Not opened' => 'Not opened',
'Opened' => 'Opened'
);