//
//  PriceChangerViewController.h
//  DUREX Vendor Control
//
//  Created by Imanol Barba on 9/3/14.
//  Copyright (c) 2014 Emmoco. All rights reserved.
//

@class PriceChangerViewController;

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "BTAppDelegate.h"
#import "ChildViewController.h"

@protocol PriceChangerViewControllerDelegate <NSObject>
- (void)passPriceViewController:(PriceChangerViewController*)controller didFinishEnteringItem:(NSArray *)data;

@end


@interface PriceChangerViewController : ChildViewController <UITextFieldDelegate>

@property (strong, nonatomic) IBOutlet UIView *priceChangerView;
@property (strong, nonatomic) IBOutlet UITextField *price;
@property (strong, nonatomic) IBOutlet UITextField *channel;
@property (strong, nonatomic) IBOutlet UITextField *code;
@property (nonatomic, strong) id <PriceChangerViewControllerDelegate> delegate;

- (void) showInView:(UIView *)aView animated:(BOOL)animated;
- (IBAction) closePopup:(id)sender;


@end
