@php use App\Models\StockManagement\StockRequest;use App\Models\StockManagement\Warehouse; use App\Models\StockManagement\WareHouseType; $stores = auth(activeGuard())->user()->warehouses()->where("warehouse_type_code",WareHouseType::STORE)->get(); $pvs = auth(activeGuard())->user()->warehouses()->where("warehouse_type_code",WareHouseType::POINT_OF_SALE)->get(); $statuses = collect(null) ; @endphp
{!! BootForm::select('demand-store-id',\Illuminate\Support\Str::plural(__("Magasin")), $stores->first(),$stores->pluck('name',"id"), ['data-plugin-multiselect']) !!}
{!! BootForm::select('demand-pv-id',\Illuminate\Support\Str::plural(__("Point de Vente")), $pvs->first(),$pvs->pluck('name',"id"), ['data-plugin-multiselect']) !!}
{!! BootForm::select('demand-status-id',\Illuminate\Support\Str::plural(__("Statut")), $statuses->first(),$statuses->pluck('name',"code"), ['data-plugin-multiselect',"multiple"]) !!}
@include("backend.stocks.management.tabs-generator",['options' => $options])