Commit 99eccbaf authored by Simon's avatar Simon

Salary type added

parent 06bd4cc3
......@@ -16,6 +16,7 @@ class JsonDataCollector
'salary_from' => 'atlygis_nuo',
'salary_to' => 'atlygis_iki',
'video_url' => 'video_url',
'salary_type' => 'salary_type',
];
// Taxonomies data map
......
......@@ -276,7 +276,23 @@ get_header();
echo __('to', 'biuro') . ' ' . $pod->field( 'salary_to' ) . ' ';
endif;
switch ($pod->field('salary_type')):
case 'neto_month':
_e('(neto per month)', 'biuro');
break;
case 'bruto_month':
_e('(bruto per month)', 'biuro');
break;
case 'neto_hour':
_e('(neto per hour)', 'biuro');
break;
case 'bruto_hour':
_e('(bruto per hour)', 'biuro');
break;
default:
_e('(neto)', 'biuro');
break;
endswitch;
endif;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment