Documentation

LedgerReport extends Model
in package
Uses HasFactory

Support for cached reports.

Tags
mixin

Builder

Table of Contents

$currency  : string
$domainUuid  : string
$fromDate  : Carbon|null
$id  : int
$journalEntryId  : int
$name  : string
$reportData  : string
$timestamps  : bool
$toDate  : Carbon
create()  :
createFromMessage()  : self
toResponse()  : array<string|int, mixed>

Properties

$domainUuid

public string $domainUuid

the ledger domain for this report.

$fromDate

public Carbon|null $fromDate

The period start this report was generated for.

$journalEntryId

public int $journalEntryId

The last journal entry at the time of report creation.

$timestamps

public bool $timestamps = false

Disable timestamps.

$toDate

public Carbon $toDate

The period end this report was generated for.

Methods

create()

public static create(array<string|int, mixed> $attributes) :

Provided by model.

Parameters
$attributes : array<string|int, mixed>
Return values

createFromMessage()

public static createFromMessage(Report $message) : self
Parameters
$message : Report
Return values
self

toResponse()

public toResponse() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results