mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Fix Product Shopping Location Prefill for Edits (#796)
This commit is contained in:
parent
d72fd565ca
commit
45c14723b0
@ -93,9 +93,11 @@
|
||||
<input type="hidden" name="location_id" id="location_id" value="1">
|
||||
@endif
|
||||
|
||||
@php $prefillById = ''; if($mode=='edit') { $prefillById = $product->shopping_location_id; } @endphp
|
||||
@if(GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING)
|
||||
@include('components.shoppinglocationpicker', array(
|
||||
'label' => 'Default store',
|
||||
'prefillById' => $prefillById,
|
||||
'shoppinglocations' => $shoppinglocations
|
||||
))
|
||||
@else
|
||||
|
Loading…
x
Reference in New Issue
Block a user