@openmrs/esm-billing-app 1.0.1-pre.98 → 1.0.2-pre.56

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 (224) hide show
  1. package/.eslintignore +0 -1
  2. package/.eslintrc +33 -24
  3. package/.husky/pre-commit +1 -1
  4. package/.turbo.json +1 -1
  5. package/.tx/config +11 -0
  6. package/README.md +111 -1
  7. package/dist/1119.js +1 -0
  8. package/dist/1197.js +1 -0
  9. package/dist/1362.js +1 -0
  10. package/dist/1362.js.map +1 -0
  11. package/dist/2146.js +1 -0
  12. package/dist/2690.js +1 -0
  13. package/dist/3029.js +2 -0
  14. package/dist/3029.js.LICENSE.txt +7 -0
  15. package/dist/3029.js.map +1 -0
  16. package/dist/3099.js +1 -0
  17. package/dist/3511.js +1 -0
  18. package/dist/3511.js.map +1 -0
  19. package/dist/3584.js +1 -0
  20. package/dist/4055.js +1 -0
  21. package/dist/4132.js +1 -0
  22. package/dist/4225.js +1 -0
  23. package/dist/4225.js.map +1 -0
  24. package/dist/4300.js +1 -0
  25. package/dist/4335.js +1 -0
  26. package/dist/4618.js +1 -0
  27. package/dist/4652.js +1 -0
  28. package/dist/4817.js +2 -0
  29. package/dist/4817.js.LICENSE.txt +77 -0
  30. package/dist/4817.js.map +1 -0
  31. package/dist/4944.js +1 -0
  32. package/dist/4993.js +1 -0
  33. package/dist/4993.js.map +1 -0
  34. package/dist/5173.js +1 -0
  35. package/dist/5241.js +1 -0
  36. package/dist/5442.js +1 -0
  37. package/dist/5661.js +1 -0
  38. package/dist/6022.js +1 -0
  39. package/dist/6468.js +1 -0
  40. package/dist/6540.js +2 -0
  41. package/dist/6540.js.map +1 -0
  42. package/dist/6606.js +2 -0
  43. package/dist/{591.js.LICENSE.txt → 6606.js.LICENSE.txt} +2 -2
  44. package/dist/6606.js.map +1 -0
  45. package/dist/6679.js +1 -0
  46. package/dist/6840.js +1 -0
  47. package/dist/6859.js +1 -0
  48. package/dist/6941.js +1 -0
  49. package/dist/6941.js.map +1 -0
  50. package/dist/7097.js +1 -0
  51. package/dist/7159.js +1 -0
  52. package/dist/723.js +1 -0
  53. package/dist/7255.js +1 -0
  54. package/dist/7255.js.map +1 -0
  55. package/dist/7617.js +1 -0
  56. package/dist/763.js +1 -0
  57. package/dist/763.js.map +1 -0
  58. package/dist/8163.js +1 -0
  59. package/dist/8349.js +1 -0
  60. package/dist/8618.js +1 -0
  61. package/dist/890.js +1 -0
  62. package/dist/9055.js +1 -0
  63. package/dist/9055.js.map +1 -0
  64. package/dist/9214.js +1 -0
  65. package/dist/9538.js +1 -0
  66. package/dist/{935.js → 961.js} +2 -2
  67. package/dist/{935.js.map → 961.js.map} +1 -1
  68. package/dist/986.js +1 -0
  69. package/dist/9879.js +1 -0
  70. package/dist/9895.js +1 -0
  71. package/dist/9900.js +1 -0
  72. package/dist/9913.js +1 -0
  73. package/dist/main.js +1 -1
  74. package/dist/main.js.LICENSE.txt +31 -1
  75. package/dist/main.js.map +1 -1
  76. package/dist/openmrs-esm-billing-app.js +1 -1
  77. package/dist/openmrs-esm-billing-app.js.buildmanifest.json +844 -165
  78. package/dist/openmrs-esm-billing-app.js.map +1 -1
  79. package/dist/routes.json +1 -1
  80. package/jest.config.js +4 -1
  81. package/package.json +19 -21
  82. package/src/bill-history/bill-history.component.tsx +5 -3
  83. package/src/bill-history/bill-history.scss +24 -9
  84. package/src/bill-history/bill-history.test.tsx +58 -16
  85. package/src/bill-item-actions/bill-item-actions.scss +26 -0
  86. package/src/bill-item-actions/edit-bill-item.component.tsx +221 -0
  87. package/src/bill-item-actions/edit-bill-item.test.tsx +137 -0
  88. package/src/billable-services/bill-waiver/bill-selection.component.tsx +1 -1
  89. package/src/billable-services/bill-waiver/bill-waiver-form.component.tsx +2 -2
  90. package/src/billable-services/bill-waiver/bill-waiver-form.scss +4 -4
  91. package/src/billable-services/bill-waiver/bill-waiver.component.tsx +4 -4
  92. package/src/billable-services/bill-waiver/patient-bills.component.tsx +1 -1
  93. package/src/billable-services/billable-service.resource.ts +19 -6
  94. package/src/billable-services/billable-services-home.component.tsx +19 -3
  95. package/src/billable-services/billable-services-menu-item/item.component.tsx +17 -0
  96. package/src/billable-services/billable-services-menu-item/item.scss +14 -0
  97. package/src/billable-services/billable-services.component.tsx +48 -9
  98. package/src/billable-services/billable-services.scss +10 -9
  99. package/src/billable-services/billable-services.test.tsx +172 -8
  100. package/src/billable-services/cash-point/cash-point-configuration.component.tsx +276 -0
  101. package/src/billable-services/cash-point/cash-point-configuration.scss +23 -0
  102. package/src/billable-services/create-edit/add-billable-service.component.tsx +126 -47
  103. package/src/billable-services/create-edit/add-billable-service.scss +14 -8
  104. package/src/billable-services/create-edit/add-billable-service.test.tsx +12 -10
  105. package/src/billable-services/dashboard/dashboard.scss +3 -3
  106. package/src/billable-services/payyment-modes/payment-modes-config.component.tsx +280 -0
  107. package/src/billable-services/payyment-modes/payment-modes-config.scss +23 -0
  108. package/src/billing-dashboard/billing-dashboard.component.tsx +17 -4
  109. package/src/billing-dashboard/billing-dashboard.scss +3 -3
  110. package/src/billing-form/billing-form.component.tsx +31 -25
  111. package/src/billing-form/billing-form.scss +9 -10
  112. package/src/billing-form/visit-attributes/visit-attributes-form.component.tsx +38 -14
  113. package/src/billing-header/billing-header.component.tsx +21 -5
  114. package/src/billing-header/billing-header.scss +1 -1
  115. package/src/billing.resource.ts +21 -4
  116. package/src/bills-table/bills-table.component.tsx +46 -36
  117. package/src/bills-table/bills-table.scss +6 -6
  118. package/src/bills-table/bills-table.test.tsx +108 -68
  119. package/src/config-schema.ts +36 -1
  120. package/src/constants.ts +2 -0
  121. package/src/dashboard.meta.ts +2 -1
  122. package/src/helpers/functions.ts +0 -2
  123. package/src/hooks/selectedDateContext.ts +10 -0
  124. package/src/index.ts +22 -27
  125. package/src/invoice/invoice-table.component.tsx +95 -56
  126. package/src/invoice/invoice-table.scss +7 -8
  127. package/src/invoice/invoice-table.test.tsx +151 -0
  128. package/src/invoice/invoice.component.tsx +7 -9
  129. package/src/invoice/invoice.scss +2 -2
  130. package/src/invoice/invoice.test.tsx +199 -169
  131. package/src/invoice/payments/payment-form/payment-form.component.tsx +84 -55
  132. package/src/invoice/payments/payment-form/payment-form.test.tsx +174 -0
  133. package/src/invoice/payments/payment-history/payment-history.component.tsx +9 -7
  134. package/src/invoice/payments/payment-history/payment-history.test.tsx +160 -0
  135. package/src/invoice/payments/payments.component.test.tsx +121 -0
  136. package/src/invoice/payments/payments.component.tsx +57 -48
  137. package/src/invoice/payments/utils.ts +17 -13
  138. package/src/invoice/printable-invoice/print-receipt.component.tsx +23 -8
  139. package/src/invoice/printable-invoice/print-receipt.test.tsx +50 -0
  140. package/src/metrics-cards/card.component.tsx +4 -2
  141. package/src/metrics-cards/metrics-cards.test.tsx +1 -1
  142. package/src/modal/require-payment-modal.component.tsx +2 -2
  143. package/src/modal/require-payment-modal.test.tsx +66 -0
  144. package/src/modal/require-payment.scss +2 -1
  145. package/src/routes.json +40 -8
  146. package/src/types/index.ts +15 -0
  147. package/{i18next-parser.config.js → tools/i18next-parser.config.js} +19 -19
  148. package/tools/update-openmrs-deps.mjs +42 -0
  149. package/translations/am.json +53 -0
  150. package/translations/ar.json +170 -0
  151. package/translations/ar_SY.json +170 -0
  152. package/translations/bn.json +170 -0
  153. package/translations/de.json +170 -0
  154. package/translations/en.json +53 -0
  155. package/translations/es.json +53 -0
  156. package/translations/es_MX.json +170 -0
  157. package/translations/fr.json +53 -0
  158. package/translations/he.json +53 -0
  159. package/translations/hi.json +170 -0
  160. package/translations/hi_IN.json +170 -0
  161. package/translations/id.json +170 -0
  162. package/translations/it.json +170 -0
  163. package/translations/km.json +53 -0
  164. package/translations/ku.json +170 -0
  165. package/translations/ky.json +170 -0
  166. package/translations/lg.json +170 -0
  167. package/translations/ne.json +170 -0
  168. package/translations/pl.json +170 -0
  169. package/translations/pt.json +170 -0
  170. package/translations/pt_BR.json +170 -0
  171. package/translations/qu.json +170 -0
  172. package/translations/ro_RO.json +170 -0
  173. package/translations/ru_RU.json +170 -0
  174. package/translations/si.json +170 -0
  175. package/translations/sw.json +170 -0
  176. package/translations/sw_KE.json +170 -0
  177. package/translations/tr.json +170 -0
  178. package/translations/tr_TR.json +170 -0
  179. package/translations/uk.json +170 -0
  180. package/translations/uz.json +170 -0
  181. package/translations/uz@Latn.json +170 -0
  182. package/translations/uz_UZ.json +170 -0
  183. package/translations/vi.json +170 -0
  184. package/translations/zh.json +170 -0
  185. package/translations/zh_CN.json +170 -0
  186. package/tsconfig.json +10 -8
  187. package/webpack.config.js +1 -1
  188. package/dist/146.js +0 -1
  189. package/dist/146.js.map +0 -1
  190. package/dist/294.js +0 -2
  191. package/dist/294.js.map +0 -1
  192. package/dist/319.js +0 -1
  193. package/dist/384.js +0 -1
  194. package/dist/384.js.map +0 -1
  195. package/dist/421.js +0 -1
  196. package/dist/421.js.map +0 -1
  197. package/dist/533.js +0 -1
  198. package/dist/533.js.map +0 -1
  199. package/dist/574.js +0 -1
  200. package/dist/591.js +0 -2
  201. package/dist/591.js.map +0 -1
  202. package/dist/614.js +0 -2
  203. package/dist/614.js.LICENSE.txt +0 -37
  204. package/dist/614.js.map +0 -1
  205. package/dist/753.js +0 -1
  206. package/dist/753.js.map +0 -1
  207. package/dist/757.js +0 -1
  208. package/dist/770.js +0 -1
  209. package/dist/770.js.map +0 -1
  210. package/dist/783.js +0 -1
  211. package/dist/783.js.map +0 -1
  212. package/dist/788.js +0 -1
  213. package/dist/800.js +0 -2
  214. package/dist/800.js.LICENSE.txt +0 -3
  215. package/dist/800.js.map +0 -1
  216. package/dist/807.js +0 -1
  217. package/dist/833.js +0 -1
  218. package/dist/992.js +0 -1
  219. package/dist/992.js.map +0 -1
  220. package/src/root.scss +0 -30
  221. /package/dist/{294.js.LICENSE.txt → 6540.js.LICENSE.txt} +0 -0
  222. /package/dist/{935.js.LICENSE.txt → 961.js.LICENSE.txt} +0 -0
  223. /package/{src → tools}/setup-tests.ts +0 -0
  224. /package/{test-helpers.tsx → tools/test-helpers.tsx} +0 -0
