Documentation

MinimumRevenueController extends Controller

Class MinimumRevenueController

Handles operations related to minimum revenue resources.

Table of Contents

Properties

$minimumRevenueService  : MinimumRevenueService

Methods

__construct()  : mixed
check()  : JsonResponse
Check the minimum revenue for a specific period.
create()  : View
Show the form for creating a new resource.
destroy()  : mixed
Remove the specified resource from storage.
edit()  : View
Show the form for editing the specified resource.
export()  : BinaryFileResponse
Export the minimum revenue data to an Excel file.
index()  : Response
Display a listing of the resource.
show()  : void
Show the specified resource.
store()  : void
Store a newly created resource in storage.
update()  : mixed
Update the specified resource in storage.

Properties

Methods

check()

Check the minimum revenue for a specific period.

public check(Request $request) : JsonResponse
Parameters
$request : Request
Return values
JsonResponse

destroy()

Remove the specified resource from storage.

public destroy(mixed $id) : mixed
Parameters
$id : mixed

edit()

Show the form for editing the specified resource.

public edit(int $id) : View
Parameters
$id : int
Return values
View

export()

Export the minimum revenue data to an Excel file.

public export(Request $request) : BinaryFileResponse
Parameters
$request : Request
Return values
BinaryFileResponse

index()

Display a listing of the resource.

public index(Request $request) : Response
Parameters
$request : Request
Return values
Response

store()

Store a newly created resource in storage.

public store(Request $request) : void
Parameters
$request : Request

update()

Update the specified resource in storage.

public update(Request $request, mixed $id) : mixed
Parameters
$request : Request
$id : mixed

        
On this page

Search results