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

#import <UIKit/UIKit.h>

@interface PortfolioEditQTYViewController : UIViewController<UITextFieldDelegate, UITextViewDelegate>
@property int qty;
@property (strong, nonatomic) IBOutlet UITextField *editQTY;
@property (nonatomic , copy) void (^onSetValue)(int qty , double percentage, double price, double discount, NSString* notes);
@property (strong, nonatomic) IBOutlet UILabel *labelQueryQTY;
@property (strong, nonatomic) IBOutlet UILabel *labelQTYTitle;
@property (strong, nonatomic) IBOutlet UISwitch *switchQTY;

@property (strong, nonatomic) IBOutlet UIButton *buttonRefresh;
//@property (strong, nonatomic)  NSString * fashionid;
@property (strong, nonatomic) NSMutableArray* arr_fashion_ids;

@property  double price;
@property  double qty_p;
@property  double discount;
@property (strong, nonatomic) NSString* linenotes;

@property (strong, nonatomic) IBOutlet UITextField *editPrice;
@property (strong, nonatomic) IBOutlet UITextField *editDiscount;
@property (strong, nonatomic) IBOutlet UILabel *labelDiscount;
//@property (strong, nonatomic) IBOutlet UILabel *labelCalPrice;
@property (strong, nonatomic) IBOutlet UILabel *label_multiItems;
@property (strong, nonatomic) IBOutlet UITextView *tv_linenote;
@property (strong, nonatomic) IBOutlet UILabel *labelpriceafter;

@property (strong, nonatomic) IBOutlet UILabel *labelNewPrice;
@property (strong, nonatomic) IBOutlet UILabel *labelNote;

@property int ids_count;

#pragma mark Jack

@property (strong, nonatomic) IBOutlet UIButton *qtyCheckButton;
@property (strong, nonatomic) IBOutlet UIButton *priceCheckButton;
@property (strong, nonatomic) IBOutlet UIButton *discountCheckButton;
@property (strong, nonatomic) IBOutlet UIButton *lineNoteCheckButton;

@property (strong, nonatomic) IBOutlet UILabel *noticeLabel;

@end

