2024-04-27 15:06:00 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
|
|
|
|
use App\Http\Requests\StorelabelRequest;
|
|
|
|
use App\Http\Requests\UpdatelabelRequest;
|
2024-05-02 09:13:05 +03:00
|
|
|
use App\Models\Label;
|
2024-04-27 15:06:00 +03:00
|
|
|
|
|
|
|
class LabelController extends Controller
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Display a listing of the resource.
|
|
|
|
*/
|
|
|
|
public function index()
|
|
|
|
{
|
2024-05-02 16:54:51 +03:00
|
|
|
$labels = Label::all();
|
|
|
|
return view('admin.labels.index', compact('labels'));
|
2024-04-27 15:06:00 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Show the form for creating a new resource.
|
|
|
|
*/
|
|
|
|
public function create()
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Store a newly created resource in storage.
|
|
|
|
*/
|
|
|
|
public function store(StorelabelRequest $request)
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Display the specified resource.
|
|
|
|
*/
|
2024-05-02 09:13:05 +03:00
|
|
|
public function show(Label $label)
|
2024-04-27 15:06:00 +03:00
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Show the form for editing the specified resource.
|
|
|
|
*/
|
2024-05-02 09:13:05 +03:00
|
|
|
public function edit(Label $label)
|
2024-04-27 15:06:00 +03:00
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Update the specified resource in storage.
|
|
|
|
*/
|
2024-05-02 09:13:05 +03:00
|
|
|
public function update(UpdatelabelRequest $request, Label $label)
|
2024-04-27 15:06:00 +03:00
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Remove the specified resource from storage.
|
|
|
|
*/
|
2024-05-02 09:13:05 +03:00
|
|
|
public function destroy(Label $label)
|
2024-04-27 15:06:00 +03:00
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
}
|