<div class="form-group row filter_suppliers" style="display: none">
    <label for="supplierSelect" class="col-sm-2 col-form-label">Beszállító:</label>
    <div class="col-sm-10">
        <select class="supplierSelect" name="supplier" multiple="multiple" style="width: 100%">
            @foreach($suppliers as $supplier)
                <option value="{{$supplier['id']}}"
                    {{--
                        @if ($supplier['id']==18) selected @endif
                        @if ($supplier['id']==26) selected @endif
--}}
                >{{$supplier['name']}}</option>
            @endforeach
        </select>
    </div>
</div>
<div class="form-group row filter_profitCenters" style="display: none">
    <label for="profitCenterSelect" class="col-sm-2 col-form-label">Profitcenter:</label>
    <div class="col-sm-10">
        <select class="profitCenterSelect" name="profitCenter" multiple="multiple" style="width: 100%">
            @foreach($profitCenters as $profitCenter)
                <option value="{{$profitCenter['id']}}"
{{--
                        @if ($profitCenter['id']==17) selected @endif
                        @if ($profitCenter['id']==2) selected @endif
--}}
                >{{$profitCenter['name']}}</option>
            @endforeach
        </select>
    </div>
</div>

<div class="form-group row filter_productGroups" style="display: none">
    <label for="productGroupSelect" class="col-sm-2 col-form-label">Termékcsoport:</label>
    <div class="col-sm-10">
        <select class="productGroupSelect" name="productGroup" multiple="multiple" style="width: 100%">
            @foreach($productGroups as $productGroup)
                <option value="{{$productGroup['id']}}"
{{--
                        @if ($productGroup['id']==14) selected @endif
--}}
                >{{$productGroup['name']}}</option>
            @endforeach
        </select>
    </div>
</div>

<div class="form-group row filter_products" style="display: none">
    <label for="productSelect" class="col-sm-2 col-form-label">Termék:</label>
    <div class="col-sm-10">
        <select class="productSelect" name="product" multiple="multiple" style="width: 100%">
        </select>
    </div>
</div>

<div class="form-group row filter_hooreycaNames" style="display: none">
    <label for="hooreycaNamesSelect" class="col-sm-2 col-form-label">Hooreyca megnevezés :</label>
    <div class="col-sm-10">
        <select class="hooreycaNamesSelect" name="hooreycaName" multiple="multiple" style="width: 100%">
            @foreach($hooreycaNames as $hooreycaName)
                <option value="{{$hooreycaName['name']}}"


                    {{--
                        @if ($supplier['id']==26) selected @endif
--}}
                >{{$hooreycaName['name']}}</option>
            @endforeach
        </select>
    </div>
</div>
{{--
--}}

<div class="form-group row filter_producers" style="display: none">
    <label for="producerSelect" class="col-sm-2 col-form-label">Gyártó :</label>
    <div class="col-sm-10">
        <select class="producerSelect" name="producer" multiple="multiple" style="width: 100%">
            @foreach($producer as $producer)
                <option value="{{$producer['id']}}">{{$producer['name']}}</option>
            @endforeach

        </select>
    </div>
</div>

<div class="form-group row filter_specialOffer" style="display: none">
    <label for="specialOfferSelect" class="col-sm-2 col-form-label">Akciós:</label>
    <div class="col-sm-10">
        <select class="specialOfferSelect" name="specialOffer" style="width: 100%">
            <option value="" selected>Mindegy</option>
            <option value="1">Igen</option>
            <option value="0">Nem</option>
        </select>
    </div>
</div>

{{--
--}}

<div class="form-group row filter_date" style="display: none">
    <label for="remark" class="col-sm-2 col-form-label">Időszak</label>
    <div class="col-sm-2" style="padding-right: 5px;">
        <div class="input-group date">
            <input type="text" class="form-control datePickerFrom"  data-action="dateFrom"
                   name="dateFrom"
{{--
                   value="2023-10-25"
--}}
                   value="{{now()->subMonths(3)->format('Y-m-d')}}"
                   placeholder="Tól">
            <span class="input-group-addon datePickerClick" data-action="dateFrom">
                                <i class="pe-7s-date" style="font-size:2em; "></i>
                            </span>
        </div>
    </div>

    <div class="col-sm-2" style="padding-left: 5px;">
        <div class="input-group date">
            <input type="text" class="form-control datePickerTo" data-action="dateTo"
                   name="dateTo"
{{--
                   value="2023-10-26"
--}}

                   placeholder="Ig">
            <span class="input-group-addon datePickerClick" data-action="dateTo">
                                <i class="pe-7s-date" style="font-size:2em;"></i>
                            </span>
        </div>
    </div>
    <div class="col-sm-6" style="padding-left: 0px;">
    </div>
</div>
