//
//  CategoryFilterViewController.h
//  iSales-NPD
//
//  Created by Ray on 3/4/16.
//  Copyright © 2016 United Software Applications, Inc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EnumSelectViewController.h"
#import "RATreeView.h"
@interface CategorySearchFilterViewController : UIViewController<RATreeViewDelegate, RATreeViewDataSource>//<EnumSelectViewControllerDelegate>
@property (strong, nonatomic) NSDictionary* alert_cadedate;
@property (strong, nonatomic) NSDictionary* qty_cadedate;
@property (strong, nonatomic) NSDictionary* availability_cadedate;
@property (strong, nonatomic) NSDictionary* price_cadedate;
@property (strong, nonatomic) NSDictionary* bestseller_cadedate;

@property (strong,nonatomic) NSString*  categoryid;

@property (strong, nonatomic) IBOutlet UIView *treeContainer;
@property (weak, nonatomic) RATreeView *treeView;

@property (strong, nonatomic) IBOutlet UIButton *buttonQTY;
@property (strong, nonatomic) IBOutlet UIButton *buttonAlert;
@property (strong, nonatomic) IBOutlet UIButton *buttonAvailability;
@property (strong, nonatomic) IBOutlet UIButton *buttonPrice;
@property (strong, nonatomic) IBOutlet UIButton *buttonBestSeller;


@property (strong, nonatomic) IBOutlet UILabel *labelPrice;
@property (nonatomic , copy) void (^OkClick)(NSString* modelname,NSString* modeldescrip,NSString* available,NSString* QTY,NSString* alert,NSString* price , NSString* bestseller);
@property (nonatomic , copy) void (^ResetClick)(void);

@property (strong, nonatomic) NSString* modelname;
@property (strong, nonatomic) NSString* modeldescrip;
@property (strong, nonatomic) IBOutlet UITextField *textModelName;
@property (strong, nonatomic) IBOutlet UITextField *textModelDescription;


@property (strong, nonatomic) NSMutableDictionary* default_filter;


@property (strong,nonatomic)NSDictionary* categoryMenu;
@end
