Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

Commit

Permalink
refactor(front-end): Update Invoice and ProductInvoice models
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosPavajeau committed Jan 5, 2021
1 parent 06a5669 commit ef09b7b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Kaizen/ClientApp/src/app/modules/payments/models/invoice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import { InvoiceState } from './invoice-state';
import { PaymentMethod } from './payment-method';

export interface Invoice {
id: number;
id?: number;
state: InvoiceState;
paymentMethod: PaymentMethod;
generationDate: Date;
paymentDate: Date;
paymentDate?: Date;

client?: Client;

iva: number;
subTotal: number;
total: number;
iva?: number;
subTotal?: number;
total?: number;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { ProductInvoiceDetail } from './product-invoice-detail';
import { Invoice } from './invoice';
import { ProductInvoiceDetail } from './product-invoice-detail';

export interface ProductInvoice extends Invoice {
clientId: string;
productInvoiceDetails: ProductInvoiceDetail[];
}

0 comments on commit ef09b7b

Please sign in to comment.