LineItem
class LineItem extends Model implements Recyclable, Segragatable
Class LineItem
Traits
Properties
protected array | $fillable | The attributes that are mass assignable. | |
Entity | $entity | ||
Transaction | $transaction | ||
Vat | $vat | ||
Account | $account | ||
Account | $vatAccount | ||
Carbon | $date | ||
int | $quantity | ||
float | $amount | ||
Carbon | $destroyed_at | ||
Carbon | $deleted_at |
Methods
HasMany
ledgers()
LineItem Ledgers.
BelongsTo
transaction()
LineItem Transaction.
BelongsTo
account()
LineItem Account.
BelongsTo
vat()
LineItem VAT.
HasOne
vatAccount()
LineItem Vat Account.
object
attributes()
LineItem attributes.
bool
save(array $options = [])
Check LineItem Vat.
Details
in Segragating at line 29
static null
bootSegragating()
Register EntityScope for Model.
in Segragating at line 54
HasOne
entity()
Model's Parent Entity.
in Recycling at line 26
static void
bootRecycling()
Model recycling events.
in Recycling at line 69
MorphMany
recycled()
Recycled Model records.
in ModelTablePrefix at line 20
getTable()
Determine the model table name
at line 67
HasMany
ledgers()
LineItem Ledgers.
at line 77
BelongsTo
transaction()
LineItem Transaction.
at line 87
BelongsTo
account()
LineItem Account.
at line 97
BelongsTo
vat()
LineItem VAT.
at line 107
HasOne
vatAccount()
LineItem Vat Account.
at line 117
object
attributes()
LineItem attributes.
at line 125
bool
save(array $options = [])
Check LineItem Vat.