FinancialStatement
abstract class FinancialStatement
Properties
| string | $reportingPeriod | Financial Statement Reporting Period. |
|
| array | $balances | Financial Statement balances. |
|
| array | $accounts | Financial Statement accounts. |
|
| array | $totals | Financial Statement totals. |
|
| array | $results | Financial Statement results. |
|
| string | $statement | Financial Statement printout. |
|
| string | $indent | Financial Statement printout indent. |
|
| string | $separator | Financial Statement printout subtotal rule. |
|
| string | $grand_total | Financial Statement printout total rule. |
|
| int | $result_indents | Financial Statement printout result indent width. |
|
| protected Entity | $entity | Financial Statement Entity. |
Methods
Construct Financial Statement for the given period
Print Financial Statement attributes.
Get Statement Sections.
Print Statement Title
Print Statement Section
Print Statement Total
Print Statement Result
Details
at line 101
__construct(ReportingPeriod|null $period = null, Entity|null $entity = null)
Construct Financial Statement for the given period
at line 125
array
attributes()
Print Financial Statement attributes.
at line 143
array
getSections(string|Carbon $startDate = null, string|Carbon $endDate = null, bool $fullbalance = true)
Get Statement Sections.
at line 177
protected string
printTitle(string $statement, string $title)
Print Statement Title
at line 209
protected string
printSection(string $section, string $statement, string $indent, int $amountFactor = 1)
Print Statement Section
at line 236
protected string
printTotal(string $section, string $statement, string $indent, int $amountFactor = 1, int $indentFactor = 1)
Print Statement Total
at line 258
protected string
printResult(string $result, string $statement, string $indent, int $indentFactor)
Print Statement Result