Skip to content
Snippets Groups Projects
Commit d17d97df authored by Tim Wagner's avatar Tim Wagner
Browse files

[TASK] Set EUR as default salary currency

parent 9c512a3d
No related branches found
No related tags found
1 merge request!20[FEATURE] Extended TCAs for Structured Data (SEO)
......@@ -120,7 +120,7 @@ class Job extends AbstractEntity {
/**
* @var string $salaryCurrency
*/
protected $salaryCurrency = '';
protected $salaryCurrency = 'EUR';
/**
* @var string $salaryUnit
......
......@@ -397,6 +397,7 @@ return call_user_func(
'type' => 'input',
'eval' => 'alpha, upper',
'max' => 3,
'default' => 'EUR',
],
],
'salary_unit' => [
......
......@@ -14,7 +14,7 @@ CREATE TABLE tx_sgjobs_domain_model_job (
employment_types text DEFAULT '' NOT NULL,
date_posted int(11) unsigned DEFAULT '0' NOT NULL,
valid_through int(11) unsigned DEFAULT '0' NOT NULL,
salary_currency varchar(3) DEFAULT '' NOT NULL,
salary_currency varchar(3) DEFAULT 'EUR' NOT NULL,
base_salary varchar(15) DEFAULT '' NOT NULL,
max_salary varchar(15) DEFAULT '' NOT NULL,
salary_unit varchar(5) DEFAULT '' NOT NULL,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment