//
//  OrderListFooterView.m
//  ALand
//
//  Created by Z on 16/5/19.
//  Copyright © 2016年 Z. All rights reserved.
//

#import "OrderListFooterView.h"

@interface OrderListFooterView ()
@property (weak, nonatomic) IBOutlet UILabel *labelTotal;
@property (weak, nonatomic) IBOutlet UILabel *labelCommissions;

@end
@implementation OrderListFooterView
- (void)setUpViewWithModel:(JavenOrderModel *)model
{
    self.labelTotal.text = [NSString stringWithFormat:@"￥%.2f", model.total];
    self.labelCommissions.text = [NSString stringWithFormat:@"￥%.2f", model.commissions];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
