This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\PortalDivulgacao;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Services\PortalDivulgacao\PosicaoEstoqueService;
|
||||
use Illuminate\Http\Response;
|
||||
|
||||
class PosicaoEstoqueController extends Controller
|
||||
{
|
||||
|
||||
public function index()
|
||||
{
|
||||
return response()->json(PosicaoEstoqueService::index(), Response::HTTP_OK);
|
||||
}
|
||||
|
||||
public function list()
|
||||
{
|
||||
return response()->json(PosicaoEstoqueService::list(), Response::HTTP_OK);
|
||||
}
|
||||
|
||||
public function autocompleteMaterial()
|
||||
{
|
||||
return datatables()->of(PosicaoEstoqueService::autocompleteMaterial())->make(true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user