@openmrs/esm-billing-app 1.1.2-pre.1816 → 1.1.2-pre.1828

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/.turbo/cache/50fe429486b78aef-meta.json +1 -0
  2. package/.turbo/cache/50fe429486b78aef.tar.zst +0 -0
  3. package/.turbo/turbo-build.log +6 -6
  4. package/__mocks__/bills.mock.ts +1 -0
  5. package/dist/2250.js +9 -9
  6. package/dist/2250.js.map +1 -1
  7. package/dist/2269.js +1 -0
  8. package/dist/2269.js.map +1 -0
  9. package/dist/5117.js +1 -1
  10. package/dist/5117.js.map +1 -1
  11. package/dist/6472.js +1 -1
  12. package/dist/6472.js.map +1 -1
  13. package/dist/6594.js +1 -0
  14. package/dist/6594.js.map +1 -0
  15. package/dist/990.js +1 -0
  16. package/dist/990.js.map +1 -0
  17. package/dist/main.js +6 -6
  18. package/dist/main.js.map +1 -1
  19. package/dist/openmrs-esm-billing-app.js +3 -3
  20. package/dist/openmrs-esm-billing-app.js.buildmanifest.json +84 -36
  21. package/dist/openmrs-esm-billing-app.js.map +1 -1
  22. package/dist/routes.json +1 -1
  23. package/package.json +1 -1
  24. package/src/bill-item-actions/edit-bill-item.test.tsx +1 -0
  25. package/src/billable-services/billable-services-home.component.tsx +2 -0
  26. package/src/billing.resource.test.ts +1 -0
  27. package/src/bills-table/bills-table.component.tsx +11 -1
  28. package/src/bills-table/bills-table.test.tsx +2 -0
  29. package/src/discounts/discounts-table.component.tsx +2 -4
  30. package/src/discounts/discounts-table.test.tsx +13 -19
  31. package/src/discounts/request-discount.modal.tsx +1 -0
  32. package/src/index.ts +26 -7
  33. package/src/invoice/invoice-table.component.tsx +51 -29
  34. package/src/invoice/invoice-table.test.tsx +84 -1
  35. package/src/invoice/invoice.component.tsx +63 -22
  36. package/src/invoice/invoice.test.tsx +166 -41
  37. package/src/invoice/line-item-action-menu.component.tsx +12 -0
  38. package/src/invoice/payments/payment-history/payment-history.test.tsx +2 -0
  39. package/src/invoice/payments/payments.component.tsx +9 -1
  40. package/src/invoice/payments/payments.test.tsx +1 -0
  41. package/src/modal/finalize-bill-confirmation.modal.test.tsx +1 -0
  42. package/src/refunds/admin/refund-requests-left-panel-link.component.tsx +43 -0
  43. package/src/refunds/admin/refund-requests.component.tsx +324 -0
  44. package/src/refunds/admin/refund-requests.scss +133 -0
  45. package/src/refunds/admin/refund-requests.test.tsx +99 -0
  46. package/src/refunds/admin/review-bill-refunds/bill-line-items-table/bill-line-items-table.component.tsx +42 -0
  47. package/src/refunds/admin/review-bill-refunds/bill-line-items-table/bill-line-items-table.scss +76 -0
  48. package/src/refunds/admin/review-bill-refunds/bill-payments-table/bill-payments-table.component.tsx +50 -0
  49. package/src/refunds/admin/review-bill-refunds/bill-payments-table/bill-payments-table.scss +63 -0
  50. package/src/refunds/admin/review-bill-refunds/bill-receipt-rail/bill-receipt-rail.component.tsx +84 -0
  51. package/src/refunds/admin/review-bill-refunds/bill-receipt-rail/bill-receipt-rail.scss +54 -0
  52. package/src/refunds/admin/review-bill-refunds/bill-totals-summary/bill-totals-summary.component.tsx +83 -0
  53. package/src/refunds/admin/review-bill-refunds/bill-totals-summary/bill-totals-summary.scss +65 -0
  54. package/src/refunds/admin/review-bill-refunds/refund-card/refund-card.component.tsx +170 -0
  55. package/src/refunds/admin/review-bill-refunds/refund-card/refund-card.scss +155 -0
  56. package/src/refunds/admin/review-bill-refunds/refund-review-stack/refund-review-stack.component.tsx +86 -0
  57. package/src/refunds/admin/review-bill-refunds/refund-review-stack/refund-review-stack.scss +40 -0
  58. package/src/refunds/admin/review-bill-refunds/review-bill-refunds.modal.scss +14 -0
  59. package/src/refunds/admin/review-bill-refunds/review-bill-refunds.modal.test.tsx +313 -0
  60. package/src/refunds/admin/review-bill-refunds/review-bill-refunds.modal.tsx +188 -0
  61. package/src/refunds/admin/review-bill-refunds/review-bill-refunds.utils.ts +66 -0
  62. package/src/refunds/refunds-table.component.tsx +137 -0
  63. package/src/refunds/refunds-table.scss +37 -0
  64. package/src/refunds/refunds-table.test.tsx +105 -0
  65. package/src/refunds/refunds.resource.test.ts +44 -0
  66. package/src/refunds/refunds.resource.ts +42 -0
  67. package/src/refunds/refunds.types.test.ts +15 -0
  68. package/src/refunds/request-refund.modal.scss +84 -0
  69. package/src/refunds/request-refund.modal.test.tsx +204 -0
  70. package/src/refunds/request-refund.modal.tsx +218 -0
  71. package/src/routes.json +9 -1
  72. package/src/types/index.ts +43 -1
  73. package/translations/en.json +60 -0
  74. package/.turbo/cache/8b34a3edbd03446f-meta.json +0 -1
  75. package/.turbo/cache/8b34a3edbd03446f.tar.zst +0 -0
  76. package/dist/3395.js +0 -1
  77. package/dist/3395.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"hash":"50fe429486b78aef","duration":14087}
@@ -1,15 +1,15 @@
1
1
  WARNING in âš  asset size limit: The following asset(s) exceed the recommended size limit (244.141 KiB). This can impact web performance.
2
2
  │ Assets:
3
- │ main.js (1.666 MiB)
4
- │ 6472.js (329.223 KiB)
5
- │ 3395.js (1.132 MiB)
6
- │ 2250.js (1.674 MiB)
3
+ │ main.js (1.761 MiB)
4
+ │ 6472.js (329.723 KiB)
5
+ │ 2250.js (1.677 MiB)
6
+ │ 990.js (1.227 MiB)
7
7
  
8
8
 
9
9
  WARNING in âš  entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244.141 KiB). This can impact web performance.
10
10
  │ Entrypoints:
11
- │ main (1.666 MiB)
11
+ │ main (1.761 MiB)
12
12
  │ main.js
13
13
  
14
14
 
15
- Rspack compiled with 2 warnings in 12.21 s
15
+ Rspack compiled with 2 warnings in 12.84 s
@@ -385,6 +385,7 @@ export const mockBill = {
385
385
  billingService: 'Hemoglobin',
386
386
  payments: [],
387
387
  totalAmount: 100,
388
+ netAmount: 100,
388
389
  tenderedAmount: 0,
389
390
  };
390
391