This repository has been archived by the owner on Nov 8, 2024. It is now read-only.
forked from openmrs/openmrs-esm-template-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- ft-HSC-306
- (#1)
1 parent
839e6d4
commit 3d9f51a
Showing
8 changed files
with
526 additions
and
10 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
export * from './billingLines.mock'; | ||
export * from './billing-lines.mock'; | ||
export * from './invoices-response.mock'; | ||
export * from './order-response.mock'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
export const mockInvoicesResponse = { | ||
data: [ | ||
{ | ||
name: 'INV-001', | ||
date: '2024-01-01', | ||
payment_state: 'paid', | ||
date_due: '2024-02-01', | ||
invoice_lines: [{ id: 1 }], | ||
}, | ||
{ | ||
name: 'INV-002', | ||
date: '2024-01-01', | ||
payment_state: 'unpaid', | ||
date_due: '2024-02-01', | ||
invoice_lines: [{ id: 2 }], | ||
}, | ||
{ | ||
name: 'INV-003', | ||
date: '2024-01-01', | ||
payment_state: 'partial', | ||
date_due: '2024-02-01', | ||
invoice_lines: [{ id: 3 }], | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
export const mockOrdersResponse = { | ||
data: [ | ||
{ | ||
name: 'ORD-001', | ||
date_order: '2024-01-01', | ||
order_lines: [ | ||
{ | ||
id: 1, | ||
name: 'Not Invoiced', | ||
qty_invoiced: 0, | ||
qty_to_invoice: 1, | ||
invoice_lines: [], | ||
}, | ||
{ | ||
id: 2, | ||
name: 'Partially Invoiced', | ||
qty_invoiced: 1, | ||
qty_to_invoice: 1, | ||
invoice_lines: [], | ||
}, | ||
{ | ||
id: 3, | ||
name: 'Fully Invoiced', | ||
qty_invoiced: 1, | ||
qty_to_invoice: 0, | ||
invoice_lines: [], | ||
}, | ||
], | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters