wip
This commit is contained in:
16
app/Repositories/Nova/Inventory/InventoryRepository.php
Normal file
16
app/Repositories/Nova/Inventory/InventoryRepository.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Nova\Inventory;
|
||||
|
||||
use App\Models\Ecommerce\Product\Inventory\Inventory;
|
||||
|
||||
class InventoryRepository
|
||||
{
|
||||
/**
|
||||
* Inventory repository values
|
||||
*/
|
||||
public static function values(): array
|
||||
{
|
||||
return Inventory::pluck('name', 'id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user