*/ public static function getValidations() { return [ 'company_address' => 'nullable|string', 'company_mail' => 'nullable|string', 'company_name' => 'nullable|string', 'company_phone' => 'nullable|string', 'company_vat' => 'nullable|string', 'company_website' => 'nullable|string', 'enabled' => 'nullable|string', 'prefix' => 'nullable|string', ]; } /** * Summary of optionTypes * Only used for the settings page * @return array>> */ public static function getOptionInputData() { return [ 'category_icon' => 'fas fa-file-invoice-dollar', 'company_address' => [ 'label' => 'Company Address', 'type' => 'string', 'description' => 'The address of your company.', ], 'company_mail' => [ 'label' => 'Company Mail', 'type' => 'string', 'description' => 'The mail of your company.', ], 'company_name' => [ 'label' => 'Company Name', 'type' => 'string', 'description' => 'The name of your company.', ], 'company_phone' => [ 'label' => 'Company Phone', 'type' => 'string', 'description' => 'The phone of your company.', ], 'company_vat' => [ 'label' => 'Company VAT ID', 'type' => 'string', 'description' => 'The VAT ID of your company.', ], 'company_website' => [ 'label' => 'Company Website', 'type' => 'string', 'description' => 'The website of your company.', ], 'enabled' => [ 'label' => 'Enabled', 'type' => 'boolean', 'description' => 'Enable or disable invoices.', ], 'prefix' => [ 'label' => 'Prefix', 'type' => 'string', 'description' => 'The prefix of your invoices.', ], ]; } }