Vehicle helpers
Documentation for vehicle common helpers
Automatically available in all PZP, Kasko & Seats products
Methods
ownerData(): Person
/**
* Get data for owner depending on form data
*
* @return Person
*/
textBrand(): string
/**
* Get text value for brand of vehicle
*
* @return string
*/
textBrandModel(): string
/**
* Get text value for brand & model of vehicle
*
* @return string
*/
textModel(): string
/**
* Get text value for model of vehicle
*
* @return string
*/
useBrandModelText(): bool
/**
* Detect if should use text or codelist values for model and brand
* If true, use model_text, brand_text , else model, brand fields
*
* @return bool
*/
withEvn(): bool
/**
* Detect if vehicle has or will have EVN
*
* Don't forget to add into $requiredInCreate Field::HAS_EVN, Field::SOON_EVN
*/