Bitrix API

Invoice

Table of Contents

Methods

buildPreview()  : string
Returns HTML code for preview of the invoice entity.
checkUserReadAccess()  : bool
Checks for current user's read access to the invoice.

Methods

buildPreview()

Returns HTML code for preview of the invoice entity.

public static buildPreview(array<string|int, mixed> $parameters) : string
Parameters
$parameters : array<string|int, mixed>

Parameters that will be passed to the component.

Return values
string

HTML code of the preview.

checkUserReadAccess()

Checks for current user's read access to the invoice.

public static checkUserReadAccess(array<string|int, mixed> $parameters) : bool
Parameters
$parameters : array<string|int, mixed>

Allowed key: invoiceId.

Return values
bool

True if current user has access to the invoice.


        
On this page

Search results