[WIP] Refactor generic & normal price

This commit is contained in:
Ludovic CANDELLIER
2020-08-31 23:23:55 +02:00
parent c9198de890
commit c025dbb385
18 changed files with 267 additions and 32 deletions

View File

@@ -1,7 +1,7 @@
@if (isset($list) && count($list))
@foreach($list as $key => $optgroup)
<optgroup label="{{ $optgroup['label'] }}">
@include('components.options', ['list' => $optgroup['options']])
@include('components.options', ['list' => $optgroup['options'] ?? null])
</optgroup>
@endforeach
@endif