mirror of
https://github.com/grocy/grocy.git
synced 2025-08-28 17:10:11 +00:00
Added a sub feature flag to disable chore assignments when not needed
This commit is contained in:
@@ -32,12 +32,16 @@
|
||||
'invalidFeedback' => $__t('This can only be before now')
|
||||
))
|
||||
|
||||
@if(GROCY_FEATURE_FLAG_CHORES_ASSIGNMENTS)
|
||||
@include('components.userpicker', array(
|
||||
'label' => 'Done by',
|
||||
'users' => $users,
|
||||
'nextInputSelector' => '#user_id',
|
||||
'prefillByUserId' => GROCY_USER_ID
|
||||
))
|
||||
@else
|
||||
<input type="hidden" id="user_id" name="user_id" value="{{ GROCY_USER_ID }}">
|
||||
@endif
|
||||
|
||||
<button id="save-choretracking-button" class="btn btn-success">{{ $__t('OK') }}</button>
|
||||
|
||||
|
Reference in New Issue
Block a user