18 lines
400 B
PHP
18 lines
400 B
PHP
<?php
|
|
|
|
namespace Modules\Labors\Http\Controllers;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use Inertia\Inertia;
|
|
use Modules\Labors\Models\Labor;
|
|
|
|
class JobBundleController extends Controller
|
|
{
|
|
public function index()
|
|
{
|
|
return Inertia::render('Labors::Bundles/Index', [
|
|
'labors' => Labor::with('skills')->where('status', 'active')->orderBy('name')->get(),
|
|
]);
|
|
}
|
|
}
|