package/dist/4944.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([[4944],{4944:e=>{e.exports=JSON.parse('{"actions":"Actions","addBill":"Add bill item(s)","addBillableServices":"Add Billable Services","addCashPoint":"Add Cash Point","addNewBillableService":"Add new billable service","addNewService":"Add new service","addPaymentMode":"Add Payment Mode","addPaymentOptions":"Add payment option","amount":"Amount","amountDue":"Amount Due","amountToWaiveAriaLabel":"Enter amount to waive","amountToWaiveHelper":"Specify the amount to be deducted from the bill","amountToWaiveLabel":"Amount to Waive","billableService":"Billable service","billableServices":"Billable Services","billedItems":"Billed Items","billedTo":"Billed to","billErrorService":"Bill service error","billing":"Billing","billingForm":"Billing form","billingHistory":"Billing History","billingSettings":"Billing Settings","billItem":"Bill item","billItems":"Bill Items","billLineItemEmpty":"This bill has no line items","billList":"Bill list","billMetrics":"Bill metrics","billName":" {{billName}} ","billPayment":"Bill payment","billPaymentError":"Bill payment error","billPaymentRequiredMessage":"The current patient has pending bill. Advice patient to settle bill before receiving services","billServicesManagement":"Bill services management","billsList":"Bill list","billTotal":"Bill total","billWaiver":"Bill waiver","billWaiverError":"Bill waiver failed {{error}}","billWaiverSuccess":"Bill waiver successful","cancel":"Cancel","cashPointConfig":"Cash Point Config","cashPointHistory":"Cash Point History","cashPointLocation":"Cash Point Location","cashPointName":"Cash Point Name","cashPointNamePlaceholder":"e.g., Pharmacy Cash Point","cashPointSaved":"Cash point was successfully saved.","cashPointUuid":"Cash Point UUID","cashPointUuidPlaceholder":"Enter UUID","checkFilters":"Check the filters above","clearSearchInput":"Clear search input","clientBalance":"Client Balance","confirmDeleteMessage":"Are you sure you want to delete this payment mode? Proceed cautiously.","createdSuccessfully":"Billable service created successfully","currentPrice":"Current price","delete":"Delete","deletePaymentMode":"Delete Payment Mode","description":"Description","descriptionPlaceholder":"e.g., Used for all cash transactions","discard":"Discard","discount":"Discount","duplicateCashPointError":"A cash point with the same name or UUID already exists. Please use a unique name and UUID.","duplicatePaymentModeError":"A payment mode with the same name already exists. Please create another payment mode","editBillableService":"Edit billable service","editBillableServices":"Edit Billable Services","editBillLineItem":"Edit bill line item?","editThisBillItem":"Edit this bill item","enterAmount":"Enter amount","enterConcept":"Associated concept","enterReferenceNumber":"Enter ref. number","error":"Error","errorDeletingPaymentMode":"An error occurred while deleting the payment mode.","errorFetchingCashPoints":"An error occurred while fetching cash points.","errorFetchingLocations":"An error occurred while fetching locations.","errorFetchingPaymentModes":"An error occurred while fetching payment modes.","errorLoadingBillServices":"Error loading bill services","errorLoadingPaymentModes":"Payment modes error","errorSavingCashPoint":"An error occurred while saving the cash point.","errorSavingPaymentMode":"An error occurred while saving the payment mode.","filterBy":"Filter by","filterTable":"Filter table","grandTotal":"Grand total","home":"Home","identifier":"Identifier","inlineLoading":"Loading bill items...","insuranceScheme":"Insurance scheme","invalidWaiverAmount":"Invalid waiver amount","invoice":"Invoice","invoiceError":"Invoice error","item":"Item","itemsToBeBilled":"Items to be billed","launchBillForm":"Launch bill form","lineItems":"Line items","loading":"Loading data...","loadingBillingServices":"Loading billing services...","loadingDescription":"Loading","location":"Select Location","manageBillableServices":"Manage billable services","name":"Name","nextPage":"Next page","noBilltoDisplay":"There are no bills to display for this patient","noMatchingBillsToDisplay":"No matching bills to display","noMatchingItemsToDisplay":"No matching items to display","noMatchingServicesToDisplay":"No matching services to display","noResultsFor":"No results for","noResultsFound":"No results found","noServicesToDisplay":"There are no services to display","ok":"OK","patientBillingAlert":"Patient Billing Alert","patientBills":"Patient bill","patientBillsDescription":"List of patient bills","patientCategory":"Patient category","paymentDetails":"Payment Details","paymentMethod":"Payment method","paymentMethods":"Payment methods","paymentMode":"Payment Mode","paymentModeDeleted":"Payment mode was successfully deleted.","paymentModeHistory":"Payment Mode History","paymentModeName":"Payment Mode Name","paymentModeNamePlaceholder":"e.g., Cash, Credit Card","paymentModeSaved":"Payment mode was successfully saved.","paymentModesConfig":"Payment Modes Config","payments":"Payments","pleaseRequiredFields":"Please fill all required fields","policyNumber":"Policy number","postWaiver":"Post waiver","previousPage":"Previous page","price":"Unit Price","priceIsRequired":"Price is required","prices":"Prices","printBill":"Print bill","printReceipt":"Print receipt","processPayment":"Process Payment","quantity":"Quantity","quantityGreaterThanZero":"Quantity must be greater than zero","quantityRequired":"Quantity is required","referenceNumber":"Reference number","save":"Save","saveAndClose":"Save and close","saving":"Saving","searchConcepts":"Search associated concept","searching":"Searching","searchItems":"Search items and services","searchThisTable":"Search this table","selectBillableService":"Select a billable service...","selectCategory":"Select category","selectPatientCategory":"Select patient category","selectPaymentMethod":"Select payment method","sellingAmount":"Enter selling price","sellingPrice":"Selling Price","service":"Service","serviceMetrics":"Service Metrics","serviceName":"Service Name","serviceNameExceedsLimit":"Service Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","serviceShortName":"Short Name","servicesList":"Services list","serviceType":"Service Type","shortName":"Short Name","shortNameExceedsLimit":"Short Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","status":"Service Status","stockItem":"Stock Item","submitting":"Submitting...","success":"Success","total":"Total","totalAmount":"Total Amount","totalTendered":"Total Tendered","unitPrice":"Unit price","updatedSuccessfully":"Billable service updated successfully","uuid":"UUID","visitTime":"Visit time","waiverForm":"Waiver form"}')}}]);
package/dist/4993.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([[4993],{4993:(e,t,n)=>{n.r(t),n.d(t,{INFINITE_PREFIX:()=>B,IS_REACT_LEGACY:()=>S,IS_SERVER:()=>k,OBJECT:()=>s,SWRConfig:()=>H,SWRGlobalState:()=>h,UNDEFINED:()=>i,cache:()=>q,compare:()=>$,createCacheHelper:()=>b,defaultConfig:()=>j,defaultConfigOptions:()=>O,getTimestamp:()=>V,hasRequestAnimationFrame:()=>v,initCache:()=>U,internalMutate:()=>x,isDocumentDefined:()=>w,isFunction:()=>c,isPromiseLike:()=>l,isUndefined:()=>a,isWindowDefined:()=>g,mergeConfigs:()=>z,mergeObjects:()=>u,mutate:()=>J,noop:()=>r,normalize:()=>K,preload:()=>Z,preset:()=>T,rAF:()=>I,revalidateEvents:()=>M,serialize:()=>F,slowConnection:()=>L,stableHash:()=>p,subscribeCallback:()=>ne,useIsomorphicLayoutEffect:()=>A,useSWRConfig:()=>Q,withArgs:()=>te,withMiddleware:()=>oe});var o=n(6072);const r=()=>{},i=r(),s=Object,a=e=>e===i,c=e=>"function"==typeof e,u=(e,t)=>({...e,...t}),l=e=>c(e.then),f=new WeakMap;let d=0;const p=e=>{const t=typeof e,n=e&&e.constructor,o=n==Date;let r,i;if(s(e)!==e||o||n==RegExp)r=o?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(r=f.get(e),r)return r;if(r=++d+"~",f.set(e,r),n==Array){for(r="@",i=0;i<e.length;i++)r+=p(e[i])+",";f.set(e,r)}if(n==s){r="#";const t=s.keys(e).sort();for(;!a(i=t.pop());)a(e[i])||(r+=i+":"+p(e[i])+",");f.set(e,r)}}return r},h=new WeakMap,E={},_={},m="undefined",g=typeof window!=m,w=typeof document!=m,v=()=>g&&typeof window.requestAnimationFrame!=m,b=(e,t)=>{const n=h.get(e);return[()=>!a(t)&&e.get(t)||E,o=>{if(!a(t)){const r=e.get(t);t in _||(_[t]=r),n[5](t,u(r,o),r||E)}},n[6],()=>!a(t)&&t in _?_[t]:!a(t)&&e.get(t)||E]};let y=!0;const[R,C]=g&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[r,r],T={isOnline:()=>y,isVisible:()=>{const e=w&&document.visibilityState;return a(e)||"hidden"!==e}},O={initFocus:e=>(w&&document.addEventListener("visibilitychange",e),R("focus",e),()=>{w&&document.removeEventListener("visibilitychange",e),C("focus",e)}),initReconnect:e=>{const t=()=>{y=!0,e()},n=()=>{y=!1};return R("online",t),R("offline",n),()=>{C("online",t),C("offline",n)}}},S=!o.useId,k=!g||"Deno"in window,I=e=>v()?window.requestAnimationFrame(e):setTimeout(e,1),A=k?o.useEffect:o.useLayoutEffect,D="undefined"!=typeof navigator&&navigator.connection,L=!k&&D&&(["slow-2g","2g"].includes(D.effectiveType)||D.saveData),F=e=>{if(c(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?p(e):"",t]};let N=0;const V=()=>++N,W=2;var M={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:W,RECONNECT_EVENT:1};async function x(...e){const[t,n,o,r]=e,s=u({populateCache:!0,throwOnError:!0},"boolean"==typeof r?{revalidate:r}:r||{});let f=s.populateCache;const d=s.rollbackOnError;let p=s.optimisticData;const E=s.throwOnError;if(c(n)){const e=n,o=[],r=t.keys();for(const n of r)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&o.push(n);return Promise.all(o.map(_))}return _(n);async function _(n){const[r]=F(n);if(!r)return;const[u,_]=b(t,r),[m,g,w,v]=h.get(t),y=()=>{const e=m[r];return(c(s.revalidate)?s.revalidate(u().data,n):!1!==s.revalidate)&&(delete w[r],delete v[r],e&&e[0])?e[0](W).then((()=>u().data)):u().data};if(e.length<3)return y();let R,C=o;const T=V();g[r]=[T,0];const O=!a(p),S=u(),k=S.data,I=S._c,A=a(I)?k:I;if(O&&(p=c(p)?p(A,k):p,_({data:p,_c:A})),c(C))try{C=C(A)}catch(e){R=e}if(C&&l(C)){if(C=await C.catch((e=>{R=e})),T!==g[r][0]){if(R)throw R;return C}R&&O&&(e=>"function"==typeof d?d(e):!1!==d)(R)&&(f=!0,_({data:A,_c:i}))}if(f&&!R)if(c(f)){const e=f(C,A);_({data:e,error:i,_c:i})}else _({data:C,error:i,_c:i});if(g[r][1]=V(),Promise.resolve(y()).then((()=>{_({_c:i})})),!R)return C;if(E)throw R}}const P=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},U=(e,t)=>{if(!h.has(e)){const n=u(O,t),o={},s=x.bind(i,e);let a=r;const c={},l=(e,t)=>{const n=c[e]||[];return c[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},f=(t,n,o)=>{e.set(t,n);const r=c[t];if(r)for(const e of r)e(n,o)},d=()=>{if(!h.has(e)&&(h.set(e,[o,{},{},{},s,f,l]),!k)){const t=n.initFocus(setTimeout.bind(i,P.bind(i,o,0))),r=n.initReconnect(setTimeout.bind(i,P.bind(i,o,1)));a=()=>{t&&t(),r&&r(),h.delete(e)}}};return d(),[e,s,d,a]}return[e,h.get(e)[4]]},$=(e,t)=>p(e)==p(t),[q,J]=U(new Map),j=u({onLoadingSlow:r,onSuccess:r,onError:r,onErrorRetry:(e,t,n,o,r)=>{const i=n.errorRetryCount,s=r.retryCount,c=~~((Math.random()+.5)*(1<<(s<8?s:8)))*n.errorRetryInterval;!a(i)&&s>i||setTimeout(o,c,r)},onDiscarded:r,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:L?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:L?5e3:3e3,compare:$,isPaused:()=>!1,cache:q,mutate:J,fallback:{}},T),z=(e,t)=>{const n=u(e,t);if(t){const{use:o,fallback:r}=e,{use:i,fallback:s}=t;o&&i&&(n.use=o.concat(i)),r&&s&&(n.fallback=u(r,s))}return n},G=(0,o.createContext)({}),H=e=>{const{value:t}=e,n=(0,o.useContext)(G),r=c(t),s=(0,o.useMemo)((()=>r?t(n):t),[r,n,t]),a=(0,o.useMemo)((()=>r?s:z(n,s)),[r,n,s]),l=s&&s.provider,f=(0,o.useRef)(i);l&&!f.current&&(f.current=U(l(a.cache||q),s));const d=f.current;return d&&(a.cache=d[0],a.mutate=d[1]),A((()=>{if(d)return d[2]&&d[2](),d[3]}),[]),(0,o.createElement)(G.Provider,u(e,{value:a}))},B="$inf$",X=g&&window.__SWR_DEVTOOLS_USE__,Y=X?window.__SWR_DEVTOOLS_USE__:[],K=e=>c(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],Q=()=>u(j,(0,o.useContext)(G)),Z=(e,t)=>{const[n,o]=F(e),[,,,r]=h.get(q);if(r[n])return r[n];const i=t(o);return r[n]=i,i},ee=Y.concat((e=>(t,n,o)=>e(t,n&&((...e)=>{const[o]=F(t),[,,,r]=h.get(q);if(o.startsWith(B))return n(...e);const i=r[o];return a(i)?n(...e):(delete r[o],i)}),o))),te=e=>function(...t){const n=Q(),[o,r,i]=K(t),s=z(n,i);let a=e;const{use:c}=s,u=(c||[]).concat(ee);for(let e=u.length;e--;)a=u[e](a);return a(o,r||s.fetcher||null,s)},ne=(e,t,n)=>{const o=t[e]||(t[e]=[]);return o.push(n),()=>{const e=o.indexOf(n);e>=0&&(o[e]=o[o.length-1],o.pop())}},oe=(e,t)=>(...n)=>{const[o,r,i]=K(n),s=(i.use||[]).concat(t);return e(o,r,{...i,use:s})};X&&(window.__SWR_DEVTOOLS_REACT__=o)}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"4993.js","mappings":"23BAGA,MAAMA,EAAO,OAKPC,EAA8BD,IAC9BE,EAASC,OACTC,EAAeC,GAAIA,IAAMJ,EACzBK,EAAcD,GAAgB,mBAALA,EACzBE,EAAe,CAACC,EAAGC,KAAI,IAClBD,KACAC,IAELC,EAAiBC,GAAIL,EAAWK,EAAEC,MAMlCC,EAAQ,IAAIC,QAElB,IAAIC,EAAU,EASd,MAAMC,EAAcC,IAChB,MAAMC,SAAcD,EACdE,EAAcF,GAAOA,EAAIE,YACzBC,EAASD,GAAeE,KAC9B,IAAIC,EACAC,EACJ,GAAIrB,EAAOe,KAASA,GAAQG,GAAUD,GAAeK,OA8BjDF,EAASF,EAASH,EAAIQ,SAAmB,UAARP,EAAmBD,EAAIS,WAAqB,UAARR,EAAmBS,KAAKC,UAAUX,GAAO,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KoG,EAAIyE,GAAWd,EAAU1H,GAE/B8E,EAASmB,EAAasC,EAAgBC,GAE5C,IAAIC,EAAOH,EACX,MAAM,IAAEpC,GAAQpB,EACV4D,GAAcxC,GAAO,IAAIK,OAAO0B,IACtC,IAAI,IAAIU,EAAID,EAAW9L,OAAQ+L,KAC3BF,EAAOC,EAAWC,GAAGF,GAEzB,OAAOA,EAAK9K,EAAKoG,GAAMe,EAAOgD,SAAW,KAAMhD,EACnD,EAKE8D,GAAoB,CAACjL,EAAKkL,EAAWlK,KACvC,MAAMmK,EAAoBD,EAAUlL,KAASkL,EAAUlL,GAAO,IAE9D,OADAmL,EAAkBnH,KAAKhD,GAChB,KACH,MAAMxC,EAAQ2M,EAAkBlF,QAAQjF,GACpCxC,GAAS,IAET2M,EAAkB3M,GAAS2M,EAAkBA,EAAkBlM,OAAS,GACxEkM,EAAkB/L,MACtB,CACH,EAICgM,GAAiB,CAACC,EAAQN,IACrB,IAAI1I,KACP,MAAOrC,EAAKoG,EAAIe,GAAU4C,EAAU1H,GAC9BiJ,GAAQnE,EAAOoB,KAAO,IAAIK,OAAOmC,GACvC,OAAOM,EAAOrL,EAAKoG,EAAI,IAChBe,EACHoB,IAAK+C,GACP,EA/FFzB,IAEAnK,OAAO6L,uBAAyB,E","sources":["webpack://@openmrs/esm-billing-app/./node_modules/swr/dist/_internal/index.mjs"],"names":["noop","UNDEFINED","OBJECT","Object","isUndefined","v","isFunction","mergeObjects","a","b","isPromiseLike","x","then","table","WeakMap","counter","stableHash","arg","type","constructor","isDate","Date","result","index","RegExp","toJSON","toString","JSON","stringify","get","set","Array","length","keys","sort","pop","SWRGlobalState","EMPTY_CACHE","INITIAL_CACHE","STR_UNDEFINED","isWindowDefined","window","isDocumentDefined","document","hasRequestAnimationFrame","createCacheHelper","cache","key","state","info","prev","online","onWindowEvent","offWindowEvent","addEventListener","bind","removeEventListener","preset","isOnline","isVisible","visibilityState","defaultConfigOptions","initFocus","callback","initReconnect","onOnline","onOffline","IS_REACT_LEGACY","IS_SERVER","rAF","f","setTimeout","useIsomorphicLayoutEffect","useEffect","useLayoutEffect","navigatorConnection","navigator","connection","slowConnection","includes","effectiveType","saveData","serialize","err","args","isArray","__timestamp","getTimestamp","MUTATE_EVENT","events","__proto__","ERROR_REVALIDATE_EVENT","FOCUS_EVENT","RECONNECT_EVENT","async","internalMutate","_key","_data","_opts","options","populateCache","throwOnError","revalidate","rollbackOnErrorOption","rollbackOnError","optimisticData","keyFilter","matchedKeys","it","test","_k","push","Promise","all","map","mutateByKey","EVENT_REVALIDATORS","MUTATION","FETCH","PRELOAD","startRevalidate","revalidators","data","error","beforeMutationTs","hasOptimisticData","displayedData","currentData","_c","committedData","catch","populateCachedData","resolve","revalidateAllKeys","initCache","provider","has","opts","mutate","unmount","subscriptions","subscribe","subs","splice","indexOf","setter","value","fn","initProvider","releaseFocus","releaseReconnect","delete","compare","newData","Map","defaultConfig","onLoadingSlow","onSuccess","onError","onErrorRetry","_","__","config","maxRetryCount","errorRetryCount","currentRetryCount","retryCount","timeout","Math","random","errorRetryInterval","onDiscarded","revalidateOnFocus","revalidateOnReconnect","revalidateIfStale","shouldRetryOnError","focusThrottleInterval","dedupingInterval","loadingTimeout","isPaused","fallback","mergeConfigs","use","u1","f1","u2","f2","concat","SWRConfigContext","createContext","SWRConfig","props","parentConfig","useContext","isFunctionalConfig","useMemo","extendedConfig","cacheContextRef","useRef","current","cacheContext","createElement","Provider","INFINITE_PREFIX","enableDevtools","__SWR_DEVTOOLS_USE__","normalize","useSWRConfig","preload","key_","fetcher","fnArg","req","BUILT_IN_MIDDLEWARE","useSWRNext","fetcher_","startsWith","withArgs","hook","fallbackConfig","_config","next","middleware","i","subscribeCallback","callbacks","keyedRevalidators","withMiddleware","useSWR","uses","__SWR_DEVTOOLS_REACT__"],"sourceRoot":""}
package/dist/5173.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([[5173],{5173:e=>{e.exports=JSON.parse('{"actions":"Actions","addBill":"Add bill item(s)","addBillableServices":"Add Billable Services","addCashPoint":"Add Cash Point","addNewBillableService":"Add new billable service","addNewService":"Add new service","addPaymentMode":"Add Payment Mode","addPaymentOptions":"Add payment option","amount":"Amount","amountDue":"Amount Due","amountToWaiveAriaLabel":"Enter amount to waive","amountToWaiveHelper":"Specify the amount to be deducted from the bill","amountToWaiveLabel":"Amount to Waive","billableService":"Billable service","billableServices":"Billable Services","billedItems":"Billed Items","billedTo":"Billed to","billErrorService":"Bill service error","billing":"Billing","billingForm":"Billing form","billingHistory":"Billing History","billingSettings":"Billing Settings","billItem":"Bill item","billItems":"Bill Items","billLineItemEmpty":"This bill has no line items","billList":"Bill list","billMetrics":"Bill metrics","billName":" {{billName}} ","billPayment":"Bill payment","billPaymentError":"Bill payment error","billPaymentRequiredMessage":"The current patient has pending bill. Advice patient to settle bill before receiving services","billServicesManagement":"Bill services management","billsList":"Bill list","billTotal":"Bill total","billWaiver":"Bill waiver","billWaiverError":"Bill waiver failed {{error}}","billWaiverSuccess":"Bill waiver successful","cancel":"Cancel","cashPointConfig":"Cash Point Config","cashPointHistory":"Cash Point History","cashPointLocation":"Cash Point Location","cashPointName":"Cash Point Name","cashPointNamePlaceholder":"e.g., Pharmacy Cash Point","cashPointSaved":"Cash point was successfully saved.","cashPointUuid":"Cash Point UUID","cashPointUuidPlaceholder":"Enter UUID","checkFilters":"Check the filters above","clearSearchInput":"Clear search input","clientBalance":"Client Balance","confirmDeleteMessage":"Are you sure you want to delete this payment mode? Proceed cautiously.","createdSuccessfully":"Billable service created successfully","currentPrice":"Current price","delete":"Delete","deletePaymentMode":"Delete Payment Mode","description":"Description","descriptionPlaceholder":"e.g., Used for all cash transactions","discard":"Discard","discount":"Discount","duplicateCashPointError":"A cash point with the same name or UUID already exists. Please use a unique name and UUID.","duplicatePaymentModeError":"A payment mode with the same name already exists. Please create another payment mode","editBillableService":"Edit billable service","editBillableServices":"Edit Billable Services","editBillLineItem":"Edit bill line item?","editThisBillItem":"Edit this bill item","enterAmount":"Enter amount","enterConcept":"Associated concept","enterReferenceNumber":"Enter ref. number","error":"Error","errorDeletingPaymentMode":"An error occurred while deleting the payment mode.","errorFetchingCashPoints":"An error occurred while fetching cash points.","errorFetchingLocations":"An error occurred while fetching locations.","errorFetchingPaymentModes":"An error occurred while fetching payment modes.","errorLoadingBillServices":"Error loading bill services","errorLoadingPaymentModes":"Payment modes error","errorSavingCashPoint":"An error occurred while saving the cash point.","errorSavingPaymentMode":"An error occurred while saving the payment mode.","filterBy":"Filter by","filterTable":"Filter table","grandTotal":"Grand total","home":"Home","identifier":"Identifier","inlineLoading":"Loading bill items...","insuranceScheme":"Insurance scheme","invalidWaiverAmount":"Invalid waiver amount","invoice":"Invoice","invoiceError":"Invoice error","item":"Item","itemsToBeBilled":"Items to be billed","launchBillForm":"Launch bill form","lineItems":"Line items","loading":"Loading data...","loadingBillingServices":"Loading billing services...","loadingDescription":"Loading","location":"Select Location","manageBillableServices":"Manage billable services","name":"Name","nextPage":"Next page","noBilltoDisplay":"There are no bills to display for this patient","noMatchingBillsToDisplay":"No matching bills to display","noMatchingItemsToDisplay":"No matching items to display","noMatchingServicesToDisplay":"No matching services to display","noResultsFor":"No results for","noResultsFound":"No results found","noServicesToDisplay":"There are no services to display","ok":"OK","patientBillingAlert":"Patient Billing Alert","patientBills":"Patient bill","patientBillsDescription":"List of patient bills","patientCategory":"Patient category","paymentDetails":"Payment Details","paymentMethod":"Payment method","paymentMethods":"Payment methods","paymentMode":"Payment Mode","paymentModeDeleted":"Payment mode was successfully deleted.","paymentModeHistory":"Payment Mode History","paymentModeName":"Payment Mode Name","paymentModeNamePlaceholder":"e.g., Cash, Credit Card","paymentModeSaved":"Payment mode was successfully saved.","paymentModesConfig":"Payment Modes Config","payments":"Payments","pleaseRequiredFields":"Please fill all required fields","policyNumber":"Policy number","postWaiver":"Post waiver","previousPage":"Previous page","price":"Unit Price","priceIsRequired":"Price is required","prices":"Prices","printBill":"Print bill","printReceipt":"Print receipt","processPayment":"Process Payment","quantity":"Quantity","quantityGreaterThanZero":"Quantity must be greater than zero","quantityRequired":"Quantity is required","referenceNumber":"Reference number","save":"Save","saveAndClose":"Save and close","saving":"Saving","searchConcepts":"Search associated concept","searching":"Searching","searchItems":"Search items and services","searchThisTable":"Search this table","selectBillableService":"Select a billable service...","selectCategory":"Select category","selectPatientCategory":"Select patient category","selectPaymentMethod":"Select payment method","sellingAmount":"Enter selling price","sellingPrice":"Selling Price","service":"Service","serviceMetrics":"Service Metrics","serviceName":"Service Name","serviceNameExceedsLimit":"Service Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","serviceShortName":"Short Name","servicesList":"Services list","serviceType":"Service Type","shortName":"Short Name","shortNameExceedsLimit":"Short Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","status":"Service Status","stockItem":"Stock Item","submitting":"Submitting...","success":"Success","total":"Total","totalAmount":"Total Amount","totalTendered":"Total Tendered","unitPrice":"Unit price","updatedSuccessfully":"Billable service updated successfully","uuid":"UUID","visitTime":"Visit time","waiverForm":"Waiver form"}')}}]);
package/dist/5241.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([[5241],{5241:e=>{e.exports=JSON.parse('{"actions":"Actions","addBill":"Add bill item(s)","addBillableServices":"Add Billable Services","addCashPoint":"Add Cash Point","addNewBillableService":"Add new billable service","addNewService":"Add new service","addPaymentMode":"Add Payment Mode","addPaymentOptions":"Add payment option","amount":"Amount","amountDue":"Amount Due","amountToWaiveAriaLabel":"Enter amount to waive","amountToWaiveHelper":"Specify the amount to be deducted from the bill","amountToWaiveLabel":"Amount to Waive","billableService":"Billable service","billableServices":"Billable Services","billedItems":"Billed Items","billedTo":"Billed to","billErrorService":"Bill service error","billing":"Billing","billingForm":"Billing form","billingHistory":"Billing History","billingSettings":"Billing Settings","billItem":"Bill item","billItems":"Bill Items","billLineItemEmpty":"This bill has no line items","billList":"Bill list","billMetrics":"Bill metrics","billName":" {{billName}} ","billPayment":"Bill payment","billPaymentError":"Bill payment error","billPaymentRequiredMessage":"The current patient has pending bill. Advice patient to settle bill before receiving services","billServicesManagement":"Bill services management","billsList":"Bill list","billTotal":"Bill total","billWaiver":"Bill waiver","billWaiverError":"Bill waiver failed {{error}}","billWaiverSuccess":"Bill waiver successful","cancel":"Cancel","cashPointConfig":"Cash Point Config","cashPointHistory":"Cash Point History","cashPointLocation":"Cash Point Location","cashPointName":"Cash Point Name","cashPointNamePlaceholder":"e.g., Pharmacy Cash Point","cashPointSaved":"Cash point was successfully saved.","cashPointUuid":"Cash Point UUID","cashPointUuidPlaceholder":"Enter UUID","checkFilters":"Check the filters above","clearSearchInput":"Clear search input","clientBalance":"Client Balance","confirmDeleteMessage":"Are you sure you want to delete this payment mode? Proceed cautiously.","createdSuccessfully":"Billable service created successfully","currentPrice":"Current price","delete":"Delete","deletePaymentMode":"Delete Payment Mode","description":"Description","descriptionPlaceholder":"e.g., Used for all cash transactions","discard":"Discard","discount":"Discount","duplicateCashPointError":"A cash point with the same name or UUID already exists. Please use a unique name and UUID.","duplicatePaymentModeError":"A payment mode with the same name already exists. Please create another payment mode","editBillableService":"Edit billable service","editBillableServices":"Edit Billable Services","editBillLineItem":"Edit bill line item?","editThisBillItem":"Edit this bill item","enterAmount":"Enter amount","enterConcept":"Associated concept","enterReferenceNumber":"Enter ref. number","error":"Error","errorDeletingPaymentMode":"An error occurred while deleting the payment mode.","errorFetchingCashPoints":"An error occurred while fetching cash points.","errorFetchingLocations":"An error occurred while fetching locations.","errorFetchingPaymentModes":"An error occurred while fetching payment modes.","errorLoadingBillServices":"Error loading bill services","errorLoadingPaymentModes":"Payment modes error","errorSavingCashPoint":"An error occurred while saving the cash point.","errorSavingPaymentMode":"An error occurred while saving the payment mode.","filterBy":"Filter by","filterTable":"Filter table","grandTotal":"Grand total","home":"Home","identifier":"Identifier","inlineLoading":"Loading bill items...","insuranceScheme":"Insurance scheme","invalidWaiverAmount":"Invalid waiver amount","invoice":"Invoice","invoiceError":"Invoice error","item":"Item","itemsToBeBilled":"Items to be billed","launchBillForm":"Launch bill form","lineItems":"Line items","loading":"Loading data...","loadingBillingServices":"Loading billing services...","loadingDescription":"Loading","location":"Select Location","manageBillableServices":"Manage billable services","name":"Name","nextPage":"Next page","noBilltoDisplay":"There are no bills to display for this patient","noMatchingBillsToDisplay":"No matching bills to display","noMatchingItemsToDisplay":"No matching items to display","noMatchingServicesToDisplay":"No matching services to display","noResultsFor":"No results for","noResultsFound":"No results found","noServicesToDisplay":"There are no services to display","ok":"OK","patientBillingAlert":"Patient Billing Alert","patientBills":"Patient bill","patientBillsDescription":"List of patient bills","patientCategory":"Patient category","paymentDetails":"Payment Details","paymentMethod":"Payment method","paymentMethods":"Payment methods","paymentMode":"Payment Mode","paymentModeDeleted":"Payment mode was successfully deleted.","paymentModeHistory":"Payment Mode History","paymentModeName":"Payment Mode Name","paymentModeNamePlaceholder":"e.g., Cash, Credit Card","paymentModeSaved":"Payment mode was successfully saved.","paymentModesConfig":"Payment Modes Config","payments":"Payments","pleaseRequiredFields":"Please fill all required fields","policyNumber":"Policy number","postWaiver":"Post waiver","previousPage":"Previous page","price":"Unit Price","priceIsRequired":"Price is required","prices":"Prices","printBill":"Print bill","printReceipt":"Print receipt","processPayment":"Process Payment","quantity":"Quantity","quantityGreaterThanZero":"Quantity must be greater than zero","quantityRequired":"Quantity is required","referenceNumber":"Reference number","save":"Save","saveAndClose":"Save and close","saving":"Saving","searchConcepts":"Search associated concept","searching":"Searching","searchItems":"Search items and services","searchThisTable":"Search this table","selectBillableService":"Select a billable service...","selectCategory":"Select category","selectPatientCategory":"Select patient category","selectPaymentMethod":"Select payment method","sellingAmount":"Enter selling price","sellingPrice":"Selling Price","service":"Service","serviceMetrics":"Service Metrics","serviceName":"Service Name","serviceNameExceedsLimit":"Service Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","serviceShortName":"Short Name","servicesList":"Services list","serviceType":"Service Type","shortName":"Short Name","shortNameExceedsLimit":"Short Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","status":"Service Status","stockItem":"Stock Item","submitting":"Submitting...","success":"Success","total":"Total","totalAmount":"Total Amount","totalTendered":"Total Tendered","unitPrice":"Unit price","updatedSuccessfully":"Billable service updated successfully","uuid":"UUID","visitTime":"Visit time","waiverForm":"Waiver form"}')}}]);
package/dist/5442.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([[5442],{5442:e=>{e.exports=JSON.parse('{"actions":"Actions","addBill":"Add bill item(s)","addBillableServices":"Add Billable Services","addCashPoint":"Add Cash Point","addNewBillableService":"Add new billable service","addNewService":"Add new service","addPaymentMode":"Add Payment Mode","addPaymentOptions":"Add payment option","amount":"Amount","amountDue":"Amount Due","amountToWaiveAriaLabel":"Enter amount to waive","amountToWaiveHelper":"Specify the amount to be deducted from the bill","amountToWaiveLabel":"Amount to Waive","billableService":"Billable service","billableServices":"Billable Services","billedItems":"Billed Items","billedTo":"Billed to","billErrorService":"Bill service error","billing":"Billing","billingForm":"Billing form","billingHistory":"Billing History","billingSettings":"Billing Settings","billItem":"Bill item","billItems":"Bill Items","billLineItemEmpty":"This bill has no line items","billList":"Bill list","billMetrics":"Bill metrics","billName":" {{billName}} ","billPayment":"Bill payment","billPaymentError":"Bill payment error","billPaymentRequiredMessage":"The current patient has pending bill. Advice patient to settle bill before receiving services","billServicesManagement":"Bill services management","billsList":"Bill list","billTotal":"Bill total","billWaiver":"Bill waiver","billWaiverError":"Bill waiver failed {{error}}","billWaiverSuccess":"Bill waiver successful","cancel":"Cancel","cashPointConfig":"Cash Point Config","cashPointHistory":"Cash Point History","cashPointLocation":"Cash Point Location","cashPointName":"Cash Point Name","cashPointNamePlaceholder":"e.g., Pharmacy Cash Point","cashPointSaved":"Cash point was successfully saved.","cashPointUuid":"Cash Point UUID","cashPointUuidPlaceholder":"Enter UUID","checkFilters":"Check the filters above","clearSearchInput":"Clear search input","clientBalance":"Client Balance","confirmDeleteMessage":"Are you sure you want to delete this payment mode? Proceed cautiously.","createdSuccessfully":"Billable service created successfully","currentPrice":"Current price","delete":"Delete","deletePaymentMode":"Delete Payment Mode","description":"Description","descriptionPlaceholder":"e.g., Used for all cash transactions","discard":"Discard","discount":"Discount","duplicateCashPointError":"A cash point with the same name or UUID already exists. Please use a unique name and UUID.","duplicatePaymentModeError":"A payment mode with the same name already exists. Please create another payment mode","editBillableService":"Edit billable service","editBillableServices":"Edit Billable Services","editBillLineItem":"Edit bill line item?","editThisBillItem":"Edit this bill item","enterAmount":"Enter amount","enterConcept":"Associated concept","enterReferenceNumber":"Enter ref. number","error":"Error","errorDeletingPaymentMode":"An error occurred while deleting the payment mode.","errorFetchingCashPoints":"An error occurred while fetching cash points.","errorFetchingLocations":"An error occurred while fetching locations.","errorFetchingPaymentModes":"An error occurred while fetching payment modes.","errorLoadingBillServices":"Error loading bill services","errorLoadingPaymentModes":"Payment modes error","errorSavingCashPoint":"An error occurred while saving the cash point.","errorSavingPaymentMode":"An error occurred while saving the payment mode.","filterBy":"Filter by","filterTable":"Filter table","grandTotal":"Grand total","home":"Home","identifier":"Identifier","inlineLoading":"Loading bill items...","insuranceScheme":"Insurance scheme","invalidWaiverAmount":"Invalid waiver amount","invoice":"Invoice","invoiceError":"Invoice error","item":"Item","itemsToBeBilled":"Items to be billed","launchBillForm":"Launch bill form","lineItems":"Line items","loading":"Loading data...","loadingBillingServices":"Loading billing services...","loadingDescription":"Loading","location":"Select Location","manageBillableServices":"Manage billable services","name":"Name","nextPage":"Next page","noBilltoDisplay":"There are no bills to display for this patient","noMatchingBillsToDisplay":"No matching bills to display","noMatchingItemsToDisplay":"No matching items to display","noMatchingServicesToDisplay":"No matching services to display","noResultsFor":"No results for","noResultsFound":"No results found","noServicesToDisplay":"There are no services to display","ok":"OK","patientBillingAlert":"Patient Billing Alert","patientBills":"Patient bill","patientBillsDescription":"List of patient bills","patientCategory":"Patient category","paymentDetails":"Payment Details","paymentMethod":"Payment method","paymentMethods":"Payment methods","paymentMode":"Payment Mode","paymentModeDeleted":"Payment mode was successfully deleted.","paymentModeHistory":"Payment Mode History","paymentModeName":"Payment Mode Name","paymentModeNamePlaceholder":"e.g., Cash, Credit Card","paymentModeSaved":"Payment mode was successfully saved.","paymentModesConfig":"Payment Modes Config","payments":"Payments","pleaseRequiredFields":"Please fill all required fields","policyNumber":"Policy number","postWaiver":"Post waiver","previousPage":"Previous page","price":"Unit Price","priceIsRequired":"Price is required","prices":"Prices","printBill":"Print bill","printReceipt":"Print receipt","processPayment":"Process Payment","quantity":"Quantity","quantityGreaterThanZero":"Quantity must be greater than zero","quantityRequired":"Quantity is required","referenceNumber":"Reference number","save":"Save","saveAndClose":"Save and close","saving":"Saving","searchConcepts":"Search associated concept","searching":"Searching","searchItems":"Search items and services","searchThisTable":"Search this table","selectBillableService":"Select a billable service...","selectCategory":"Select category","selectPatientCategory":"Select patient category","selectPaymentMethod":"Select payment method","sellingAmount":"Enter selling price","sellingPrice":"Selling Price","service":"Service","serviceMetrics":"Service Metrics","serviceName":"Service Name","serviceNameExceedsLimit":"Service Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","serviceShortName":"Short Name","servicesList":"Services list","serviceType":"Service Type","shortName":"Short Name","shortNameExceedsLimit":"Short Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","status":"Service Status","stockItem":"Stock Item","submitting":"Submitting...","success":"Success","total":"Total","totalAmount":"Total Amount","totalTendered":"Total Tendered","unitPrice":"Unit price","updatedSuccessfully":"Billable service updated successfully","uuid":"UUID","visitTime":"Visit time","waiverForm":"Waiver form"}')}}]);
package/dist/5661.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([[5661],{5661:e=>{e.exports=JSON.parse('{"actions":"Actions","addBill":"Add bill item(s)","addBillableServices":"Add Billable Services","addCashPoint":"Add Cash Point","addNewBillableService":"Add new billable service","addNewService":"Add new service","addPaymentMode":"Add Payment Mode","addPaymentOptions":"Add payment option","amount":"Amount","amountDue":"Amount Due","amountToWaiveAriaLabel":"Enter amount to waive","amountToWaiveHelper":"Specify the amount to be deducted from the bill","amountToWaiveLabel":"Amount to Waive","billableService":"Billable service","billableServices":"Billable Services","billedItems":"Billed Items","billedTo":"Billed to","billErrorService":"Bill service error","billing":"Billing","billingForm":"Billing form","billingHistory":"Billing History","billingSettings":"Billing Settings","billItem":"Bill item","billItems":"Bill Items","billLineItemEmpty":"This bill has no line items","billList":"Bill list","billMetrics":"Bill metrics","billName":" {{billName}} ","billPayment":"Bill payment","billPaymentError":"Bill payment error","billPaymentRequiredMessage":"The current patient has pending bill. Advice patient to settle bill before receiving services","billServicesManagement":"Bill services management","billsList":"Bill list","billTotal":"Bill total","billWaiver":"Bill waiver","billWaiverError":"Bill waiver failed {{error}}","billWaiverSuccess":"Bill waiver successful","cancel":"Cancel","cashPointConfig":"Cash Point Config","cashPointHistory":"Cash Point History","cashPointLocation":"Cash Point Location","cashPointName":"Cash Point Name","cashPointNamePlaceholder":"e.g., Pharmacy Cash Point","cashPointSaved":"Cash point was successfully saved.","cashPointUuid":"Cash Point UUID","cashPointUuidPlaceholder":"Enter UUID","checkFilters":"Check the filters above","clearSearchInput":"Clear search input","clientBalance":"Client Balance","confirmDeleteMessage":"Are you sure you want to delete this payment mode? Proceed cautiously.","createdSuccessfully":"Billable service created successfully","currentPrice":"Current price","delete":"Delete","deletePaymentMode":"Delete Payment Mode","description":"Description","descriptionPlaceholder":"e.g., Used for all cash transactions","discard":"Discard","discount":"Discount","duplicateCashPointError":"A cash point with the same name or UUID already exists. Please use a unique name and UUID.","duplicatePaymentModeError":"A payment mode with the same name already exists. Please create another payment mode","editBillableService":"Edit billable service","editBillableServices":"Edit Billable Services","editBillLineItem":"Edit bill line item?","editThisBillItem":"Edit this bill item","enterAmount":"Enter amount","enterConcept":"Associated concept","enterReferenceNumber":"Enter ref. number","error":"Error","errorDeletingPaymentMode":"An error occurred while deleting the payment mode.","errorFetchingCashPoints":"An error occurred while fetching cash points.","errorFetchingLocations":"An error occurred while fetching locations.","errorFetchingPaymentModes":"An error occurred while fetching payment modes.","errorLoadingBillServices":"Error loading bill services","errorLoadingPaymentModes":"Payment modes error","errorSavingCashPoint":"An error occurred while saving the cash point.","errorSavingPaymentMode":"An error occurred while saving the payment mode.","filterBy":"Filter by","filterTable":"Filter table","grandTotal":"Grand total","home":"Home","identifier":"Identifier","inlineLoading":"Loading bill items...","insuranceScheme":"Insurance scheme","invalidWaiverAmount":"Invalid waiver amount","invoice":"Invoice","invoiceError":"Invoice error","item":"Item","itemsToBeBilled":"Items to be billed","launchBillForm":"Launch bill form","lineItems":"Line items","loading":"Loading data...","loadingBillingServices":"Loading billing services...","loadingDescription":"Loading","location":"Select Location","manageBillableServices":"Manage billable services","name":"Name","nextPage":"Next page","noBilltoDisplay":"There are no bills to display for this patient","noMatchingBillsToDisplay":"No matching bills to display","noMatchingItemsToDisplay":"No matching items to display","noMatchingServicesToDisplay":"No matching services to display","noResultsFor":"No results for","noResultsFound":"No results found","noServicesToDisplay":"There are no services to display","ok":"OK","patientBillingAlert":"Patient Billing Alert","patientBills":"Patient bill","patientBillsDescription":"List of patient bills","patientCategory":"Patient category","paymentDetails":"Payment Details","paymentMethod":"Payment method","paymentMethods":"Payment methods","paymentMode":"Payment Mode","paymentModeDeleted":"Payment mode was successfully deleted.","paymentModeHistory":"Payment Mode History","paymentModeName":"Payment Mode Name","paymentModeNamePlaceholder":"e.g., Cash, Credit Card","paymentModeSaved":"Payment mode was successfully saved.","paymentModesConfig":"Payment Modes Config","payments":"Payments","pleaseRequiredFields":"Please fill all required fields","policyNumber":"Policy number","postWaiver":"Post waiver","previousPage":"Previous page","price":"Unit Price","priceIsRequired":"Price is required","prices":"Prices","printBill":"Print bill","printReceipt":"Print receipt","processPayment":"Process Payment","quantity":"Quantity","quantityGreaterThanZero":"Quantity must be greater than zero","quantityRequired":"Quantity is required","referenceNumber":"Reference number","save":"Save","saveAndClose":"Save and close","saving":"Saving","searchConcepts":"Search associated concept","searching":"Searching","searchItems":"Search items and services","searchThisTable":"Search this table","selectBillableService":"Select a billable service...","selectCategory":"Select category","selectPatientCategory":"Select patient category","selectPaymentMethod":"Select payment method","sellingAmount":"Enter selling price","sellingPrice":"Selling Price","service":"Service","serviceMetrics":"Service Metrics","serviceName":"Service Name","serviceNameExceedsLimit":"Service Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","serviceShortName":"Short Name","servicesList":"Services list","serviceType":"Service Type","shortName":"Short Name","shortNameExceedsLimit":"Short Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","status":"Service Status","stockItem":"Stock Item","submitting":"Submitting...","success":"Success","total":"Total","totalAmount":"Total Amount","totalTendered":"Total Tendered","unitPrice":"Unit price","updatedSuccessfully":"Billable service updated successfully","uuid":"UUID","visitTime":"Visit time","waiverForm":"Waiver form"}')}}]);
package/dist/6022.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([[6022],{6022:e=>{e.exports=JSON.parse('{"actions":"Actions","addBill":"Add bill item(s)","addBillableServices":"Add Billable Services","addCashPoint":"Add Cash Point","addNewBillableService":"Add new billable service","addNewService":"Add new service","addPaymentMode":"Add Payment Mode","addPaymentOptions":"Add payment option","amount":"Amount","amountDue":"Amount Due","amountToWaiveAriaLabel":"Enter amount to waive","amountToWaiveHelper":"Specify the amount to be deducted from the bill","amountToWaiveLabel":"Amount to Waive","billableService":"Billable service","billableServices":"Billable Services","billedItems":"Billed Items","billedTo":"Billed to","billErrorService":"Bill service error","billing":"Billing","billingForm":"Billing form","billingHistory":"Billing History","billingSettings":"Billing Settings","billItem":"Bill item","billItems":"Bill Items","billLineItemEmpty":"This bill has no line items","billList":"Bill list","billMetrics":"Bill metrics","billName":" {{billName}} ","billPayment":"Bill payment","billPaymentError":"Bill payment error","billPaymentRequiredMessage":"The current patient has pending bill. Advice patient to settle bill before receiving services","billServicesManagement":"Bill services management","billsList":"Bill list","billTotal":"Bill total","billWaiver":"Bill waiver","billWaiverError":"Bill waiver failed {{error}}","billWaiverSuccess":"Bill waiver successful","cancel":"Cancel","cashPointConfig":"Cash Point Config","cashPointHistory":"Cash Point History","cashPointLocation":"Cash Point Location","cashPointName":"Cash Point Name","cashPointNamePlaceholder":"e.g., Pharmacy Cash Point","cashPointSaved":"Cash point was successfully saved.","cashPointUuid":"Cash Point UUID","cashPointUuidPlaceholder":"Enter UUID","checkFilters":"Check the filters above","clearSearchInput":"Clear search input","clientBalance":"Client Balance","confirmDeleteMessage":"Are you sure you want to delete this payment mode? Proceed cautiously.","createdSuccessfully":"Billable service created successfully","currentPrice":"Current price","delete":"Delete","deletePaymentMode":"Delete Payment Mode","description":"Description","descriptionPlaceholder":"e.g., Used for all cash transactions","discard":"Discard","discount":"Discount","duplicateCashPointError":"A cash point with the same name or UUID already exists. Please use a unique name and UUID.","duplicatePaymentModeError":"A payment mode with the same name already exists. Please create another payment mode","editBillableService":"Edit billable service","editBillableServices":"Edit Billable Services","editBillLineItem":"Edit bill line item?","editThisBillItem":"Edit this bill item","enterAmount":"Enter amount","enterConcept":"Associated concept","enterReferenceNumber":"Enter ref. number","error":"Error","errorDeletingPaymentMode":"An error occurred while deleting the payment mode.","errorFetchingCashPoints":"An error occurred while fetching cash points.","errorFetchingLocations":"An error occurred while fetching locations.","errorFetchingPaymentModes":"An error occurred while fetching payment modes.","errorLoadingBillServices":"Error loading bill services","errorLoadingPaymentModes":"Payment modes error","errorSavingCashPoint":"An error occurred while saving the cash point.","errorSavingPaymentMode":"An error occurred while saving the payment mode.","filterBy":"Filter by","filterTable":"Filter table","grandTotal":"Grand total","home":"Home","identifier":"Identifier","inlineLoading":"Loading bill items...","insuranceScheme":"Insurance scheme","invalidWaiverAmount":"Invalid waiver amount","invoice":"Invoice","invoiceError":"Invoice error","item":"Item","itemsToBeBilled":"Items to be billed","launchBillForm":"Launch bill form","lineItems":"Line items","loading":"Loading data...","loadingBillingServices":"Loading billing services...","loadingDescription":"Loading","location":"Select Location","manageBillableServices":"Manage billable services","name":"Name","nextPage":"Next page","noBilltoDisplay":"There are no bills to display for this patient","noMatchingBillsToDisplay":"No matching bills to display","noMatchingItemsToDisplay":"No matching items to display","noMatchingServicesToDisplay":"No matching services to display","noResultsFor":"No results for","noResultsFound":"No results found","noServicesToDisplay":"There are no services to display","ok":"OK","patientBillingAlert":"Patient Billing Alert","patientBills":"Patient bill","patientBillsDescription":"List of patient bills","patientCategory":"Patient category","paymentDetails":"Payment Details","paymentMethod":"Payment method","paymentMethods":"Payment methods","paymentMode":"Payment Mode","paymentModeDeleted":"Payment mode was successfully deleted.","paymentModeHistory":"Payment Mode History","paymentModeName":"Payment Mode Name","paymentModeNamePlaceholder":"e.g., Cash, Credit Card","paymentModeSaved":"Payment mode was successfully saved.","paymentModesConfig":"Payment Modes Config","payments":"Payments","pleaseRequiredFields":"Please fill all required fields","policyNumber":"Policy number","postWaiver":"Post waiver","previousPage":"Previous page","price":"Unit Price","priceIsRequired":"Price is required","prices":"Prices","printBill":"Print bill","printReceipt":"Print receipt","processPayment":"Process Payment","quantity":"Quantity","quantityGreaterThanZero":"Quantity must be greater than zero","quantityRequired":"Quantity is required","referenceNumber":"Reference number","save":"Save","saveAndClose":"Save and close","saving":"Saving","searchConcepts":"Search associated concept","searching":"Searching","searchItems":"Search items and services","searchThisTable":"Search this table","selectBillableService":"Select a billable service...","selectCategory":"Select category","selectPatientCategory":"Select patient category","selectPaymentMethod":"Select payment method","sellingAmount":"Enter selling price","sellingPrice":"Selling Price","service":"Service","serviceMetrics":"Service Metrics","serviceName":"Service Name","serviceNameExceedsLimit":"Service Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","serviceShortName":"Short Name","servicesList":"Services list","serviceType":"Service Type","shortName":"Short Name","shortNameExceedsLimit":"Short Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","status":"Service Status","stockItem":"Stock Item","submitting":"Submitting...","success":"Success","total":"Total","totalAmount":"Total Amount","totalTendered":"Total Tendered","unitPrice":"Unit price","updatedSuccessfully":"Billable service updated successfully","uuid":"UUID","visitTime":"Visit time","waiverForm":"Waiver form"}')}}]);
package/dist/6468.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([[6468],{6468:e=>{e.exports=JSON.parse('{"actions":"Actions","addBill":"Add bill item(s)","addBillableServices":"Add Billable Services","addCashPoint":"Add Cash Point","addNewBillableService":"Add new billable service","addNewService":"Add new service","addPaymentMode":"Add Payment Mode","addPaymentOptions":"Add payment option","amount":"Amount","amountDue":"Amount Due","amountToWaiveAriaLabel":"Enter amount to waive","amountToWaiveHelper":"Specify the amount to be deducted from the bill","amountToWaiveLabel":"Amount to Waive","billableService":"Billable service","billableServices":"Billable Services","billedItems":"Billed Items","billedTo":"Billed to","billErrorService":"Bill service error","billing":"Billing","billingForm":"Billing form","billingHistory":"Billing History","billingSettings":"Billing Settings","billItem":"Bill item","billItems":"Bill Items","billLineItemEmpty":"This bill has no line items","billList":"Bill list","billMetrics":"Bill metrics","billName":" {{billName}} ","billPayment":"Bill payment","billPaymentError":"Bill payment error","billPaymentRequiredMessage":"The current patient has pending bill. Advice patient to settle bill before receiving services","billServicesManagement":"Bill services management","billsList":"Bill list","billTotal":"Bill total","billWaiver":"Bill waiver","billWaiverError":"Bill waiver failed {{error}}","billWaiverSuccess":"Bill waiver successful","cancel":"Cancel","cashPointConfig":"Cash Point Config","cashPointHistory":"Cash Point History","cashPointLocation":"Cash Point Location","cashPointName":"Cash Point Name","cashPointNamePlaceholder":"e.g., Pharmacy Cash Point","cashPointSaved":"Cash point was successfully saved.","cashPointUuid":"Cash Point UUID","cashPointUuidPlaceholder":"Enter UUID","checkFilters":"Check the filters above","clearSearchInput":"Clear search input","clientBalance":"Client Balance","confirmDeleteMessage":"Are you sure you want to delete this payment mode? Proceed cautiously.","createdSuccessfully":"Billable service created successfully","currentPrice":"Current price","delete":"Delete","deletePaymentMode":"Delete Payment Mode","description":"Description","descriptionPlaceholder":"e.g., Used for all cash transactions","discard":"Discard","discount":"Discount","duplicateCashPointError":"A cash point with the same name or UUID already exists. Please use a unique name and UUID.","duplicatePaymentModeError":"A payment mode with the same name already exists. Please create another payment mode","editBillableService":"Edit billable service","editBillableServices":"Edit Billable Services","editBillLineItem":"Edit bill line item?","editThisBillItem":"Edit this bill item","enterAmount":"Enter amount","enterConcept":"Associated concept","enterReferenceNumber":"Enter ref. number","error":"Error","errorDeletingPaymentMode":"An error occurred while deleting the payment mode.","errorFetchingCashPoints":"An error occurred while fetching cash points.","errorFetchingLocations":"An error occurred while fetching locations.","errorFetchingPaymentModes":"An error occurred while fetching payment modes.","errorLoadingBillServices":"Error loading bill services","errorLoadingPaymentModes":"Payment modes error","errorSavingCashPoint":"An error occurred while saving the cash point.","errorSavingPaymentMode":"An error occurred while saving the payment mode.","filterBy":"Filter by","filterTable":"Filter table","grandTotal":"Grand total","home":"Home","identifier":"Identifier","inlineLoading":"Loading bill items...","insuranceScheme":"Insurance scheme","invalidWaiverAmount":"Invalid waiver amount","invoice":"Invoice","invoiceError":"Invoice error","item":"Item","itemsToBeBilled":"Items to be billed","launchBillForm":"Launch bill form","lineItems":"Line items","loading":"Loading data...","loadingBillingServices":"Loading billing services...","loadingDescription":"Loading","location":"Select Location","manageBillableServices":"Manage billable services","name":"Name","nextPage":"Next page","noBilltoDisplay":"There are no bills to display for this patient","noMatchingBillsToDisplay":"No matching bills to display","noMatchingItemsToDisplay":"No matching items to display","noMatchingServicesToDisplay":"No matching services to display","noResultsFor":"No results for","noResultsFound":"No results found","noServicesToDisplay":"There are no services to display","ok":"OK","patientBillingAlert":"Patient Billing Alert","patientBills":"Patient bill","patientBillsDescription":"List of patient bills","patientCategory":"Patient category","paymentDetails":"Payment Details","paymentMethod":"Payment method","paymentMethods":"Payment methods","paymentMode":"Payment Mode","paymentModeDeleted":"Payment mode was successfully deleted.","paymentModeHistory":"Payment Mode History","paymentModeName":"Payment Mode Name","paymentModeNamePlaceholder":"e.g., Cash, Credit Card","paymentModeSaved":"Payment mode was successfully saved.","paymentModesConfig":"Payment Modes Config","payments":"Payments","pleaseRequiredFields":"Please fill all required fields","policyNumber":"Policy number","postWaiver":"Post waiver","previousPage":"Previous page","price":"Unit Price","priceIsRequired":"Price is required","prices":"Prices","printBill":"Print bill","printReceipt":"Print receipt","processPayment":"Process Payment","quantity":"Quantity","quantityGreaterThanZero":"Quantity must be greater than zero","quantityRequired":"Quantity is required","referenceNumber":"Reference number","save":"Save","saveAndClose":"Save and close","saving":"Saving","searchConcepts":"Search associated concept","searching":"Searching","searchItems":"Search items and services","searchThisTable":"Search this table","selectBillableService":"Select a billable service...","selectCategory":"Select category","selectPatientCategory":"Select patient category","selectPaymentMethod":"Select payment method","sellingAmount":"Enter selling price","sellingPrice":"Selling Price","service":"Service","serviceMetrics":"Service Metrics","serviceName":"Service Name","serviceNameExceedsLimit":"Service Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","serviceShortName":"Short Name","servicesList":"Services list","serviceType":"Service Type","shortName":"Short Name","shortNameExceedsLimit":"Short Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","status":"Service Status","stockItem":"Stock Item","submitting":"Submitting...","success":"Success","total":"Total","totalAmount":"Total Amount","totalTendered":"Total Tendered","unitPrice":"Unit price","updatedSuccessfully":"Billable service updated successfully","uuid":"UUID","visitTime":"Visit time","waiverForm":"Waiver form"}')}}]);
package/dist/6540.js ADDED
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 6540.js.LICENSE.txt */
2
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([[6540],{5287:(e,t)=>{var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),i=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),s=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.iterator,d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,h={};function b(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||d}function m(){}function v(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||d}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=b.prototype;var S=v.prototype=new m;S.constructor=v,_(S,b.prototype),S.isPureReactComponent=!0;var k=Array.isArray,w=Object.prototype.hasOwnProperty,E={current:null},$={key:!0,ref:!0,__self:!0,__source:!0};function R(e,t,n){var o,u={},a=null,c=null;if(null!=t)for(o in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)w.call(t,o)&&!$.hasOwnProperty(o)&&(u[o]=t[o]);var i=arguments.length-2;if(1===i)u.children=n;else if(1<i){for(var f=Array(i),l=0;l<i;l++)f[l]=arguments[l+2];u.children=f}if(e&&e.defaultProps)for(o in i=e.defaultProps)void 0===u[o]&&(u[o]=i[o]);return{$$typeof:r,type:e,key:a,ref:c,props:u,_owner:E.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var g=/\/+/g;function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(e,t,o,u,a){var c=typeof e;"undefined"!==c&&"boolean"!==c||(e=null);var i=!1;if(null===e)i=!0;else switch(c){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case r:case n:i=!0}}if(i)return a=a(i=e),e=""===u?"."+j(i,0):u,k(a)?(o="",null!=e&&(o=e.replace(g,"$&/")+"/"),O(a,t,o,"",(function(e){return e}))):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||i&&i.key===a.key?"":(""+a.key).replace(g,"$&/")+"/")+e)),t.push(a)),1;if(i=0,u=""===u?".":u+":",k(e))for(var f=0;f<e.length;f++){var l=u+j(c=e[f],f);i+=O(c,t,o,l,a)}else if(l=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=y&&e[y]||e["@@iterator"])?e:null}(e),"function"==typeof l)for(e=l.call(e),f=0;!(c=e.next()).done;)i+=O(c=c.value,t,o,l=u+j(c,f++),a);else if("object"===c)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function x(e,t,r){if(null==e)return e;var n=[],o=0;return O(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I={current:null},T={transition:null},V={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:T,ReactCurrentOwner:E};t.Children={map:x,forEach:function(e,t,r){x(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return x(e,(function(){t++})),t},toArray:function(e){return x(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=o,t.Profiler=a,t.PureComponent=v,t.StrictMode=u,t.Suspense=l,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=_({},e.props),u=e.key,a=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,c=E.current),void 0!==t.key&&(u=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(f in t)w.call(t,f)&&!$.hasOwnProperty(f)&&(o[f]=void 0===t[f]&&void 0!==i?i[f]:t[f])}var f=arguments.length-2;if(1===f)o.children=n;else if(1<f){i=Array(f);for(var l=0;l<f;l++)i[l]=arguments[l+2];o.children=i}return{$$typeof:r,type:e.type,key:u,ref:a,props:o,_owner:c}},t.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=R,t.createFactory=function(e){var t=R.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:s,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=T.transition;T.transition={};try{e()}finally{T.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return I.current.useCallback(e,t)},t.useContext=function(e){return I.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return I.current.useDeferredValue(e)},t.useEffect=function(e,t){return I.current.useEffect(e,t)},t.useId=function(){return I.current.useId()},t.useImperativeHandle=function(e,t,r){return I.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return I.current.useMemo(e,t)},t.useReducer=function(e,t,r){return I.current.useReducer(e,t,r)},t.useRef=function(e){return I.current.useRef(e)},t.useState=function(e){return I.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return I.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return I.current.useTransition()},t.version="18.2.0"},6540:(e,t,r)=>{e.exports=r(5287)}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"6540.js","mappings":";8IASa,IAAIA,EAAEC,OAAOC,IAAI,iBAAiBC,EAAEF,OAAOC,IAAI,gBAAgBE,EAAEH,OAAOC,IAAI,kBAAkBG,EAAEJ,OAAOC,IAAI,qBAAqBI,EAAEL,OAAOC,IAAI,kBAAkBK,EAAEN,OAAOC,IAAI,kBAAkBM,EAAEP,OAAOC,IAAI,iBAAiBO,EAAER,OAAOC,IAAI,qBAAqBQ,EAAET,OAAOC,IAAI,kBAAkBS,EAAEV,OAAOC,IAAI,cAAcU,EAAEX,OAAOC,IAAI,cAAcW,EAAEZ,OAAOa,SACrWC,EAAE,CAACC,UAAU,WAAW,OAAM,CAAE,EAAEC,mBAAmB,WAAW,EAAEC,oBAAoB,WAAW,EAAEC,gBAAgB,WAAW,GAAGC,EAAEC,OAAOC,OAAOC,EAAE,CAAC,EAAE,SAASC,EAAEC,EAAEC,EAAEC,GAAGC,KAAKC,MAAMJ,EAAEG,KAAKE,QAAQJ,EAAEE,KAAKG,KAAKR,EAAEK,KAAKI,QAAQL,GAAGZ,CAAC,CACwI,SAASkB,IAAI,CAAyB,SAASC,EAAET,EAAEC,EAAEC,GAAGC,KAAKC,MAAMJ,EAAEG,KAAKE,QAAQJ,EAAEE,KAAKG,KAAKR,EAAEK,KAAKI,QAAQL,GAAGZ,CAAC,CADxPS,EAAEW,UAAUC,iBAAiB,CAAC,EACpQZ,EAAEW,UAAUE,SAAS,SAASZ,EAAEC,GAAG,GAAG,iBAAkBD,GAAG,mBAAoBA,GAAG,MAAMA,EAAE,MAAMa,MA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AAQiG,mBAAmBzH,EAAEC,EAAE,EAAE0E,EAAQ+C,gBAAgB,SAAS1H,EAAEC,GAAG,OAAOmE,EAAE5C,QAAQkG,gBAAgB1H,EAAEC,EAAE,EAAE0E,EAAQgD,QAAQ,SAAS3H,EAAEC,GAAG,OAAOmE,EAAE5C,QAAQmG,QAAQ3H,EAAEC,EAAE,EAAE0E,EAAQiD,WAAW,SAAS5H,EAAEC,EAAEC,GAAG,OAAOkE,EAAE5C,QAAQoG,WAAW5H,EAAEC,EAAEC,EAAE,EAAEyE,EAAQkD,OAAO,SAAS7H,GAAG,OAAOoE,EAAE5C,QAAQqG,OAAO7H,EAAE,EAAE2E,EAAQmD,SAAS,SAAS9H,GAAG,OAAOoE,EAAE5C,QAAQsG,SAAS9H,EAAE,EAAE2E,EAAQoD,qBAAqB,SAAS/H,EAAEC,EAAEC,GAAG,OAAOkE,EAAE5C,QAAQuG,qBAAqB/H,EAAEC,EAAEC,EAAE,EAC/eyE,EAAQqD,cAAc,WAAW,OAAO5D,EAAE5C,QAAQwG,eAAe,EAAErD,EAAQsD,QAAQ,yBCtBjFC,EAAOvD,QAAU,EAAjB","sources":["webpack://@openmrs/esm-billing-app/./node_modules/react/cjs/react.production.min.js","webpack://@openmrs/esm-billing-app/./node_modules/react/index.js"],"names":["l","Symbol","for","n","p","q","r","t","u","v","w","x","y","z","iterator","B","isMounted","enqueueForceUpdate","enqueueReplaceState","enqueueSetState","C","Object","assign","D","E","a","b","e","this","props","context","refs","updater","F","G","prototype","isReactComponent","setState","Error","forceUpdate","H","constructor","isPureReactComponent","I","Array","isArray","J","hasOwnProperty","K","current","L","key","ref","__self","__source","M","d","c","k","h","call","g","arguments","length","children","f","m","defaultProps","$$typeof","type","_owner","O","P","Q","replace","escape","toString","R","N","push","A","next","done","value","String","keys","join","S","T","_status","_result","then","default","U","V","transition","W","ReactCurrentDispatcher","ReactCurrentBatchConfig","ReactCurrentOwner","exports","Children","map","forEach","apply","count","toArray","only","Component","Fragment","Profiler","PureComponent","StrictMode","Suspense","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","cloneElement","createContext","_currentValue","_currentValue2","_threadCount","Provider","Consumer","_defaultValue","_globalName","_context","createElement","createFactory","bind","createRef","forwardRef","render","isValidElement","lazy","_payload","_init","memo","compare","startTransition","unstable_act","useCallback","useContext","useDebugValue","useDeferredValue","useEffect","useId","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useSyncExternalStore","useTransition","version","module"],"sourceRoot":""}
package/dist/6606.js ADDED
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 6606.js.LICENSE.txt */
2
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([[4225,6606],{8493:(e,n,t)=>{var r=t(6072),i="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n},s=r.useState,a=r.useEffect,u=r.useLayoutEffect,d=r.useDebugValue;function o(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!i(e,t)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,n){return n()}:function(e,n){var t=n(),r=s({inst:{value:t,getSnapshot:n}}),i=r[0].inst,c=r[1];return u((function(){i.value=t,i.getSnapshot=n,o(i)&&c({inst:i})}),[e,t,n]),a((function(){return o(i)&&c({inst:i}),e((function(){o(i)&&c({inst:i})}))}),[e]),d(t),t};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},9888:(e,n,t)=>{e.exports=t(8493)},4225:(e,n,t)=>{t.r(n),t.d(n,{default:()=>c,immutable:()=>o});var r=t(6072),i=t(9888),s=t(8465);const a=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then((n=>{e.status="fulfilled",e.value=n}),(n=>{e.status="rejected",e.reason=n})),e)}),u={dedupe:!0};s.OBJECT.defineProperty(s.SWRConfig,"defaultValue",{value:s.defaultConfig});const d=(0,s.withArgs)(((e,n,t)=>{const{cache:d,compare:o,suspense:c,fallbackData:l,revalidateOnMount:f,revalidateIfStale:E,refreshInterval:g,refreshWhenHidden:v,refreshWhenOffline:h,keepPreviousData:p}=t,[R,S,b,U]=s.SWRGlobalState.get(d),[m,T]=(0,s.serialize)(e),V=(0,r.useRef)(!1),_=(0,r.useRef)(!1),w=(0,r.useRef)(m),C=(0,r.useRef)(n),O=(0,r.useRef)(t),y=()=>O.current,L=()=>y().isVisible()&&y().isOnline(),[I,k,D,A]=(0,s.createCacheHelper)(d,m),N=(0,r.useRef)({}).current,F=(0,s.isUndefined)(l)?t.fallback[m]:l,P=(e,n)=>{for(const t in N){const r=t;if("data"===r){if(!o(e[r],n[r])){if(!(0,s.isUndefined)(e[r]))return!1;if(!o(z,n[r]))return!1}}else if(n[r]!==e[r])return!1}return!0},j=(0,r.useMemo)((()=>{const e=!!m&&!!n&&((0,s.isUndefined)(f)?!y().isPaused()&&!c&&(!!(0,s.isUndefined)(E)||E):f),t=n=>{const t=(0,s.mergeObjects)(n);return delete t._k,e?{isValidating:!0,isLoading:!0,...t}:t},r=I(),i=A(),a=t(r),u=r===i?a:t(i);let d=a;return[()=>{const e=t(I());return P(e,d)?(d.data=e.data,d.isLoading=e.isLoading,d.isValidating=e.isValidating,d.error=e.error,d):(d=e,e)},()=>u]}),[d,m]),x=(0,i.useSyncExternalStore)((0,r.useCallback)((e=>D(m,((n,t)=>{P(t,n)||e()}))),[d,m]),j[0],j[1]),M=!V.current,W=R[m]&&R[m].length>0,G=x.data,H=(0,s.isUndefined)(G)?F:G,Y=x.error,q=(0,r.useRef)(H),z=p?(0,s.isUndefined)(G)?q.current:G:H,B=!(W&&!(0,s.isUndefined)(Y))&&(M&&!(0,s.isUndefined)(f)?f:!y().isPaused()&&(c?!(0,s.isUndefined)(H)&&E:(0,s.isUndefined)(H)||E)),J=!!(m&&n&&M&&B),K=(0,s.isUndefined)(x.isValidating)?J:x.isValidating,Q=(0,s.isUndefined)(x.isLoading)?J:x.isLoading,X=(0,r.useCallback)((async e=>{const n=C.current;if(!m||!n||_.current||y().isPaused())return!1;let r,i,a=!0;const u=e||{},d=!b[m]||!u.dedupe,c=()=>s.IS_REACT_LEGACY?!_.current&&m===w.current&&V.current:m===w.current,l={isValidating:!1,isLoading:!1},f=()=>{k(l)},E=()=>{const e=b[m];e&&e[1]===i&&delete b[m]},g={isValidating:!0};(0,s.isUndefined)(I().data)&&(g.isLoading=!0);try{if(d&&(k(g),t.loadingTimeout&&(0,s.isUndefined)(I().data)&&setTimeout((()=>{a&&c()&&y().onLoadingSlow(m,t)}),t.loadingTimeout),b[m]=[n(T),(0,s.getTimestamp)()]),[r,i]=b[m],r=await r,d&&setTimeout(E,t.dedupingInterval),!b[m]||b[m][1]!==i)return d&&c()&&y().onDiscarded(m),!1;l.error=s.UNDEFINED;const e=S[m];if(!(0,s.isUndefined)(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return f(),d&&c()&&y().onDiscarded(m),!1;const u=I().data;l.data=o(u,r)?u:r,d&&c()&&y().onSuccess(r,m,t)}catch(e){E();const n=y(),{shouldRetryOnError:t}=n;n.isPaused()||(l.error=e,d&&c()&&(n.onError(e,m,n),(!0===t||(0,s.isFunction)(t)&&t(e))&&(y().revalidateOnFocus&&y().revalidateOnReconnect&&!L()||n.onErrorRetry(e,m,n,(e=>{const n=R[m];n&&n[0]&&n[0](s.revalidateEvents.ERROR_REVALIDATE_EVENT,e)}),{retryCount:(u.retryCount||0)+1,dedupe:!0}))))}return a=!1,f(),!0}),[m,d]),Z=(0,r.useCallback)(((...e)=>(0,s.internalMutate)(d,w.current,...e)),[]);if((0,s.useIsomorphicLayoutEffect)((()=>{C.current=n,O.current=t,(0,s.isUndefined)(G)||(q.current=G)})),(0,s.useIsomorphicLayoutEffect)((()=>{if(!m)return;const e=X.bind(s.UNDEFINED,u);let n=0;const t=(0,s.subscribeCallback)(m,R,((t,r={})=>{if(t==s.revalidateEvents.FOCUS_EVENT){const t=Date.now();y().revalidateOnFocus&&t>n&&L()&&(n=t+y().focusThrottleInterval,e())}else if(t==s.revalidateEvents.RECONNECT_EVENT)y().revalidateOnReconnect&&L()&&e();else{if(t==s.revalidateEvents.MUTATE_EVENT)return X();if(t==s.revalidateEvents.ERROR_REVALIDATE_EVENT)return X(r)}}));return _.current=!1,w.current=m,V.current=!0,k({_k:T}),B&&((0,s.isUndefined)(H)||s.IS_SERVER?e():(0,s.rAF)(e)),()=>{_.current=!0,t()}}),[m]),(0,s.useIsomorphicLayoutEffect)((()=>{let e;function n(){const n=(0,s.isFunction)(g)?g(I().data):g;n&&-1!==e&&(e=setTimeout(t,n))}function t(){I().error||!v&&!y().isVisible()||!h&&!y().isOnline()?n():X(u).then(n)}return n(),()=>{e&&(clearTimeout(e),e=-1)}}),[g,v,h,m]),(0,r.useDebugValue)(z),c&&(0,s.isUndefined)(H)&&m){if(!s.IS_REACT_LEGACY&&s.IS_SERVER)throw new Error("Fallback data is required when using suspense in SSR.");C.current=n,O.current=t,_.current=!1;const e=U[m];if(!(0,s.isUndefined)(e)){const n=Z(e);a(n)}if(!(0,s.isUndefined)(Y))throw Y;{const e=X(u);(0,s.isUndefined)(z)||(e.status="fulfilled",e.value=!0),a(e)}}return{mutate:Z,get data(){return N.data=!0,z},get error(){return N.error=!0,Y},get isValidating(){return N.isValidating=!0,K},get isLoading(){return N.isLoading=!0,Q}}})),o=e=>(n,t,r)=>(r.revalidateOnFocus=!1,r.revalidateIfStale=!1,r.revalidateOnReconnect=!1,e(n,t,r)),c=(0,s.withMiddleware)(d,o)}}]);
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license React
3
- * use-sync-external-store-shim.production.min.js
3
+ * use-sync-external-store-shim.production.js
4
4
  *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"6606.js","mappings":";qJAWA,IAAIA,EAAQ,EAAQ,MAIhBC,EAAW,mBAAsBC,OAAOC,GAAKD,OAAOC,GAHxD,SAAYC,EAAGC,GACb,OAAQD,IAAMC,IAAM,IAAMD,GAAK,EAAIA,GAAM,EAAIC,IAAQD,GAAMA,GAAKC,GAAMA,CACxE,EAEEC,EAAWN,EAAMM,SACjBC,EAAYP,EAAMO,UAClBC,EAAkBR,EAAMQ,gBACxBC,EAAgBT,EAAMS,cA0BxB,SAASC,EAAuBC,GAC9B,IAAIC,EAAoBD,EAAKE,YAC7BF,EAAOA,EAAKG,MACZ,IACE,IAAIC,EAAYH,IAChB,OAAQX,EAASU,EAAMI,EACzB,CAAE,MAAOC,GACP,OAAO,CACT,CACF,CAIA,IAAIC,EACF,oBAAuBC,aACvB,IAAuBA,OAAOC,eAC9B,IAAuBD,OAAOC,SAASC,cANzC,SAAgCC,EAAWR,GACzC,OAAOA,GACT,EArCA,SAAgCQ,EAAWR,GACzC,IAAIC,EAAQD,IACVS,EAAYhB,EAAS,CAAEK,KAAM,CAAEG,MAAOA,EAAOD,YAAaA,KAC1DF,EAAOW,EAAU,GAAGX,KACpBY,EAAcD,EAAU,GAmB1B,OAlBAd,GACE,WACEG,EAAKG,MAAQA,EACbH,EAAKE,YAAcA,EACnBH,EAAuBC,IAASY,EAAY,CAAEZ,KAAMA,GACtD,GACA,CAACU,EAAWP,EAAOD,IAErBN,GACE,WAEE,OADAG,EAAuBC,IAASY,EAAY,CAAEZ,KAAMA,IAC7CU,GAAU,WACfX,EAAuBC,IAASY,EAAY,CAAEZ,KAAMA,GACtD,GACF,GACA,CAACU,IAEHZ,EAAcK,GACPA,CACT,EAoBAU,EAAQC,0BACN,IAAWzB,EAAMyB,qBAAuBzB,EAAMyB,qBAAuBR,kBC9DrES,EAAOF,QAAU,EAAjB,sGCGF,MAAMG,EAAM,OAAo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I,aAAaJ,GACbA,GAAS,EACb,CACH,GACF,CACCxH,EACAC,EACAC,EACAQ,KAGJ,IAAApD,eAAc8E,GAKVxC,IAAY,IAAAmC,aAAYsB,IAAS3C,EAAK,CAItC,IAAK,EAAA+D,iBAAmB,EAAA6C,UACpB,MAAM,IAAIO,MAAM,yDAGpB5G,EAAWG,QAAU5B,EACrB0B,EAAUE,QAAU3B,EACpBsB,EAAaK,SAAU,EACvB,MAAM0G,EAAMvH,EAAQG,GACpB,KAAK,IAAAqB,aAAY+F,GAAM,CACnB,MAAMrJ,EAAU6H,EAAYwB,GAC5BtJ,EAAIC,EACR,CACA,KAAI,IAAAsD,aAAYlE,GAQZ,MAAMA,EARc,CACpB,MAAMY,EAAUsF,EAAWhF,IACtB,IAAAgD,aAAYK,KACb3D,EAAQC,OAAS,YACjBD,EAAQd,OAAQ,GAEpBa,EAAIC,EACR,CAGJ,CACA,MAAO,CACHsJ,OAAQzB,EACR,QAAIjD,GAEA,OADAxB,EAAkBwB,MAAO,EAClBjB,CACX,EACA,SAAIvE,GAEA,OADAgE,EAAkBhE,OAAQ,EACnBA,CACX,EACA,gBAAIgF,GAEA,OADAhB,EAAkBgB,cAAe,EAC1BA,CACX,EACA,aAAIC,GAEA,OADAjB,EAAkBiB,WAAY,EACvBA,CACX,EACH,IAqBCkF,EAAaC,GAAa,CAACvH,EAAKlB,EAASC,KAEvCA,EAAOqG,mBAAoB,EAC3BrG,EAAOM,mBAAoB,EAC3BN,EAAOsG,uBAAwB,EACxBkC,EAAWvH,EAAKlB,EAASC,IAElCyI,GAAkB,IAAAC,gBAAe9I,EAAQ2I","sources":["webpack://@openmrs/esm-billing-app/./node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js","webpack://@openmrs/esm-billing-app/./node_modules/use-sync-external-store/shim/index.js","webpack://@openmrs/esm-billing-app/./node_modules/swr/dist/immutable/index.mjs"],"names":["React","objectIs","Object","is","x","y","useState","useEffect","useLayoutEffect","useDebugValue","checkIfSnapshotChanged","inst","latestGetSnapshot","getSnapshot","value","nextValue","error","shim","window","document","createElement","subscribe","_useState","forceUpdate","exports","useSyncExternalStore","module","use","promise","status","reason","then","v","e","WITH_DEDUPE","dedupe","OBJECT","defineProperty","SWRConfig","defaultConfig","useSWR","withArgs","_key","fetcher","config","cache","compare","suspense","fallbackData","revalidateOnMount","revalidateIfStale","refreshInterval","refreshWhenHidden","refreshWhenOffline","keepPreviousData","EVENT_REVALIDATORS","MUTATION","FETCH","PRELOAD","SWRGlobalState","get","key","fnArg","serialize","initialMountedRef","useRef","unmountedRef","keyRef","fetcherRef","configRef","getConfig","current","isActive","isVisible","isOnline","getCache","setCache","subscribeCache","getInitialCache","createCacheHelper","stateDependencies","fallback","isUndefined","isEqual","prev","_","t","returnedData","useMemo","shouldStartRequest","isPaused","getSelectedCache","state","snapshot","mergeObjects","_k","isValidating","isLoading","cachedData","initialData","clientSnapshot","serverSnapshot","memorizedSnapshot","newSnapshot","data","cached","useCallback","callback","isInitialMount","hasRevalidator","length","laggyDataRef","shouldDoInitialRevalidation","defaultValidatingState","revalidate","async","revalidateOpts","currentFetcher","newData","startAt","loading","opts","shouldStartNewRequest","callbackSafeguard","IS_REACT_LEGACY","finalState","finishRequestAndUpdateState","cleanupState","requestInfo","initialState","loadingTimeout","setTimeout","onLoadingSlow","getTimestamp","dedupingInterval","onDiscarded","UNDEFINED","mutationInfo","cacheData","onSuccess","err","currentConfig","shouldRetryOnError","onError","isFunction","revalidateOnFocus","revalidateOnReconnect","onErrorRetry","_opts","revalidators","revalidateEvents","ERROR_REVALIDATE_EVENT","retryCount","boundMutate","args","internalMutate","useIsomorphicLayoutEffect","softRevalidate","bind","nextFocusRevalidatedAt","unsubEvents","subscribeCallback","type","FOCUS_EVENT","now","Date","focusThrottleInterval","RECONNECT_EVENT","MUTATE_EVENT","IS_SERVER","rAF","timer","next","interval","execute","clearTimeout","Error","req","mutate","immutable","useSWRNext","useSWRImmutable","withMiddleware"],"sourceRoot":""}
package/dist/6679.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([[6679],{6679:e=>{e.exports=JSON.parse('{"actions":"Actions","addBill":"Add bill item(s)","addBillableServices":"Add Billable Services","addCashPoint":"Add Cash Point","addNewBillableService":"Add new billable service","addNewService":"Add new service","addPaymentMode":"Add Payment Mode","addPaymentOptions":"Add payment option","amount":"Amount","amountDue":"Amount Due","amountToWaiveAriaLabel":"Enter amount to waive","amountToWaiveHelper":"Specify the amount to be deducted from the bill","amountToWaiveLabel":"Amount to Waive","billableService":"Billable service","billableServices":"Billable Services","billedItems":"Billed Items","billedTo":"Billed to","billErrorService":"Bill service error","billing":"Billing","billingForm":"Billing form","billingHistory":"Billing History","billingSettings":"Billing Settings","billItem":"Bill item","billItems":"Bill Items","billLineItemEmpty":"This bill has no line items","billList":"Bill list","billMetrics":"Bill metrics","billName":" {{billName}} ","billPayment":"Bill payment","billPaymentError":"Bill payment error","billPaymentRequiredMessage":"The current patient has pending bill. Advice patient to settle bill before receiving services","billServicesManagement":"Bill services management","billsList":"Bill list","billTotal":"Bill total","billWaiver":"Bill waiver","billWaiverError":"Bill waiver failed {{error}}","billWaiverSuccess":"Bill waiver successful","cancel":"Cancel","cashPointConfig":"Cash Point Config","cashPointHistory":"Cash Point History","cashPointLocation":"Cash Point Location","cashPointName":"Cash Point Name","cashPointNamePlaceholder":"e.g., Pharmacy Cash Point","cashPointSaved":"Cash point was successfully saved.","cashPointUuid":"Cash Point UUID","cashPointUuidPlaceholder":"Enter UUID","checkFilters":"Check the filters above","clearSearchInput":"Clear search input","clientBalance":"Client Balance","confirmDeleteMessage":"Are you sure you want to delete this payment mode? Proceed cautiously.","createdSuccessfully":"Billable service created successfully","currentPrice":"Current price","delete":"Delete","deletePaymentMode":"Delete Payment Mode","description":"Description","descriptionPlaceholder":"e.g., Used for all cash transactions","discard":"Discard","discount":"Discount","duplicateCashPointError":"A cash point with the same name or UUID already exists. Please use a unique name and UUID.","duplicatePaymentModeError":"A payment mode with the same name already exists. Please create another payment mode","editBillableService":"Edit billable service","editBillableServices":"Edit Billable Services","editBillLineItem":"Edit bill line item?","editThisBillItem":"Edit this bill item","enterAmount":"Enter amount","enterConcept":"Associated concept","enterReferenceNumber":"Enter ref. number","error":"Error","errorDeletingPaymentMode":"An error occurred while deleting the payment mode.","errorFetchingCashPoints":"An error occurred while fetching cash points.","errorFetchingLocations":"An error occurred while fetching locations.","errorFetchingPaymentModes":"An error occurred while fetching payment modes.","errorLoadingBillServices":"Error loading bill services","errorLoadingPaymentModes":"Payment modes error","errorSavingCashPoint":"An error occurred while saving the cash point.","errorSavingPaymentMode":"An error occurred while saving the payment mode.","filterBy":"Filter by","filterTable":"Filter table","grandTotal":"Grand total","home":"Home","identifier":"Identifier","inlineLoading":"Loading bill items...","insuranceScheme":"Insurance scheme","invalidWaiverAmount":"Invalid waiver amount","invoice":"Invoice","invoiceError":"Invoice error","item":"Item","itemsToBeBilled":"Items to be billed","launchBillForm":"Launch bill form","lineItems":"Line items","loading":"Loading data...","loadingBillingServices":"Loading billing services...","loadingDescription":"Loading","location":"Select Location","manageBillableServices":"Manage billable services","name":"Name","nextPage":"Next page","noBilltoDisplay":"There are no bills to display for this patient","noMatchingBillsToDisplay":"No matching bills to display","noMatchingItemsToDisplay":"No matching items to display","noMatchingServicesToDisplay":"No matching services to display","noResultsFor":"No results for","noResultsFound":"No results found","noServicesToDisplay":"There are no services to display","ok":"OK","patientBillingAlert":"Patient Billing Alert","patientBills":"Patient bill","patientBillsDescription":"List of patient bills","patientCategory":"Patient category","paymentDetails":"Payment Details","paymentMethod":"Payment method","paymentMethods":"Payment methods","paymentMode":"Payment Mode","paymentModeDeleted":"Payment mode was successfully deleted.","paymentModeHistory":"Payment Mode History","paymentModeName":"Payment Mode Name","paymentModeNamePlaceholder":"e.g., Cash, Credit Card","paymentModeSaved":"Payment mode was successfully saved.","paymentModesConfig":"Payment Modes Config","payments":"Payments","pleaseRequiredFields":"Please fill all required fields","policyNumber":"Policy number","postWaiver":"Post waiver","previousPage":"Previous page","price":"Unit Price","priceIsRequired":"Price is required","prices":"Prices","printBill":"Print bill","printReceipt":"Print receipt","processPayment":"Process Payment","quantity":"Quantity","quantityGreaterThanZero":"Quantity must be greater than zero","quantityRequired":"Quantity is required","referenceNumber":"Reference number","save":"Save","saveAndClose":"Save and close","saving":"Saving","searchConcepts":"Search associated concept","searching":"Searching","searchItems":"Search items and services","searchThisTable":"Search this table","selectBillableService":"Select a billable service...","selectCategory":"Select category","selectPatientCategory":"Select patient category","selectPaymentMethod":"Select payment method","sellingAmount":"Enter selling price","sellingPrice":"Selling Price","service":"Service","serviceMetrics":"Service Metrics","serviceName":"Service Name","serviceNameExceedsLimit":"Service Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","serviceShortName":"Short Name","servicesList":"Services list","serviceType":"Service Type","shortName":"Short Name","shortNameExceedsLimit":"Short Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","status":"Service Status","stockItem":"Stock Item","submitting":"Submitting...","success":"Success","total":"Total","totalAmount":"Total Amount","totalTendered":"Total Tendered","unitPrice":"Unit price","updatedSuccessfully":"Billable service updated successfully","uuid":"UUID","visitTime":"Visit time","waiverForm":"Waiver form"}')}}]);
package/dist/6840.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([[6840],{6840:e=>{e.exports=JSON.parse('{"actions":"Actions","addBill":"Add bill item(s)","addBillableServices":"Add Billable Services","addCashPoint":"Add Cash Point","addNewBillableService":"Add new billable service","addNewService":"Add new service","addPaymentMode":"Add Payment Mode","addPaymentOptions":"Add payment option","amount":"Amount","amountDue":"Amount Due","amountToWaiveAriaLabel":"Enter amount to waive","amountToWaiveHelper":"Specify the amount to be deducted from the bill","amountToWaiveLabel":"Amount to Waive","billableService":"Billable service","billableServices":"Billable Services","billedItems":"Billed Items","billedTo":"Billed to","billErrorService":"Bill service error","billing":"Billing","billingForm":"Billing form","billingHistory":"Billing History","billingSettings":"Billing Settings","billItem":"Bill item","billItems":"Bill Items","billLineItemEmpty":"This bill has no line items","billList":"Bill list","billMetrics":"Bill metrics","billName":" {{billName}} ","billPayment":"Bill payment","billPaymentError":"Bill payment error","billPaymentRequiredMessage":"The current patient has pending bill. Advice patient to settle bill before receiving services","billServicesManagement":"Bill services management","billsList":"Bill list","billTotal":"Bill total","billWaiver":"Bill waiver","billWaiverError":"Bill waiver failed {{error}}","billWaiverSuccess":"Bill waiver successful","cancel":"Cancel","cashPointConfig":"Cash Point Config","cashPointHistory":"Cash Point History","cashPointLocation":"Cash Point Location","cashPointName":"Cash Point Name","cashPointNamePlaceholder":"e.g., Pharmacy Cash Point","cashPointSaved":"Cash point was successfully saved.","cashPointUuid":"Cash Point UUID","cashPointUuidPlaceholder":"Enter UUID","checkFilters":"Check the filters above","clearSearchInput":"Clear search input","clientBalance":"Client Balance","confirmDeleteMessage":"Are you sure you want to delete this payment mode? Proceed cautiously.","createdSuccessfully":"Billable service created successfully","currentPrice":"Current price","delete":"Delete","deletePaymentMode":"Delete Payment Mode","description":"Description","descriptionPlaceholder":"e.g., Used for all cash transactions","discard":"Discard","discount":"Discount","duplicateCashPointError":"A cash point with the same name or UUID already exists. Please use a unique name and UUID.","duplicatePaymentModeError":"A payment mode with the same name already exists. Please create another payment mode","editBillableService":"Edit billable service","editBillableServices":"Edit Billable Services","editBillLineItem":"Edit bill line item?","editThisBillItem":"Edit this bill item","enterAmount":"Enter amount","enterConcept":"Associated concept","enterReferenceNumber":"Enter ref. number","error":"Error","errorDeletingPaymentMode":"An error occurred while deleting the payment mode.","errorFetchingCashPoints":"An error occurred while fetching cash points.","errorFetchingLocations":"An error occurred while fetching locations.","errorFetchingPaymentModes":"An error occurred while fetching payment modes.","errorLoadingBillServices":"Error loading bill services","errorLoadingPaymentModes":"Payment modes error","errorSavingCashPoint":"An error occurred while saving the cash point.","errorSavingPaymentMode":"An error occurred while saving the payment mode.","filterBy":"Filter by","filterTable":"Filter table","grandTotal":"Grand total","home":"Home","identifier":"Identifier","inlineLoading":"Loading bill items...","insuranceScheme":"Insurance scheme","invalidWaiverAmount":"Invalid waiver amount","invoice":"Invoice","invoiceError":"Invoice error","item":"Item","itemsToBeBilled":"Items to be billed","launchBillForm":"Launch bill form","lineItems":"Line items","loading":"Loading data...","loadingBillingServices":"Loading billing services...","loadingDescription":"Loading","location":"Select Location","manageBillableServices":"Manage billable services","name":"Name","nextPage":"Next page","noBilltoDisplay":"There are no bills to display for this patient","noMatchingBillsToDisplay":"No matching bills to display","noMatchingItemsToDisplay":"No matching items to display","noMatchingServicesToDisplay":"No matching services to display","noResultsFor":"No results for","noResultsFound":"No results found","noServicesToDisplay":"There are no services to display","ok":"OK","patientBillingAlert":"Patient Billing Alert","patientBills":"Patient bill","patientBillsDescription":"List of patient bills","patientCategory":"Patient category","paymentDetails":"Payment Details","paymentMethod":"Payment method","paymentMethods":"Payment methods","paymentMode":"Payment Mode","paymentModeDeleted":"Payment mode was successfully deleted.","paymentModeHistory":"Payment Mode History","paymentModeName":"Payment Mode Name","paymentModeNamePlaceholder":"e.g., Cash, Credit Card","paymentModeSaved":"Payment mode was successfully saved.","paymentModesConfig":"Payment Modes Config","payments":"Payments","pleaseRequiredFields":"Please fill all required fields","policyNumber":"Policy number","postWaiver":"Post waiver","previousPage":"Previous page","price":"Unit Price","priceIsRequired":"Price is required","prices":"Prices","printBill":"Print bill","printReceipt":"Print receipt","processPayment":"Process Payment","quantity":"Quantity","quantityGreaterThanZero":"Quantity must be greater than zero","quantityRequired":"Quantity is required","referenceNumber":"Reference number","save":"Save","saveAndClose":"Save and close","saving":"Saving","searchConcepts":"Search associated concept","searching":"Searching","searchItems":"Search items and services","searchThisTable":"Search this table","selectBillableService":"Select a billable service...","selectCategory":"Select category","selectPatientCategory":"Select patient category","selectPaymentMethod":"Select payment method","sellingAmount":"Enter selling price","sellingPrice":"Selling Price","service":"Service","serviceMetrics":"Service Metrics","serviceName":"Service Name","serviceNameExceedsLimit":"Service Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","serviceShortName":"Short Name","servicesList":"Services list","serviceType":"Service Type","shortName":"Short Name","shortNameExceedsLimit":"Short Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","status":"Service Status","stockItem":"Stock Item","submitting":"Submitting...","success":"Success","total":"Total","totalAmount":"Total Amount","totalTendered":"Total Tendered","unitPrice":"Unit price","updatedSuccessfully":"Billable service updated successfully","uuid":"UUID","visitTime":"Visit time","waiverForm":"Waiver form"}')}}]);
package/dist/6859.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([[6859],{6859:e=>{e.exports=JSON.parse('{"actions":"Actions","addBill":"Add bill item(s)","addBillableServices":"Add Billable Services","addCashPoint":"Add Cash Point","addNewBillableService":"Add new billable service","addNewService":"Add new service","addPaymentMode":"Add Payment Mode","addPaymentOptions":"Add payment option","amount":"Amount","amountDue":"Amount Due","amountToWaiveAriaLabel":"Enter amount to waive","amountToWaiveHelper":"Specify the amount to be deducted from the bill","amountToWaiveLabel":"Amount to Waive","billableService":"Billable service","billableServices":"Billable Services","billedItems":"Billed Items","billedTo":"Billed to","billErrorService":"Bill service error","billing":"Billing","billingForm":"Billing form","billingHistory":"Billing History","billingSettings":"Billing Settings","billItem":"Bill item","billItems":"Bill Items","billLineItemEmpty":"This bill has no line items","billList":"Bill list","billMetrics":"Bill metrics","billName":" {{billName}} ","billPayment":"Bill payment","billPaymentError":"Bill payment error","billPaymentRequiredMessage":"The current patient has pending bill. Advice patient to settle bill before receiving services","billServicesManagement":"Bill services management","billsList":"Bill list","billTotal":"Bill total","billWaiver":"Bill waiver","billWaiverError":"Bill waiver failed {{error}}","billWaiverSuccess":"Bill waiver successful","cancel":"Cancel","cashPointConfig":"Cash Point Config","cashPointHistory":"Cash Point History","cashPointLocation":"Cash Point Location","cashPointName":"Cash Point Name","cashPointNamePlaceholder":"e.g., Pharmacy Cash Point","cashPointSaved":"Cash point was successfully saved.","cashPointUuid":"Cash Point UUID","cashPointUuidPlaceholder":"Enter UUID","checkFilters":"Check the filters above","clearSearchInput":"Clear search input","clientBalance":"Client Balance","confirmDeleteMessage":"Are you sure you want to delete this payment mode? Proceed cautiously.","createdSuccessfully":"Billable service created successfully","currentPrice":"Current price","delete":"Delete","deletePaymentMode":"Delete Payment Mode","description":"Description","descriptionPlaceholder":"e.g., Used for all cash transactions","discard":"Discard","discount":"Discount","duplicateCashPointError":"A cash point with the same name or UUID already exists. Please use a unique name and UUID.","duplicatePaymentModeError":"A payment mode with the same name already exists. Please create another payment mode","editBillableService":"Edit billable service","editBillableServices":"Edit Billable Services","editBillLineItem":"Edit bill line item?","editThisBillItem":"Edit this bill item","enterAmount":"Enter amount","enterConcept":"Associated concept","enterReferenceNumber":"Enter ref. number","error":"Error","errorDeletingPaymentMode":"An error occurred while deleting the payment mode.","errorFetchingCashPoints":"An error occurred while fetching cash points.","errorFetchingLocations":"An error occurred while fetching locations.","errorFetchingPaymentModes":"An error occurred while fetching payment modes.","errorLoadingBillServices":"Error loading bill services","errorLoadingPaymentModes":"Payment modes error","errorSavingCashPoint":"An error occurred while saving the cash point.","errorSavingPaymentMode":"An error occurred while saving the payment mode.","filterBy":"Filter by","filterTable":"Filter table","grandTotal":"Grand total","home":"Home","identifier":"Identifier","inlineLoading":"Loading bill items...","insuranceScheme":"Insurance scheme","invalidWaiverAmount":"Invalid waiver amount","invoice":"Invoice","invoiceError":"Invoice error","item":"Item","itemsToBeBilled":"Items to be billed","launchBillForm":"Launch bill form","lineItems":"Line items","loading":"Loading data...","loadingBillingServices":"Loading billing services...","loadingDescription":"Loading","location":"Select Location","manageBillableServices":"Manage billable services","name":"Name","nextPage":"Next page","noBilltoDisplay":"There are no bills to display for this patient","noMatchingBillsToDisplay":"No matching bills to display","noMatchingItemsToDisplay":"No matching items to display","noMatchingServicesToDisplay":"No matching services to display","noResultsFor":"No results for","noResultsFound":"No results found","noServicesToDisplay":"There are no services to display","ok":"OK","patientBillingAlert":"Patient Billing Alert","patientBills":"Patient bill","patientBillsDescription":"List of patient bills","patientCategory":"Patient category","paymentDetails":"Payment Details","paymentMethod":"Payment method","paymentMethods":"Payment methods","paymentMode":"Payment Mode","paymentModeDeleted":"Payment mode was successfully deleted.","paymentModeHistory":"Payment Mode History","paymentModeName":"Payment Mode Name","paymentModeNamePlaceholder":"e.g., Cash, Credit Card","paymentModeSaved":"Payment mode was successfully saved.","paymentModesConfig":"Payment Modes Config","payments":"Payments","pleaseRequiredFields":"Please fill all required fields","policyNumber":"Policy number","postWaiver":"Post waiver","previousPage":"Previous page","price":"Unit Price","priceIsRequired":"Price is required","prices":"Prices","printBill":"Print bill","printReceipt":"Print receipt","processPayment":"Process Payment","quantity":"Quantity","quantityGreaterThanZero":"Quantity must be greater than zero","quantityRequired":"Quantity is required","referenceNumber":"Reference number","save":"Save","saveAndClose":"Save and close","saving":"Saving","searchConcepts":"Search associated concept","searching":"Searching","searchItems":"Search items and services","searchThisTable":"Search this table","selectBillableService":"Select a billable service...","selectCategory":"Select category","selectPatientCategory":"Select patient category","selectPaymentMethod":"Select payment method","sellingAmount":"Enter selling price","sellingPrice":"Selling Price","service":"Service","serviceMetrics":"Service Metrics","serviceName":"Service Name","serviceNameExceedsLimit":"Service Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","serviceShortName":"Short Name","servicesList":"Services list","serviceType":"Service Type","shortName":"Short Name","shortNameExceedsLimit":"Short Name exceeds the character limit of {{MAX_NAME_LENGTH}}.","status":"Service Status","stockItem":"Stock Item","submitting":"Submitting...","success":"Success","total":"Total","totalAmount":"Total Amount","totalTendered":"Total Tendered","unitPrice":"Unit price","updatedSuccessfully":"Billable service updated successfully","uuid":"UUID","visitTime":"Visit time","waiverForm":"Waiver form"}')}}]);