Documentation

CompensoLavoroOccasionale extends Model
in package

Table of Contents

$birthCity  : string
$birthDate  : string
$birthProvince  : string
$documentCity  : string
$documentDate  : string
$documentTotal  : float
$firstName  : string
$fiscalCode  : string
$fromDate  : string
$lastName  : string
$phoneNumber  : string
$residenceAddress  : string
$residenceAddressNumber  : string
$residenceCity  : string
$residencePostalCode  : string
$residenceProvince  : string
$toDate  : string
$fillable  : mixed
$fiscalCodeTokens  : Fluent|null
fullAddress()  : string
Helper function to retrieve the full address es: Via Tirino, 99 - 65129 - Pescara (PE)
fullName()  : string
Helper function to retrieve the full name es: Mario Rossi
netTotal()  : float
Helper function, calculate the net total (compenso netto pagato)
retrieveBirthCity()  : string
Return the birth place, it first try to retrieve it from the attributes, if it's unaivailable it will try to get it from the fiscalCode
retrieveBirthProvince()  : string
Return the birth province, it first try to retrieve it from the attributes, if it's unaivailable it will try to get it from the fiscalCode
withholding()  : float
Helper function, calculate the withholding (ritenuta d'acconto)
getFiscalCodeTokens()  : Fluent|null
Helper private function, will try to build up tokens from Fiscal Code

Properties

$fillable

protected mixed $fillable = ['firstName', 'lastName', 'birthDate', 'birthCity', 'birthProvince', 'fiscalCode', 'residenceCity', 'residencePostalCode', 'residenceProvince', 'residenceAddress', 'residenceAddressNumber', 'phoneNumber', 'documentTotal', 'documentCity', 'documentDate', 'fromDate', 'toDate']

Methods

fullAddress()

Helper function to retrieve the full address es: Via Tirino, 99 - 65129 - Pescara (PE)

public fullAddress() : string
Return values
string

fullName()

Helper function to retrieve the full name es: Mario Rossi

public fullName() : string
Return values
string

netTotal()

Helper function, calculate the net total (compenso netto pagato)

public netTotal() : float
Return values
float

retrieveBirthCity()

Return the birth place, it first try to retrieve it from the attributes, if it's unaivailable it will try to get it from the fiscalCode

public retrieveBirthCity() : string
Return values
string

retrieveBirthProvince()

Return the birth province, it first try to retrieve it from the attributes, if it's unaivailable it will try to get it from the fiscalCode

public retrieveBirthProvince() : string
Return values
string

withholding()

Helper function, calculate the withholding (ritenuta d'acconto)

public withholding() : float
Return values
float

getFiscalCodeTokens()

Helper private function, will try to build up tokens from Fiscal Code

private getFiscalCodeTokens() : Fluent|null
Tags
todo

Move to a new service

Return values
Fluent|null

Search results