Commit 51590299 authored by Project Open's avatar Project Open
parents 20bcacbb 3dbe93d4
......@@ -16,7 +16,7 @@
<release-date>2016-11-15</release-date>
<description format="text/plain">Human Resources module consisting mainly of the &quot;employee&quot; business object. Employee information include payroll, corporate hierarchy (who manages whom) and demographics.</description>
<provides url="intranet-hr" version="5.0.0.0.0"/>
<provides url="intranet-hr" version="5.1.0.0.0"/>
<requires url="intranet-core" version="5.0.0.0.0"/>
<requires url="intranet-cost" version="5.0.0.0.0"/>
......
......@@ -276,8 +276,11 @@ set n_error 0
if {[form is_submission $form_id]} {
# Form validation
# Rebuild groups for Cost Centers
set cc_ids [db_list cc_ids "select cost_center_id from im_cost_centers"]
foreach cc_id $cc_ids { im_biz_object_group_sweeper -object_id $cc_id }
# Form validation
if { "" != $birthdate } {
if {[catch {
if { $birthdate != [clock format [clock scan $birthdate] -format %Y-%m-%d] } {
......
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