PHP 클래스 App\Http\Controllers\InvoiceController

상속: extends Controller
파일 보기 프로젝트 열기: hillelcoren/invoice-ninja 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$clientRepo
$documentRepo
$entityType
$invoiceRepo
$invoiceService
$mailer
$paymentService
$recurringInvoiceService

공개 메소드들

메소드 설명
__construct ( ContactMailer $mailer, InvoiceRepository $invoiceRepo, ClientRepository $clientRepo, InvoiceService $invoiceService, DocumentRepository $documentRepo, RecurringInvoiceService $recurringInvoiceService, PaymentService $paymentService )
bulk ( $entityType = ENTITY_INVOICE ) : Response Remove the specified resource from storage.
checkInvoiceNumber ( $invoicePublicId = false )
cloneInvoice ( App\Http\Requests\InvoiceRequest $request, $publicId )
convertQuote ( App\Http\Requests\InvoiceRequest $request )
create ( App\Http\Requests\InvoiceRequest $request, $clientPublicId, $isRecurring = false )
createRecurring ( App\Http\Requests\InvoiceRequest $request, $clientPublicId )
edit ( App\Http\Requests\InvoiceRequest $request, $publicId, $clone = false )
getDatatable ( $clientPublicId = null )
getRecurringDatatable ( $clientPublicId = null )
index ( )
invoiceHistory ( App\Http\Requests\InvoiceRequest $request )
show ( $publicId ) : Response Display the specified resource.
store ( CreateInvoiceRequest $request ) : Response Store a newly created resource in storage.
update ( UpdateInvoiceRequest $request ) : Response Update the specified resource in storage.

비공개 메소드들

메소드 설명
emailInvoice ( $invoice, $pdfUpload )
emailRecurringInvoice ( &$invoice )
getViewModel ( $invoice )

메소드 상세

__construct() 공개 메소드

public __construct ( ContactMailer $mailer, InvoiceRepository $invoiceRepo, ClientRepository $clientRepo, InvoiceService $invoiceService, DocumentRepository $documentRepo, RecurringInvoiceService $recurringInvoiceService, PaymentService $paymentService )
$mailer App\Ninja\Mailers\ContactMailer
$invoiceRepo App\Ninja\Repositories\InvoiceRepository
$clientRepo App\Ninja\Repositories\ClientRepository
$invoiceService App\services\InvoiceService
$documentRepo App\Ninja\Repositories\DocumentRepository
$recurringInvoiceService App\services\RecurringInvoiceService
$paymentService App\services\PaymentService

bulk() 공개 메소드

Remove the specified resource from storage.
public bulk ( $entityType = ENTITY_INVOICE ) : Response
리턴 Response

checkInvoiceNumber() 공개 메소드

public checkInvoiceNumber ( $invoicePublicId = false )

cloneInvoice() 공개 메소드

public cloneInvoice ( App\Http\Requests\InvoiceRequest $request, $publicId )
$request App\Http\Requests\InvoiceRequest

convertQuote() 공개 메소드

public convertQuote ( App\Http\Requests\InvoiceRequest $request )
$request App\Http\Requests\InvoiceRequest

create() 공개 메소드

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

createRecurring() 공개 메소드

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

edit() 공개 메소드

public edit ( App\Http\Requests\InvoiceRequest $request, $publicId, $clone = false )
$request App\Http\Requests\InvoiceRequest

getDatatable() 공개 메소드

public getDatatable ( $clientPublicId = null )

getRecurringDatatable() 공개 메소드

public getRecurringDatatable ( $clientPublicId = null )

index() 공개 메소드

public index ( )

invoiceHistory() 공개 메소드

public invoiceHistory ( App\Http\Requests\InvoiceRequest $request )
$request App\Http\Requests\InvoiceRequest

show() 공개 메소드

Display the specified resource.
public show ( $publicId ) : Response
리턴 Response

store() 공개 메소드

Store a newly created resource in storage.
public store ( CreateInvoiceRequest $request ) : Response
$request App\Http\Requests\CreateInvoiceRequest
리턴 Response

update() 공개 메소드

Update the specified resource in storage.
public update ( UpdateInvoiceRequest $request ) : Response
$request App\Http\Requests\UpdateInvoiceRequest
리턴 Response

프로퍼티 상세

$clientRepo 보호되어 있는 프로퍼티

protected $clientRepo

$documentRepo 보호되어 있는 프로퍼티

protected $documentRepo

$entityType 보호되어 있는 프로퍼티

protected $entityType

$invoiceRepo 보호되어 있는 프로퍼티

protected $invoiceRepo

$invoiceService 보호되어 있는 프로퍼티

protected $invoiceService

$mailer 보호되어 있는 프로퍼티

protected $mailer

$paymentService 보호되어 있는 프로퍼티

protected $paymentService

$recurringInvoiceService 보호되어 있는 프로퍼티

protected $recurringInvoiceService