mirror of
				https://github.com/grocy/grocy.git
				synced 2025-10-31 18:49:38 +00:00 
			
		
		
		
	Show if a consume booking was spoiled on the stock journal page (closes #953)
This commit is contained in:
		| @@ -18,6 +18,7 @@ | |||||||
| - Changed that when `FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_TRACKING` is disabled, products now get internally a best before of "never expires" (aka `2999-12-31`) instead of today (thanks @kriddles) | - Changed that when `FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_TRACKING` is disabled, products now get internally a best before of "never expires" (aka `2999-12-31`) instead of today (thanks @kriddles) | ||||||
| - Products can now be hidden instead of deleted to prevent problems / missing information on existing references (new checkbox on the product edit page) (thanks @kriddles) | - Products can now be hidden instead of deleted to prevent problems / missing information on existing references (new checkbox on the product edit page) (thanks @kriddles) | ||||||
| - Improved/fixed that changing the products "Factor purchase to stock quantity unit" not longer messes up historical prices (which results for example in wrong recipe costs) (thanks @kriddles) | - Improved/fixed that changing the products "Factor purchase to stock quantity unit" not longer messes up historical prices (which results for example in wrong recipe costs) (thanks @kriddles) | ||||||
|  | - On the stock journal page, it's now visible if a consume-booking was spoiled | ||||||
| - Fixed that it was not possible to leave the "Barcode(s)" on the product edit page by `TAB` | - Fixed that it was not possible to leave the "Barcode(s)" on the product edit page by `TAB` | ||||||
| - Fixed that when adding products through a product picker workflow and when the created products contains special characters, the product was not preselected on the previous page (thanks @Forceu) | - Fixed that when adding products through a product picker workflow and when the created products contains special characters, the product was not preselected on the previous page (thanks @Forceu) | ||||||
| - Fixed that when editing a product the default store was not visible / always empty regardless if the product had one set (thanks @kriddles) | - Fixed that when editing a product the default store was not visible / always empty regardless if the product had one set (thanks @kriddles) | ||||||
|   | |||||||
| @@ -74,6 +74,9 @@ | |||||||
| 					</td> | 					</td> | ||||||
| 					<td> | 					<td> | ||||||
| 						{{ $__t($stockLogEntry->transaction_type) }} | 						{{ $__t($stockLogEntry->transaction_type) }} | ||||||
|  | 						@if ($stockLogEntry->spoiled == 1) | ||||||
|  | 						<span class="font-italic text-muted">{{ $__t('Spoiled') }}</span> | ||||||
|  | 						@endif | ||||||
| 					</td> | 					</td> | ||||||
| 					<td class="@if(!GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING) d-none @endif"> | 					<td class="@if(!GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING) d-none @endif"> | ||||||
| 						{{ FindObjectInArrayByPropertyValue($locations, 'id', $stockLogEntry->location_id)->name }} | 						{{ FindObjectInArrayByPropertyValue($locations, 'id', $stockLogEntry->location_id)->name }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user