Quintiq file version 2.0
#parent: pnlUnit/Button671_325
Response OnClick () id:Response_PanelStandardWorkingDay_Button671_OnClick_570
{
  #keys: '[412672.1.7514567]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  GroupServerCalls: true
  Precondition:
  [*
    return cbUnit.Checked();
  *]
  QuillAction
  {
    Body:
    [*
      this.Image( "LOCK" );
      ddlEmployeeType.Enabled( true,"" );
      npEmployeeNumber.Enabled( true,"" );
      dsStartDate.Enabled( true,"" );
      npBaseSalary.Enabled( true,"" );
      
      ddlUnit.Enabled( false,"" );
      cbUnit.Checked( false );
      
      unit := ddlUnit.Data();
      dhEmployeeCost.Data( unit.EmployeeCost( relshadow ));
    *]
  }
}
