@kenyaemr/esm-billing-app 5.4.2-pre.2234 → 5.4.2-pre.2238

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.
@@ -47,4 +47,4 @@ Entrypoints:
47
47
  main (3.92 MiB)
48
48
  main.js
49
49
 
50
- webpack 5.99.9 compiled with 2 warnings in 282351 ms
50
+ webpack 5.99.9 compiled with 2 warnings in 253576 ms
@@ -1,4 +1,4 @@
1
- import { MappedBill } from '../src/types';
1
+ import { MappedBill, PaymentStatus } from '../src/types';
2
2
 
3
3
  export const mockBillData: Array<MappedBill> = [
4
4
  {
@@ -7,7 +7,7 @@ export const mockBillData: Array<MappedBill> = [
7
7
  patientName: 'John Doe',
8
8
  identifier: 'TEST123',
9
9
  patientUuid: 'patient-uuid-1',
10
- status: 'PENDING',
10
+ status: PaymentStatus.PENDING,
11
11
  receiptNumber: '1000-1',
12
12
  cashier: {
13
13
  uuid: 'cashier-uuid-1',
@@ -74,7 +74,11 @@ export const mockCurrentBillableService = {
74
74
  uuid: 'service-uuid-1',
75
75
  name: 'TEST SERVICE',
76
76
  shortName: 'TEST SERVICE',
77
- serviceStatus: 'ENABLED',
77
+ serviceStatus: 'ENABLED' as const,
78
+ stockItem: {
79
+ uuid: 'stock-item-uuid-1',
80
+ display: 'Test Stock Item',
81
+ },
78
82
  serviceType: {
79
83
  uuid: 'servicetype-uuid-1',
80
84
  display: 'Test Service',