//
//  BIInvoiceSlipsSummary.h
//  BISubstrate
//
//  Created by Alykhan Jetha on 27/02/08.
//  Copyright 1999-2006 Marketcircle Inc. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class BIInvoice;

@interface BIInvoiceSlipsSummary : NSObject {
	NSArray *slips;
	NSString *name;
	BIInvoice *invoice;
}

- (NSArray *)slips;
- (void)setSlips:(NSArray *)aSlips;

- (NSString *)name;
- (void)setName:(NSString *)aName;

- (BIInvoice *)invoice;
- (void)setInvoice:(BIInvoice *)anInvoice;

- (NSNumber *)subtotalPlusMarkupMinusDiscount;
- (NSNumber *)taxesTotal;

- (BOOL)areAllSlipsTheSameType;

- (id)quantityDuration;
- (NSString*)quantityDurationString;

- (NSArray *)timedAndFlatSlips;
- (NSNumber *)timedAndFlatSubtotalPlusMarkupMinusDiscount;
- (NSNumber *)timedAndFlatTaxesTotal;
- (NSString *)timeAndFlatDurationString;

- (NSArray *)expenseMileageAndQuantitySlips;
- (NSNumber *)expenseMileageAndQuantitySubtotalPlusMarkupMinusDiscount;
- (NSNumber *)expenseMileageAndQuantityTaxesTotal;


@end
