@php $iText = (($i ?? -1) > -1) ? ('-' . $i) :''; $inventoryId = $inventoryId ?? 0; $inventories = $inventories ?? \App\Module\Db\Inventory::getInstance()->getInventoriesByActive(); @endphp Kho xuất Chọn kho xuất @if($inventories != null && is_array($inventories) && count($inventories) > 0) @foreach($inventories as $item) id) selected @endif>{{ $item->name }} @endforeach @endif