PHP 클래스 App\Ninja\Repositories\InvoiceRepository

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

보호된 프로퍼티들

프로퍼티 타입 설명
$documentRepo

공개 메소드들

메소드 설명
__construct ( PaymentService $paymentService, DocumentRepository $documentRepo )
all ( )
cloneInvoice ( Invoice $invoice, null $quotePublicId = null ) : mixed
createRecurringInvoice ( Invoice $recurInvoice ) : mixed
findInvoiceByInvitation ( $invitationKey ) : Invitation | boolean
findNeedingReminding ( App\Models\Account $account ) : mixed
findOpenInvoices ( $clientId, $entityType = false ) : mixed
getClassName ( )
getClientDatatable ( $contactId, $entityType, $search )
getClientRecurringDatatable ( $contactId )
getInvoices ( $accountId, $clientPublicId = false, $entityType = ENTITY_INVOICE, $filter = false )
getRecurringInvoices ( $accountId, $clientPublicId = false, $filter = false )
markSent ( Invoice $invoice )
save ( array $data, Invoice $invoice = null ) : Invoice | mixed

메소드 상세

__construct() 공개 메소드

public __construct ( PaymentService $paymentService, DocumentRepository $documentRepo )
$paymentService App\services\PaymentService
$documentRepo DocumentRepository

all() 공개 메소드

public all ( )

cloneInvoice() 공개 메소드

public cloneInvoice ( Invoice $invoice, null $quotePublicId = null ) : mixed
$invoice app\models\Invoice
$quotePublicId null
리턴 mixed

createRecurringInvoice() 공개 메소드

public createRecurringInvoice ( Invoice $recurInvoice ) : mixed
$recurInvoice app\models\Invoice
리턴 mixed

findInvoiceByInvitation() 공개 메소드

public findInvoiceByInvitation ( $invitationKey ) : Invitation | boolean
$invitationKey
리턴 app\models\Invitation | boolean

findNeedingReminding() 공개 메소드

public findNeedingReminding ( App\Models\Account $account ) : mixed
$account App\Models\Account
리턴 mixed

findOpenInvoices() 공개 메소드

public findOpenInvoices ( $clientId, $entityType = false ) : mixed
$clientId
리턴 mixed

getClassName() 공개 메소드

public getClassName ( )

getClientDatatable() 공개 메소드

public getClientDatatable ( $contactId, $entityType, $search )

getClientRecurringDatatable() 공개 메소드

public getClientRecurringDatatable ( $contactId )

getInvoices() 공개 메소드

public getInvoices ( $accountId, $clientPublicId = false, $entityType = ENTITY_INVOICE, $filter = false )

getRecurringInvoices() 공개 메소드

public getRecurringInvoices ( $accountId, $clientPublicId = false, $filter = false )

markSent() 공개 메소드

public markSent ( Invoice $invoice )
$invoice app\models\Invoice

save() 공개 메소드

public save ( array $data, Invoice $invoice = null ) : Invoice | mixed
$data array
$invoice app\models\Invoice
리턴 app\models\Invoice | mixed

프로퍼티 상세

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

protected $documentRepo