mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Product / QU form refinements
This commit is contained in:
parent
4c399392eb
commit
40283609b5
@ -369,7 +369,8 @@
|
||||
|
||||
<small class="my-2 form-text text-muted @if($mode == 'edit') d-none @endif">{{ $__t('Save & continue to add quantity unit conversions & barcodes') }}</small>
|
||||
|
||||
<button class="save-product-button btn btn-success mb-2"
|
||||
<button id="save-product-button"
|
||||
class="save-product-button btn btn-success mb-2"
|
||||
data-location="continue">{{ $__t('Save & continue') }}</button>
|
||||
<button class="save-product-button btn btn-info mb-2"
|
||||
data-location="return">{{ $__t('Save & return to products') }}</button>
|
||||
|
@ -100,9 +100,16 @@
|
||||
<input type="hidden"
|
||||
name="create_inverse:skip"
|
||||
value="0">
|
||||
<input @if($mode=='edit'
|
||||
<input @if($mode=='create'
|
||||
&&
|
||||
$product->create_inverse == 1) checked @endif class="form-check-input custom-control-input" type="checkbox" id="create_inverse" name="create_inverse:skip" value="1">
|
||||
$product==null)
|
||||
checked
|
||||
@endif
|
||||
class="form-check-input custom-control-input"
|
||||
type="checkbox"
|
||||
id="create_inverse"
|
||||
name="create_inverse:skip"
|
||||
value="1">
|
||||
<label class="form-check-label custom-control-label"
|
||||
for="create_inverse">{{ $__t('Create inverse QU conversion') }}</label>
|
||||
<span id="qu-conversion-inverse-info"
|
||||
|
Loading…
x
Reference in New Issue
Block a user