Fixed various smaller problems after some testing

This commit is contained in:
Bernd Bestel
2019-09-21 13:08:42 +02:00
parent 327c1f4fb3
commit b57fd83cb8
8 changed files with 17 additions and 3 deletions

View File

@@ -203,7 +203,7 @@
</div>
</div>
@php if($mode == 'edit') { $value = $product->calories; } else { $value = ''; } @endphp
@php if($mode == 'edit') { $value = $product->calories; } else { $value = 0; } @endphp
@include('components.numberpicker', array(
'id' => 'calories',
'label' => 'Energy (kcal)',