             NSLocalizedString("VAdminPurchasesHeader_buttonAdd", comment:""),
             for:UIControlState.normal)
         buttonAdd.titleLabel!.font = UIFont.medium(size:15)
+        buttonAdd.addTarget(
+            self,
+            action:#selector(actionAdd(sender:)),
+            for:UIControlEvents.touchUpInside)
         
         addSubview(buttonSave)
         addSubview(buttonAdd)

            NSLocalizedString("VAdminPurchasesHeader_buttonSave", comment:""),
            for:UIControlState.normal)
        buttonSave.titleLabel!.font = UIFont.medium(size:15)
        
        let buttonAdd:UIButton = UIButton()
        buttonAdd.translatesAutoresizingMaskIntoConstraints = false

    {
        fatalError()
    }
    
    //MARK: actions
    
    func actionAdd(sender button:UIButton)
    {
        
    }
    
    func actionSave(sender button:UIButton)
    {
        
    }
}
