mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
feat: discount formatted attributes of sale transactions
This commit is contained in:
@@ -25,6 +25,11 @@ export interface ISaleEstimate {
|
||||
|
||||
branchId?: number;
|
||||
warehouseId?: number;
|
||||
|
||||
discountAmount?: number;
|
||||
discountPercentage?: number | null;
|
||||
|
||||
adjustment?: number;
|
||||
}
|
||||
export interface ISaleEstimateDTO {
|
||||
customerId: number;
|
||||
|
||||
@@ -83,8 +83,8 @@ export interface ISaleInvoice {
|
||||
}
|
||||
|
||||
export enum DiscountType {
|
||||
Percentage = 'Percentage',
|
||||
Amount = 'Amount',
|
||||
Percentage = 'percentage',
|
||||
Amount = 'amount',
|
||||
}
|
||||
|
||||
export interface ISaleInvoiceDTO {
|
||||
|
||||
@@ -28,6 +28,11 @@ export interface ISaleReceipt {
|
||||
|
||||
localAmount?: number;
|
||||
entries?: IItemEntry[];
|
||||
|
||||
discountAmount: number;
|
||||
discountPercentage?: number | null;
|
||||
|
||||
adjustment?: number;
|
||||
}
|
||||
|
||||
export interface ISalesReceiptsFilter {
|
||||
|
||||
Reference in New Issue
Block a user