IncomeStatement
class IncomeStatement extends FinancialStatement
Constants
| TITLE |
Income Statement Title |
| OPERATING_REVENUES |
Income Statement Sections |
| NON_OPERATING_REVENUES |
|
| OPERATING_EXPENSES |
|
| NON_OPERATING_EXPENSES |
|
| GROSS_PROFIT |
|
| TOTAL_REVENUE |
|
| TOTAL_EXPENSES |
|
| NET_PROFIT |
|
Properties
| string | $reportingPeriod | Financial Statement Reporting Period. |
from FinancialStatement |
| array | $balances | Financial Statement balances. |
from FinancialStatement |
| array | $accounts | Financial Statement accounts. |
from FinancialStatement |
| array | $totals | Financial Statement totals. |
from FinancialStatement |
| array | $results | Financial Statement results. |
from FinancialStatement |
| string | $statement | Financial Statement printout. |
from FinancialStatement |
| string | $indent | Financial Statement printout indent. |
from FinancialStatement |
| string | $separator | Financial Statement printout subtotal rule. |
from FinancialStatement |
| string | $grand_total | Financial Statement printout total rule. |
from FinancialStatement |
| int | $result_indents | Financial Statement printout result indent width. |
from FinancialStatement |
| protected Entity | $entity | Financial Statement Entity. |
from FinancialStatement |
| array | $period | Income Statement period. |
Methods
Construct Income Statement for the given period.
Income Statement attributes.
Get Cash Flow Statement Sections and Results.
Print Statement Section
Print Statement Total
Print Statement Result
Get Income Statement Account Types.
Get Income Statement Account Types.
Print Income Statement.
Details
at line 63
__construct(string|null $startDate = null, string|null $endDate = null, Entity|null $entity = null)
Construct Income Statement for the given period.
at line 193
array
attributes()
Income Statement attributes.
at line 201
array
getSections(string|Carbon $startDate = null, string|Carbon $endDate = null, bool $fullbalance = true)
Get Cash Flow Statement Sections and Results.
in
FinancialStatement at line 177
protected string
printTitle(string $statement, string $title)
Print Statement Title
in
FinancialStatement at line 209
protected string
printSection(string $section, string $statement, string $indent, int $amountFactor = 1)
Print Statement Section
in
FinancialStatement at line 236
protected string
printTotal(string $section, string $statement, string $indent, int $amountFactor = 1, int $indentFactor = 1)
Print Statement Total
in
FinancialStatement at line 258
protected string
printResult(string $result, string $statement, string $indent, int $indentFactor)
Print Statement Result
at line 100
static array
getAccountTypes()
Get Income Statement Account Types.
at line 117
static array
getResults(int|string $month, int|string $year, Entity|null $entity = null)
Get Income Statement Account Types.
at line 228
void
toString()
Print Income Statement.