PHP Class App\Http\Controllers\QuoteController

Inheritance: extends Controller
Show file Open project: hillelcoren/invoice-ninja

Protected Properties

Property Type Description
$clientRepo
$entityType
$invoiceRepo
$invoiceService
$mailer

Public Methods

Method Description
__construct ( ContactMailer $mailer, InvoiceRepository $invoiceRepo, ClientRepository $clientRepo, InvoiceService $invoiceService )
approve ( $invitationKey )
bulk ( )
create ( App\Http\Requests\InvoiceRequest $request, $clientPublicId )
getDatatable ( $clientPublicId = null )
index ( )

Private Methods

Method Description
getViewModel ( )

Method Details

__construct() public method

public __construct ( ContactMailer $mailer, InvoiceRepository $invoiceRepo, ClientRepository $clientRepo, InvoiceService $invoiceService )
$mailer App\Ninja\Mailers\ContactMailer
$invoiceRepo App\Ninja\Repositories\InvoiceRepository
$clientRepo App\Ninja\Repositories\ClientRepository
$invoiceService App\services\InvoiceService

approve() public method

public approve ( $invitationKey )

bulk() public method

public bulk ( )

create() public method

public create ( App\Http\Requests\InvoiceRequest $request, $clientPublicId )
$request App\Http\Requests\InvoiceRequest

getDatatable() public method

public getDatatable ( $clientPublicId = null )

index() public method

public index ( )

Property Details

$clientRepo protected property

protected $clientRepo

$entityType protected property

protected $entityType

$invoiceRepo protected property

protected $invoiceRepo

$invoiceService protected property

protected $invoiceService

$mailer protected property

protected $mailer