Fixed and optimized some things related to #421 (& some more cleanup)

This commit is contained in:
Bernd Bestel
2020-01-21 17:30:09 +01:00
parent 17e5c04bf9
commit f543a3a472
11 changed files with 213 additions and 429 deletions

View File

@@ -69,13 +69,27 @@
<input type="hidden" name="price" id="price" value="0">
@endif
@php /*@include('components.datetimepicker', array(
'id' => 'purchase_date',
'label' => 'Purchased date',
'format' => 'YYYY-MM-DD',
'initWithNow' => false,
'limitEndToNow' => false,
'limitStartToNow' => false,
'invalidFeedback' => $__t('A purchased date is required'),
'nextInputSelector' => '#save-stockedit-button',
'additionalGroupCssClasses' => 'date-only-datetimepicker'
))*/ @endphp
<div class="checkbox">
<label for="open">
<input type="checkbox" id="open" name="open"> {{ $__t('Opened') }}
</label>
</div>
<button id="save-stockedit-button" class="btn btn-success">{{ $__t('OK') }}</button>
</form>
</div>
<div class="col-xs-12 col-md-6 col-xl-4 hide-when-embedded">
@include('components.productcard')
</div>
</div>
@stop