PHP Class App\Http\Controllers\InvoicesController

Inheritance: extends Controller
Mostra file Open project: Bottelet/Flarepoint-crm

Protected Properties

Property Type Description
$clients
$invoices

Public Methods

Method Description
__construct ( App\Repositories\Invoice\InvoiceRepositoryContract $invoices, App\Repositories\Client\ClientRepositoryContract $clients )
create ( ) : Illuminate\Http\Response Show the form for creating a new resource.
destroy ( integer $id ) : Illuminate\Http\Response Remove the specified resource from storage.
edit ( integer $id ) : Illuminate\Http\Response Show the form for editing the specified resource.
index ( ) : Illuminate\Http\Response Display a listing of the resource.
newItem ( $id, Illuminate\Http\Request $request )
reopenPayment ( Illuminate\Http\Request $request, $id )
show ( integer $id ) : Illuminate\Http\Response Display the specified resource.
store ( Illuminate\Http\Request $request ) : Illuminate\Http\Response Store a newly created resource in storage.
update ( Illuminate\Http\Request $request, integer $id ) : Illuminate\Http\Response Update the specified resource in storage.
updatePayment ( Illuminate\Http\Request $request, $id )
updateSentReopen ( Illuminate\Http\Request $request, $id )
updateSentStatus ( Illuminate\Http\Request $request, $id )

Method Details

__construct() public method

public __construct ( App\Repositories\Invoice\InvoiceRepositoryContract $invoices, App\Repositories\Client\ClientRepositoryContract $clients )
$invoices App\Repositories\Invoice\InvoiceRepositoryContract
$clients App\Repositories\Client\ClientRepositoryContract

create() public method

Show the form for creating a new resource.
public create ( ) : Illuminate\Http\Response
return Illuminate\Http\Response

destroy() public method

Remove the specified resource from storage.
public destroy ( integer $id ) : Illuminate\Http\Response
$id integer
return Illuminate\Http\Response

edit() public method

Show the form for editing the specified resource.
public edit ( integer $id ) : Illuminate\Http\Response
$id integer
return Illuminate\Http\Response

index() public method

Display a listing of the resource.
public index ( ) : Illuminate\Http\Response
return Illuminate\Http\Response

newItem() public method

public newItem ( $id, Illuminate\Http\Request $request )
$request Illuminate\Http\Request

reopenPayment() public method

public reopenPayment ( Illuminate\Http\Request $request, $id )
$request Illuminate\Http\Request

show() public method

Display the specified resource.
public show ( integer $id ) : Illuminate\Http\Response
$id integer
return Illuminate\Http\Response

store() public method

Store a newly created resource in storage.
public store ( Illuminate\Http\Request $request ) : Illuminate\Http\Response
$request Illuminate\Http\Request
return Illuminate\Http\Response

update() public method

Update the specified resource in storage.
public update ( Illuminate\Http\Request $request, integer $id ) : Illuminate\Http\Response
$request Illuminate\Http\Request
$id integer
return Illuminate\Http\Response

updatePayment() public method

public updatePayment ( Illuminate\Http\Request $request, $id )
$request Illuminate\Http\Request

updateSentReopen() public method

public updateSentReopen ( Illuminate\Http\Request $request, $id )
$request Illuminate\Http\Request

updateSentStatus() public method

public updateSentStatus ( Illuminate\Http\Request $request, $id )
$request Illuminate\Http\Request

Property Details

$clients protected_oe property

protected $clients

$invoices protected_oe property

protected $invoices