trait Clearing

Methods

getClearedAmountAttribute()

Cleared Transaction amount.

float
clearedAmountAsAt(Carbon $date)

Cleared Transaction amount as at the end of the given date.

HasMany
clearances()

Cleared Model records.

Details

at line 26
getClearedAmountAttribute()

Cleared Transaction amount.

at line 45
float clearedAmountAsAt(Carbon $date)

Cleared Transaction amount as at the end of the given date.

Parameters

Carbon $date

Return Value

float

at line 62
HasMany clearances()

Cleared Model records.

Matched on cleared_type and not the class, which for a Transaction subclass such as a ClientInvoice is not the type its clearances are stored under.

Return Value

HasMany