Menu

## PayslipItem extends Model
in package
uses SoftDeletes

PayslipItem.php : 27

Class PayslipItem

Model for managing payslip line items.

##### Tags

mixin

### Table of Contents

#### Properties

$amount : float
$created_at : DateTime
$deleted_at : DateTime
$id : int
$payroll : Payroll
$payroll_id : int
$salary_item_id : int
$salaryitem : SalaryItem
$updated_at : DateTime
$fillable : mixed
$with : mixed

#### Methods

payroll() : BelongsTo
  Get the payroll for this payslip item.
salaryitem() : BelongsTo
  Get the salary item for this payslip item.

### Properties

#### $amount

PayslipItem.php : 0
`public float $amount`

#### $created_at

PayslipItem.php : 0
`public DateTime $created_at`

#### $deleted_at

PayslipItem.php : 0
`public DateTime $deleted_at`

#### $id

PayslipItem.php : 0
`public int $id`

#### $payroll read-only

PayslipItem.php : 0
`public Payroll $payroll`

#### $payroll_id

PayslipItem.php : 0
`public int $payroll_id`

#### $salary_item_id

PayslipItem.php : 0
`public int $salary_item_id`

#### $salaryitem read-only

PayslipItem.php : 0
`public SalaryItem $salaryitem`

#### $updated_at

PayslipItem.php : 0
`public DateTime $updated_at`

#### $fillable

PayslipItem.php : 34
`protected mixed $fillable = ['payroll_id', 'salary_item_id', 'amount']`

#### $with

PayslipItem.php : 32
`protected mixed $with = ['salaryitem']`

### Methods

#### payroll()

PayslipItem.php : 41

Get the payroll for this payslip item.

`public payroll() : BelongsTo`

##### Return values

BelongsTo

#### salaryitem()

PayslipItem.php : 51

Get the salary item for this payslip item.

`public salaryitem() : BelongsTo`

##### Return values

BelongsTo

## Search results