@openmrs/esm-billing-app 1.3.2-pre.2005 → 1.3.2-pre.2011

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 (158) hide show
  1. package/.turbo/cache/11890abed1070658-meta.json +1 -0
  2. package/.turbo/cache/11890abed1070658.tar.zst +0 -0
  3. package/.turbo/turbo-build.log +3 -11
  4. package/dist/1480.js +1 -1
  5. package/dist/1480.js.map +1 -1
  6. package/dist/1564.css +1 -0
  7. package/dist/1564.css.map +1 -0
  8. package/dist/1564.js +1 -1
  9. package/dist/1564.js.map +1 -1
  10. package/dist/1578.js +1 -1
  11. package/dist/1578.js.map +1 -1
  12. package/dist/1646.js +1 -1
  13. package/dist/1646.js.map +1 -1
  14. package/dist/1869.js +1 -1
  15. package/dist/1869.js.map +1 -1
  16. package/dist/1877.js +1 -1
  17. package/dist/1877.js.map +1 -1
  18. package/dist/1899.css +1 -0
  19. package/dist/1899.css.map +1 -0
  20. package/dist/1899.js +1 -1
  21. package/dist/1899.js.map +1 -1
  22. package/dist/196.js +2 -2
  23. package/dist/196.js.map +1 -1
  24. package/dist/2269.css +1 -0
  25. package/dist/2269.css.map +1 -0
  26. package/dist/2269.js +1 -1
  27. package/dist/2269.js.map +1 -1
  28. package/dist/2317.js +1 -1
  29. package/dist/2317.js.map +1 -1
  30. package/dist/2416.js +1 -1
  31. package/dist/2416.js.map +1 -1
  32. package/dist/2450.css +1 -0
  33. package/dist/2450.css.map +1 -0
  34. package/dist/2450.js +27 -27
  35. package/dist/2450.js.map +1 -1
  36. package/dist/2489.js +1 -1
  37. package/dist/2489.js.map +1 -1
  38. package/dist/282.js +1 -1
  39. package/dist/282.js.map +1 -1
  40. package/dist/2881.js +1 -1
  41. package/dist/2881.js.map +1 -1
  42. package/dist/2997.js +1 -1
  43. package/dist/2997.js.map +1 -1
  44. package/dist/3378.js +1 -1
  45. package/dist/3378.js.map +1 -1
  46. package/dist/3379.js +1 -1
  47. package/dist/3379.js.map +1 -1
  48. package/dist/3784.css +1 -0
  49. package/dist/3784.css.map +1 -0
  50. package/dist/3784.js +1 -1
  51. package/dist/3784.js.map +1 -1
  52. package/dist/3963.js +1 -1
  53. package/dist/3963.js.map +1 -1
  54. package/dist/4106.js +1 -1
  55. package/dist/4106.js.map +1 -1
  56. package/dist/434.js +1 -1
  57. package/dist/434.js.map +1 -1
  58. package/dist/4383.js +1 -1
  59. package/dist/4383.js.map +1 -1
  60. package/dist/4658.js +1 -1
  61. package/dist/4658.js.map +1 -1
  62. package/dist/4870.js +1 -1
  63. package/dist/4870.js.map +1 -1
  64. package/dist/4921.js +11 -0
  65. package/dist/4921.js.map +1 -0
  66. package/dist/4928.js +1 -1
  67. package/dist/4928.js.map +1 -1
  68. package/dist/5098.js +1 -1
  69. package/dist/5098.js.map +1 -1
  70. package/dist/5117.js +1 -1
  71. package/dist/5117.js.map +1 -1
  72. package/dist/5132.js +1 -1
  73. package/dist/5132.js.map +1 -1
  74. package/dist/5145.js +1 -1
  75. package/dist/5145.js.map +1 -1
  76. package/dist/5390.css +1 -0
  77. package/dist/5390.css.map +1 -0
  78. package/dist/5390.js +1 -1
  79. package/dist/5390.js.map +1 -1
  80. package/dist/5503.js +1 -1
  81. package/dist/5503.js.map +1 -1
  82. package/dist/556.js +1 -1
  83. package/dist/556.js.map +1 -1
  84. package/dist/5644.js +1 -1
  85. package/dist/5644.js.map +1 -1
  86. package/dist/5898.js +1 -1
  87. package/dist/5898.js.map +1 -1
  88. package/dist/5940.js +1 -1
  89. package/dist/5940.js.map +1 -1
  90. package/dist/6047.js +1 -1
  91. package/dist/6047.js.map +1 -1
  92. package/dist/6237.js +1 -1
  93. package/dist/6237.js.map +1 -1
  94. package/dist/6362.js +1 -1
  95. package/dist/6362.js.map +1 -1
  96. package/dist/6371.js +1 -1
  97. package/dist/6371.js.map +1 -1
  98. package/dist/6377.js +1 -1
  99. package/dist/6377.js.map +1 -1
  100. package/dist/6444.js +1 -1
  101. package/dist/6444.js.map +1 -1
  102. package/dist/6508.js +1 -1
  103. package/dist/6508.js.map +1 -1
  104. package/dist/6594.css +1 -0
  105. package/dist/6594.css.map +1 -0
  106. package/dist/6594.js +1 -1
  107. package/dist/6594.js.map +1 -1
  108. package/dist/6724.js +1 -1
  109. package/dist/6724.js.map +1 -1
  110. package/dist/6904.js +1 -1
  111. package/dist/6904.js.map +1 -1
  112. package/dist/7045.js +1 -1
  113. package/dist/7045.js.map +1 -1
  114. package/dist/7175.js +1 -1
  115. package/dist/7175.js.map +1 -1
  116. package/dist/7182.js +1 -1
  117. package/dist/7182.js.map +1 -1
  118. package/dist/7247.css +1 -0
  119. package/dist/7247.css.map +1 -0
  120. package/dist/7247.js +1 -1
  121. package/dist/7247.js.map +1 -1
  122. package/dist/7742.js +1 -1
  123. package/dist/7742.js.map +1 -1
  124. package/dist/7912.js +1 -1
  125. package/dist/7912.js.map +1 -1
  126. package/dist/8358.js +1 -1
  127. package/dist/8358.js.map +1 -1
  128. package/dist/8359.js +1 -1
  129. package/dist/8359.js.map +1 -1
  130. package/dist/8695.js +1 -1
  131. package/dist/8695.js.map +1 -1
  132. package/dist/903.js +1 -1
  133. package/dist/903.js.map +1 -1
  134. package/dist/9072.js +1 -1
  135. package/dist/9072.js.map +1 -1
  136. package/dist/9414.css +1 -0
  137. package/dist/9414.css.map +1 -0
  138. package/dist/9414.js +1 -1
  139. package/dist/9414.js.map +1 -1
  140. package/dist/9806.js +1 -1
  141. package/dist/9806.js.map +1 -1
  142. package/dist/990.css +1 -0
  143. package/dist/990.css.map +1 -0
  144. package/dist/990.js +18 -1
  145. package/dist/990.js.map +1 -1
  146. package/dist/openmrs-esm-billing-app.js +3 -3
  147. package/dist/openmrs-esm-billing-app.js.buildmanifest.json +208 -271
  148. package/dist/openmrs-esm-billing-app.js.map +1 -1
  149. package/dist/routes.json +1 -1
  150. package/package.json +1 -1
  151. package/src/invoice/invoice.component.tsx +21 -0
  152. package/src/invoice/invoice.scss +0 -8
  153. package/.turbo/cache/ee0f221299f70c6e-meta.json +0 -1
  154. package/.turbo/cache/ee0f221299f70c6e.tar.zst +0 -0
  155. package/dist/9655.js +0 -11
  156. package/dist/9655.js.map +0 -1
  157. package/dist/main.js +0 -14
  158. package/dist/main.js.map +0 -1
package/dist/1877.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([["1877"],{36468(e){e.exports=JSON.parse('{"action":"A\xe7\xe3o","add":"Adicionar","addBillableService":"Adicionar servi\xe7o fatur\xe1vel","addBillItems":"Adicionar itens da conta","addCashPoint":"Adicionar ponto de caixa","addItemsToBill":"Adicionar itens \xe0 conta","addNewBillableService":"Adicionar novo servi\xe7o fatur\xe1vel","addNewCashPoint":"Adicionar novo ponto de caixa","addNewPaymentMode":"Adicionar nova forma de pagamento","addNewService":"Adicionar novo servi\xe7o","addPaymentMode":"Adicionar forma de pagamento","addPaymentOption":"Adicionar op\xe7\xe3o de pagamento","address":"Endere\xe7o","adjusted":"Ajustado","all":"Todos","allBills":"Todas as contas","alreadyRefunded":"J\xe1 reembolsado","amount":"Valor","amountAfterRefund":"Valor ap\xf3s reembolso","amountBalance":"Saldo","amountDue":"Valor devido","amountDueOnBillAfterDiscount":"Valor devido na conta ap\xf3s o desconto","amountExceedsRefundable":"O valor n\xe3o pode exceder {{max}}","amountMustBePositive":"O valor deve ser maior que 0","amountPaid":"Valor pago","amountRequired":"O valor \xe9 obrigat\xf3rio","amountTendered":"Valor recebido","approve":"Aprovar","approveBlocked":"N\xe3o \xe9 poss\xedvel aprovar o desconto","approveBlockedExceedsLineTotal":"Aprovar este reembolso excederia o total do item da linha.","approveBlockedExceedsTotal":"Aprovar este reembolso excederia o total da conta.","approveBlockedNegativeDue":"Aprovar este desconto faria o valor devido ficar abaixo de zero.","approveBlockedRefund":"N\xe3o \xe9 poss\xedvel aprovar o reembolso","approved":"Aprovado","approvedRefundPendingPayout":"Reembolso aprovado (pagamento pendente)","approveFailed":"Falha ao aprovar","associatedConcept":"Conceito associado","awaitingCashierProcessing":"Aguardando processamento pelo caixa","balance":"Saldo","billableService":"Servi\xe7o fatur\xe1vel","billableServiceCreated":"Servi\xe7o fatur\xe1vel criado","billableServiceCreatedSuccessfully":"Servi\xe7o fatur\xe1vel criado com sucesso","billableServiceForm":"Formul\xe1rio de servi\xe7o fatur\xe1vel","billableServices":"Servi\xe7os fatur\xe1veis","billableServices__lower":"servi\xe7os fatur\xe1veis","billableServiceUpdated":"Servi\xe7o fatur\xe1vel atualizado","billableServiceUpdatedSuccessfully":"Servi\xe7o fatur\xe1vel atualizado com sucesso","billAmount":"Valor da conta","billCreatedSuccessfully":"Conta criada com sucesso","billCreationError":"Erro na cria\xe7\xe3o da conta","billDate":"Data da conta","billDeleted":"Conta exclu\xedda","billDeleteFailed":"Falha ao excluir a conta","billDeleteSuccess":"Conta exclu\xedda com sucesso","billDiscounts":"Descontos da conta","billedItems":"Itens faturados","billErrorService":"Erro no servi\xe7o de faturamento","billFinalized":"Conta finalizada","billFinalizedSuccess":"A conta foi finalizada com sucesso","billFinalizeFailed":"Falha ao finalizar a conta","billing":"Faturamento","billingAdministration":"Billing administration","billingDetails":"Detalhes de faturamento","billingHistory":"Hist\xf3rico de faturamento","billingSettings":"Configura\xe7\xf5es de faturamento","billItem":"Item da conta","billJustificationPlaceholder":"ex.: assist\xeancia por dificuldade financeira, caso de caridade, baixa cont\xe1bil","billLineItemEmpty":"Esta conta n\xe3o possui itens de linha","billList":"Lista de contas","billLoadFailed":"Falha ao carregar a conta","billLoadFailedSubtitle":"N\xe3o foi poss\xedvel carregar os dados da conta. Feche e tente novamente.","billMetrics":"M\xe9tricas da conta","billNotFinalized":"Conta n\xe3o finalizada","billNotFound":"N\xe3o foi poss\xedvel carregar os detalhes da conta","billPayment":"Pagamento da conta","billPaymentError":"Erro no pagamento da conta","billPaymentRequiredMessage":"O paciente atual possui uma conta pendente. Oriente o paciente a quitar a conta antes de receber os servi\xe7os","billProcessed":"Conta processada","billProcessedSuccessfully":"Conta processada com sucesso","billProcessingError":"Erro no processamento da conta","billReasonPlaceholder":"ex.: pagamento feito por engano, pagamento em duplicidade","billRefunds":"Reembolsos da conta","billTotal":"Total da conta","billTotalLabel":"Total da conta {{total}}","birthDate":"Data de nascimento","cashier":"Caixa","cashPointConfig":"Configura\xe7\xe3o do ponto de caixa","cashPointHistory":"Hist\xf3rico do ponto de caixa","cashPointLocation":"Localiza\xe7\xe3o do ponto de caixa","cashPointName":"Nome do ponto de caixa","cashPointNamePlaceholder":"Por exemplo, Ponto de Caixa da Farm\xe1cia","cashPointNameRequired":"O nome do ponto de caixa \xe9 obrigat\xf3rio","cashPointSaved":"O ponto de caixa foi salvo com sucesso.","cashPointUuid":"UUID do ponto de caixa","cashPointUuidPlaceholder":"Informe o UUID","checkFilters":"Verifique os filtros acima","childUnder5":"Crian\xe7a menor de 5 anos","clearSearch":"Limpar","completed":"Conclu\xeddo","confirmDelete":"Confirmar exclus\xe3o","confirmDeleteMessage":"Tem certeza de que deseja excluir esta forma de pagamento? Prossiga com cautela.","confirmedDiscounts":"Descontos confirmados","confirmReject":"Confirmar rejei\xe7\xe3o","createBill":"Criar conta","cumulativeBills":"Contas acumuladas","currentNet":"Saldo l\xedquido atual","currentPrice":"Pre\xe7o atual","date":"Data","dateAndTime":"Data e hora","dateBillCreated":"Data de cria\xe7\xe3o da conta","dateOfPayment":"Data do pagamento","decidedRefunds":"Reembolsos decididos","delete":"Excluir","deleteBill":"Excluir conta","deleteBillConfirmation":"Tem certeza de que deseja excluir a conta {{receiptNumber}}? Esta a\xe7\xe3o n\xe3o poder\xe1 ser desfeita.","deleteBillFailedTryAgain":"N\xe3o foi poss\xedvel excluir a conta. Tente novamente.","deleteBillReasonPlaceholder":"Informe o motivo da exclus\xe3o desta conta","deleteBlocked":"N\xe3o \xe9 poss\xedvel excluir o desconto","deleteBlockedFullyPaid":"Um desconto aprovado n\xe3o pode ser removido depois que a conta estiver totalmente paga.","deleteConfirm":"Excluir este desconto?","deleteConfirmation":"Tem certeza de que deseja excluir \\"{{itemName}}\\" desta conta?","deleteConfirmRefund":"Excluir este reembolso?","deleteFailed":"Falha na exclus\xe3o","deleteFailedTryAgain":"N\xe3o foi poss\xedvel excluir o item de linha. Tente novamente.","deleteLineItem":"Excluir item de linha","deletePaymentMode":"Excluir forma de pagamento","deleteReason":"Motivo da exclus\xe3o","deleteReasonPlaceholder":"Informe o motivo para remover este item de linha da conta","deleting":"Excluindo","description":"Descri\xe7\xe3o","descriptionPlaceholder":"Por exemplo, Usado para todas as transa\xe7\xf5es em dinheiro","discard":"Descartar","discount":"Desconto","discountAmount":"Valor","discountApproved":"Desconto aprovado","discountDeleted":"Desconto exclu\xeddo","discountExceedsAmountDue":"O desconto n\xe3o pode exceder o valor devido","discountExceedsLineTotal":"O desconto n\xe3o pode exceder o total do item de linha","discountItem":"Item","discountLabel":"Desconto","discountPendingReview":"Um administrador ir\xe1 avaliar sua solicita\xe7\xe3o","discountRejected":"Desconto rejeitado","discountRequested":"Solicita\xe7\xe3o de desconto enviada","discountRequestFailed":"N\xe3o foi poss\xedvel enviar a solicita\xe7\xe3o de desconto","discountRequests":"Solicita\xe7\xf5es de desconto","discounts":"Descontos","discountsAppliedToBill":"Descontos aplicados a esta conta","discountScope":"Escopo","discountSummary":"Resumo do desconto","discountType":"Tipo","discountWithPercent":"Desconto ({{percent}}%)","editBillableService":"Editar servi\xe7o fatur\xe1vel","editBillLineItem":"Editar item de linha da conta","editPaymentMode":"Editar forma de pagamento","enterAmount":"Informe o valor","enterReferenceNumber":"Informe o n\xfamero de refer\xeancia","enterSellingPrice":"Informe o pre\xe7o de venda","enterServiceName":"Informe o nome do servi\xe7o","enterServiceShortName":"Informe o nome abreviado do servi\xe7o","errorCreatingBill":"Ocorreu um erro ao criar a conta","errorDeletingPaymentMode":"Ocorreu um erro ao excluir a forma de pagamento.","errorFetchingCashPoints":"Ocorreu um erro ao buscar os pontos de caixa.","errorFetchingLocations":"Ocorreu um erro ao buscar as localiza\xe7\xf5es.","errorLoadingBill":"Erro ao carregar a conta","errorLoadingBillableServices":"Erro ao carregar os servi\xe7os fatur\xe1veis","errorLoadingBillServices":"Erro ao carregar os servi\xe7os da conta","errorLoadingLastVisit":"Ocorreu um erro ao carregar a \xfaltima visita","errorLoadingPaymentModes":"Erro ao carregar as formas de pagamento","errorPrintingInvoice":"Erro ao imprimir a fatura","errorProcessingPayment":"Erro ao processar o pagamento","errorSavingCashPoint":"Ocorreu um erro ao salvar o ponto de caixa.","errorSavingPaymentMode":"Ocorreu um erro ao salvar a forma de pagamento.","existingItems":"Itens existentes","filterBillsByPatient":"Filtrar contas pelo nome ou identificador do paciente","filterBy":"Filtrar por:","filterTable":"Filtrar tabela","finalize":"Finalizar","finalizeBill":"Finalizar conta","finalizeBillConfirmation":"Tem certeza de que deseja finalizar esta conta? Depois de finalizada, n\xe3o ser\xe3o permitidas novas altera\xe7\xf5es na conta.","finalizeBillToRecordPayment":"Finalize esta conta antes de registrar um pagamento.","finalizeFailedTryAgain":"N\xe3o foi poss\xedvel finalizar a conta. Tente novamente.","finalizing":"Finalizando","fixedAmount":"Valor fixo","gender":"G\xeanero","grandTotal":"Total geral","home":"In\xedcio","ifPendingApproved":"Se os descontos pendentes forem aprovados","insuranceScheme":"Conv\xeanio m\xe9dico","invalidUuidFormat":"Formato de UUID inv\xe1lido","inventoryItem":"Item de estoque","invoice":"Fatura","invoiceDate":"Data da fatura","invoiceError":"Erro na fatura","invoiceLabel":"Fatura {{number}}","invoiceLineItems":"Itens na linha da fatura","invoiceNo":"Fatura n\xba","invoiceNumber":"N\xfamero da fatura","invoiceStatus":"Status da fatura","invoiceSummary":"Resumo da fatura","issued":"Emitida","item":"Item","itemsAddedToBill":"Itens adicionados \xe0 conta","itemsAddedToBillSuccessfully":"Os itens foram adicionados \xe0 conta com sucesso","itemsToBeBilled":"Itens a serem faturados","justification":"Justificativa","justificationTooLong":"A justificativa n\xe3o pode exceder 1000 caracteres","lastVisitError":"Erro na \xfaltima visita","lastVisitInfo":"Informa\xe7\xf5es da \xfaltima visita","lastVisitMsg_one":"A \xfaltima visita foi uma {{type}} h\xe1 {{count}} dia em {{location}}","lastVisitMsg_other":"A \xfaltima visita foi uma {{type}} h\xe1 {{count}} dias em {{location}}","lineAfterDiscount":"Linha ap\xf3s desconto","lineItemCount_one":"{{count}} itens na linha","lineItemCount_other":"{{count}} itens na linha","lineItemDeleted":"Item de linha exclu\xeddo","lineItemDeleteFailed":"Falha ao excluir o item de linha","lineItemDeleteSuccess":"Item de linha da conta exclu\xeddo com sucesso","lineItemJustificationPlaceholder":"ex.: item danificado, quantidade faturada incorreta, estoque vencido","lineItemReasonPlaceholder":"ex.: cobran\xe7a em duplicidade, item faturado incorreto","lineItems":"Itens da linha","lineItemUpdated":"Item da linha atualizado","lineItemUpdateErrorDefault":"N\xe3o foi poss\xedvel atualizar o item de linha da conta. Tente novamente.","lineItemUpdateFailed":"Falha ao atualizar o item da linha","lineItemUpdateSuccess":"O item da linha da conta foi atualizado com sucesso","lineTotal":"Total da linha","lineTotalLabel":"Total da linha {{total}}","loading":"Carregando dados","loadingBillInfo":"Carregando informa\xe7\xf5es da conta","loadingBillingServices":"Carregando servi\xe7os de faturamento","loadingBillItems":"Carregando itens da conta","loadingBillMetrics":"Carregando m\xe9tricas da conta","loadingDescription":"Carregando","location":"Localiza\xe7\xe3o","locationRequired":"A localiza\xe7\xe3o \xe9 obrigat\xf3ria","manageBilling":"Manage billing","method":"M\xe9todo","name":"Nome","netAmount":"Valor l\xedquido","newItems":"Novos itens","nextPage":"Pr\xf3xima p\xe1gina","no":"N\xe3o","noBillsToDisplay":"N\xe3o h\xe1 contas para exibir.","noDiscountRequestsToDisplay":"N\xe3o h\xe1 solicita\xe7\xf5es de desconto para exibir.","noMatchingBillsToDisplay":"N\xe3o h\xe1 contas correspondentes para exibir","noMatchingItemsToDisplay":"N\xe3o h\xe1 itens correspondentes para exibir","noMatchingServicesToDisplay":"N\xe3o h\xe1 servi\xe7os correspondentes para exibir","nonPaying":"N\xe3o pagante","nonPayingInfo":"Quaisquer servi\xe7os prestados a pacientes n\xe3o pagantes n\xe3o ser\xe3o faturados","noRefundableAmount":"N\xe3o h\xe1 valor reembols\xe1vel restante nesta conta","noRefundRequestsToDisplay":"N\xe3o h\xe1 solicita\xe7\xf5es de reembolso para exibir.","noResultsFor":"Nenhum resultado para {{searchTerm}}","number":"N\xfamero","ok":"OK","outstanding":"Em aberto","paid":"Pago","PAID":"PAGO","paidBills":"Contas pagas","partially_refunded":"Parcialmente reembolsado","patient":"Paciente","patientBill":"Conta do paciente","patientBillingAlert":"Alerta de faturamento do paciente","patientCategory":"Categoria de paciente","patientIdentifier":"Identificador do paciente","patientInformation":"Informa\xe7\xf5es do paciente","patientName":"Nome do paciente","paying":"Pagamento em andamento","paymentAmountCannotExceedAmountDue":"O valor do pagamento n\xe3o pode exceder o valor devido","paymentDetails":"Detalhes do pagamento","paymentHistory":"Hist\xf3rico de pagamentos","paymentMethod":"M\xe9todo de pagamento","paymentMethodRequired":"O m\xe9todo de pagamento \xe9 obrigat\xf3rio para todos os itens","paymentMode":"Modo de pagamento","paymentModeDeleted":"Modo de pagamento exclu\xeddo com sucesso.","paymentModeHistory":"Hist\xf3rico do modo de pagamento","paymentModeNameLabel":"Nome do modo de pagamento","paymentModeNamePlaceholder":"Por exemplo, Dinheiro, Cart\xe3o de Cr\xe9dito","paymentModeNameRequired":"O nome do modo de pagamento \xe9 obrigat\xf3rio","paymentModeNameToDelete":"Nome do modo de pagamento: {{paymentModeName}}","paymentModeRequired":"O modo de pagamento \xe9 obrigat\xf3rio","paymentModeSaved":"Modo de pagamento salvo com sucesso.","paymentModesConfig":"Configura\xe7\xe3o dos modos de pagamento","paymentOptionRequired":"Pelo menos uma op\xe7\xe3o de pagamento \xe9 obrigat\xf3ria","paymentProcessedSuccessfully":"Pagamento processado com sucesso","payments":"Pagamentos","paymentsReceived":"Pagamentos recebidos","pending":"Pendente","pendingBills":"Contas pendentes","pendingConfirmationBills":"Confirma\xe7\xe3o pendente","pendingDiscounts":"Descontos pendentes","pendingPaymentBills":"Pagamento pendente","pendingRefundBills":"Reembolsos pendentes","percentage":"Porcentagem","percentageTooHigh":"O valor n\xe3o pode exceder 100","policyNumber":"N\xfamero da ap\xf3lice","posted":"Lan\xe7ado","previousPage":"P\xe1gina anterior","price":"Pre\xe7o","priceIsRequired":"O pre\xe7o \xe9 obrigat\xf3rio","priceMustBeNonNegative":"O pre\xe7o deve ser 0 ou maior","priceMustBeNumber":"O pre\xe7o deve ser um n\xfamero v\xe1lido","priceMustBePositive":"O pre\xe7o deve ser maior que 0","prices":"Pre\xe7os","printBill":"Imprimir conta","printReceipt":"Imprimir recibo","processing":"Processando","processPayment":"Processar pagamento","processRefund":"Processar reembolso","projectedNet":"Proje\xe7\xe3o l\xedquida","qty":"Qtd","qtyTimesPrice":"Quantidade {{quantity}} \xd7 {{price}}","quantity":"Quantidade","quantityCannotExceed100":"A quantidade n\xe3o pode exceder 100","quantityMustBeAtLeastOne":"A quantidade deve ser pelo menos 1","quantityMustBeInteger":"A quantidade deve ser um n\xfamero inteiro","quantityMustBeNumber":"A quantidade deve ser um n\xfamero v\xe1lido","quantityRequired":"A quantidade \xe9 obrigat\xf3ria","reason":"Motivo","reasonForDiscount":"Motivo do desconto","reasonForRefund":"Motivo do reembolso","reasonTooLong":"O motivo n\xe3o pode exceder 1000 caracteres","receiptNumber":"Recibo n\xba","referenceNumber":"N\xfamero de refer\xeancia","refund_requested":"Reembolso solicitado","refundAmount":"Valor do reembolso","refundAmountLabel":"Valor do reembolso ({{currency}})","refundApproved":"Reembolso aprovado","refundDeleted":"Reembolso exclu\xeddo","refunded":"Reembolsado","refundedBills":"Contas reembolsadas","refundInProgress":"J\xe1 h\xe1 um reembolso em andamento para um ou mais itens da linha","refundItem":"Item","refundPaidOut":"Reembolso pago","refundPendingReview":"Um administrador ir\xe1 analisar sua solicita\xe7\xe3o","refundProcessed":"Reembolso processado","refundProcessFailed":"N\xe3o foi poss\xedvel processar o reembolso","refundRejected":"Reembolso rejeitado","refundRequested":"Solicita\xe7\xe3o de reembolso enviada","refundRequestFailed":"N\xe3o foi poss\xedvel enviar a solicita\xe7\xe3o de reembolso","refundRequests":"Solicita\xe7\xf5es de reembolso","refunds":"Reembolsos","refundScope":"Escopo do reembolso","refundsOnBill":"Reembolsos nesta conta","refundSummary":"Resumo do reembolso","refundUnavailable":"Reembolso indispon\xedvel","refundUnavailableSubtitle":"O valor da conta n\xe3o p\xf4de ser determinado. Recarregue e tente novamente.","reject":"Rejeitar","rejectConfirm":"Rejeitar este desconto?","rejectConfirmRefund":"Rejeitar este reembolso?","rejected":"Rejeitado","rejectFailed":"Falha ao rejeitar","remove":"Remover","requestDiscount":"Solicitar desconto","requested":"Solicitado","requestedBy":"Solicitado por","requestedRefunds":"Reembolsos solicitados","requestRefund":"Solicitar reembolso","reviewDiscounts":"Analisar descontos","reviewRefunds":"Analisar reembolsos","saveAndClose":"Salvar e fechar","saving":"Salvando","searchByPatientOrBill":"Pesquisar por nome do paciente ou n\xba da conta","searchConcepts":"Pesquisar conceito associado","searchDiscountRequests":"Pesquisar solicita\xe7\xf5es de desconto","searchForPatient":"Pesquisar paciente pelo nome","searching":"Pesquisando","searchItems":"Pesquisar itens e servi\xe7os","searchRefundRequests":"Pesquisar solicita\xe7\xf5es de reembolso","searchThisTable":"Pesquisar nesta tabela","selectBillableService":"Selecione um servi\xe7o fatur\xe1vel","selectedItems":"Itens selecionados","selectLocation":"Selecione a localiza\xe7\xe3o","selectPatientCategory":"Selecione a categoria do paciente","selectPaymentMethod":"Selecione o m\xe9todo de pagamento","selectPaymentMode":"Selecione a forma de pagamento","selectServiceType":"Selecione o tipo de servi\xe7o","sellingPrice":"Pre\xe7o de venda","serviceList":"Lista de servi\xe7os","serviceName":"Nome do servi\xe7o","serviceNameExceedsLimit":"O nome do servi\xe7o n\xe3o pode exceder {{MAX_NAME_LENGTH}} caracteres","serviceNameRequired":"O nome do servi\xe7o \xe9 obrigat\xf3rio","serviceResolutionError":"N\xe3o foi poss\xedvel localizar o servi\xe7o \\"{{service}}\\"","servicesList":"Lista de servi\xe7os","serviceStatus":"Status do servi\xe7o","serviceType":"Tipo de servi\xe7o","serviceTypeRequired":"O tipo de servi\xe7o \xe9 obrigat\xf3rio","shortName":"Nome abreviado ","shortNameExceedsLimit":"O nome abreviado n\xe3o pode exceder {{MAX_NAME_LENGTH}} caracteres","showInformation":"Mostrar informa\xe7\xf5es","status":"Status do servi\xe7o","student":"Estudante","submitRequest":"Enviar solicita\xe7\xe3o","submitting":"Enviando","subtotal":"Subtotal","success":"Sucesso","tendered":"Valor entregue","total":"Total","totalAmount":"Valor total","totalPaid":"Total pago","totalPendingPayout":"Total pendente de pagamento","totalRefunded":"Total reembolsado","totalTendered":"Total entregue","unitPrice":"Pre\xe7o unit\xe1rio","unitPriceHelperText":"Este \xe9 o pre\xe7o unit\xe1rio deste item","unknownBillError":"Ocorreu um erro inesperado","UNPAID":"N\xc3O PAGA","uuid":"UUID","uuidRequired":"UUID \xe9 obrigat\xf3rio","validationError":"Erro de valida\xe7\xe3o","valueAmountLabel":"Valor ({{currency}})","valueMustBePositive":"O valor deve ser maior que 0","valuePercentLabel":"Valor (%)","wholeBill":"Conta completa","wholeBillScope":"Conta completa"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([["1877"],{6468(e){e.exports=JSON.parse('{"action":"A\xe7\xe3o","add":"Adicionar","addBillableService":"Adicionar servi\xe7o fatur\xe1vel","addBillItems":"Adicionar itens da conta","addCashPoint":"Adicionar ponto de caixa","addItemsToBill":"Adicionar itens \xe0 conta","addNewBillableService":"Adicionar novo servi\xe7o fatur\xe1vel","addNewCashPoint":"Adicionar novo ponto de caixa","addNewPaymentMode":"Adicionar nova forma de pagamento","addNewService":"Adicionar novo servi\xe7o","addPaymentMode":"Adicionar forma de pagamento","addPaymentOption":"Adicionar op\xe7\xe3o de pagamento","address":"Endere\xe7o","adjusted":"Ajustado","all":"Todos","allBills":"Todas as contas","alreadyRefunded":"J\xe1 reembolsado","amount":"Valor","amountAfterRefund":"Valor ap\xf3s reembolso","amountBalance":"Saldo","amountDue":"Valor devido","amountDueOnBillAfterDiscount":"Valor devido na conta ap\xf3s o desconto","amountExceedsRefundable":"O valor n\xe3o pode exceder {{max}}","amountMustBePositive":"O valor deve ser maior que 0","amountPaid":"Valor pago","amountRequired":"O valor \xe9 obrigat\xf3rio","amountTendered":"Valor recebido","approve":"Aprovar","approveBlocked":"N\xe3o \xe9 poss\xedvel aprovar o desconto","approveBlockedExceedsLineTotal":"Aprovar este reembolso excederia o total do item da linha.","approveBlockedExceedsTotal":"Aprovar este reembolso excederia o total da conta.","approveBlockedNegativeDue":"Aprovar este desconto faria o valor devido ficar abaixo de zero.","approveBlockedRefund":"N\xe3o \xe9 poss\xedvel aprovar o reembolso","approved":"Aprovado","approvedRefundPendingPayout":"Reembolso aprovado (pagamento pendente)","approveFailed":"Falha ao aprovar","associatedConcept":"Conceito associado","awaitingCashierProcessing":"Aguardando processamento pelo caixa","balance":"Saldo","billableService":"Servi\xe7o fatur\xe1vel","billableServiceCreated":"Servi\xe7o fatur\xe1vel criado","billableServiceCreatedSuccessfully":"Servi\xe7o fatur\xe1vel criado com sucesso","billableServiceForm":"Formul\xe1rio de servi\xe7o fatur\xe1vel","billableServices":"Servi\xe7os fatur\xe1veis","billableServices__lower":"servi\xe7os fatur\xe1veis","billableServiceUpdated":"Servi\xe7o fatur\xe1vel atualizado","billableServiceUpdatedSuccessfully":"Servi\xe7o fatur\xe1vel atualizado com sucesso","billAmount":"Valor da conta","billCreatedSuccessfully":"Conta criada com sucesso","billCreationError":"Erro na cria\xe7\xe3o da conta","billDate":"Data da conta","billDeleted":"Conta exclu\xedda","billDeleteFailed":"Falha ao excluir a conta","billDeleteSuccess":"Conta exclu\xedda com sucesso","billDiscounts":"Descontos da conta","billedItems":"Itens faturados","billErrorService":"Erro no servi\xe7o de faturamento","billFinalized":"Conta finalizada","billFinalizedSuccess":"A conta foi finalizada com sucesso","billFinalizeFailed":"Falha ao finalizar a conta","billing":"Faturamento","billingAdministration":"Billing administration","billingDetails":"Detalhes de faturamento","billingHistory":"Hist\xf3rico de faturamento","billingSettings":"Configura\xe7\xf5es de faturamento","billItem":"Item da conta","billJustificationPlaceholder":"ex.: assist\xeancia por dificuldade financeira, caso de caridade, baixa cont\xe1bil","billLineItemEmpty":"Esta conta n\xe3o possui itens de linha","billList":"Lista de contas","billLoadFailed":"Falha ao carregar a conta","billLoadFailedSubtitle":"N\xe3o foi poss\xedvel carregar os dados da conta. Feche e tente novamente.","billMetrics":"M\xe9tricas da conta","billNotFinalized":"Conta n\xe3o finalizada","billNotFound":"N\xe3o foi poss\xedvel carregar os detalhes da conta","billPayment":"Pagamento da conta","billPaymentError":"Erro no pagamento da conta","billPaymentRequiredMessage":"O paciente atual possui uma conta pendente. Oriente o paciente a quitar a conta antes de receber os servi\xe7os","billProcessed":"Conta processada","billProcessedSuccessfully":"Conta processada com sucesso","billProcessingError":"Erro no processamento da conta","billReasonPlaceholder":"ex.: pagamento feito por engano, pagamento em duplicidade","billRefunds":"Reembolsos da conta","billTotal":"Total da conta","billTotalLabel":"Total da conta {{total}}","birthDate":"Data de nascimento","cashier":"Caixa","cashPointConfig":"Configura\xe7\xe3o do ponto de caixa","cashPointHistory":"Hist\xf3rico do ponto de caixa","cashPointLocation":"Localiza\xe7\xe3o do ponto de caixa","cashPointName":"Nome do ponto de caixa","cashPointNamePlaceholder":"Por exemplo, Ponto de Caixa da Farm\xe1cia","cashPointNameRequired":"O nome do ponto de caixa \xe9 obrigat\xf3rio","cashPointSaved":"O ponto de caixa foi salvo com sucesso.","cashPointUuid":"UUID do ponto de caixa","cashPointUuidPlaceholder":"Informe o UUID","checkFilters":"Verifique os filtros acima","childUnder5":"Crian\xe7a menor de 5 anos","clearSearch":"Limpar","completed":"Conclu\xeddo","confirmDelete":"Confirmar exclus\xe3o","confirmDeleteMessage":"Tem certeza de que deseja excluir esta forma de pagamento? Prossiga com cautela.","confirmedDiscounts":"Descontos confirmados","confirmReject":"Confirmar rejei\xe7\xe3o","createBill":"Criar conta","cumulativeBills":"Contas acumuladas","currentNet":"Saldo l\xedquido atual","currentPrice":"Pre\xe7o atual","date":"Data","dateAndTime":"Data e hora","dateBillCreated":"Data de cria\xe7\xe3o da conta","dateOfPayment":"Data do pagamento","decidedRefunds":"Reembolsos decididos","delete":"Excluir","deleteBill":"Excluir conta","deleteBillConfirmation":"Tem certeza de que deseja excluir a conta {{receiptNumber}}? Esta a\xe7\xe3o n\xe3o poder\xe1 ser desfeita.","deleteBillFailedTryAgain":"N\xe3o foi poss\xedvel excluir a conta. Tente novamente.","deleteBillReasonPlaceholder":"Informe o motivo da exclus\xe3o desta conta","deleteBlocked":"N\xe3o \xe9 poss\xedvel excluir o desconto","deleteBlockedFullyPaid":"Um desconto aprovado n\xe3o pode ser removido depois que a conta estiver totalmente paga.","deleteConfirm":"Excluir este desconto?","deleteConfirmation":"Tem certeza de que deseja excluir \\"{{itemName}}\\" desta conta?","deleteConfirmRefund":"Excluir este reembolso?","deleteFailed":"Falha na exclus\xe3o","deleteFailedTryAgain":"N\xe3o foi poss\xedvel excluir o item de linha. Tente novamente.","deleteLineItem":"Excluir item de linha","deletePaymentMode":"Excluir forma de pagamento","deleteReason":"Motivo da exclus\xe3o","deleteReasonPlaceholder":"Informe o motivo para remover este item de linha da conta","deleting":"Excluindo","description":"Descri\xe7\xe3o","descriptionPlaceholder":"Por exemplo, Usado para todas as transa\xe7\xf5es em dinheiro","discard":"Descartar","discount":"Desconto","discountAmount":"Valor","discountApproved":"Desconto aprovado","discountDeleted":"Desconto exclu\xeddo","discountExceedsAmountDue":"O desconto n\xe3o pode exceder o valor devido","discountExceedsLineTotal":"O desconto n\xe3o pode exceder o total do item de linha","discountItem":"Item","discountLabel":"Desconto","discountPendingReview":"Um administrador ir\xe1 avaliar sua solicita\xe7\xe3o","discountRejected":"Desconto rejeitado","discountRequested":"Solicita\xe7\xe3o de desconto enviada","discountRequestFailed":"N\xe3o foi poss\xedvel enviar a solicita\xe7\xe3o de desconto","discountRequests":"Solicita\xe7\xf5es de desconto","discounts":"Descontos","discountsAppliedToBill":"Descontos aplicados a esta conta","discountScope":"Escopo","discountSummary":"Resumo do desconto","discountType":"Tipo","discountWithPercent":"Desconto ({{percent}}%)","editBillableService":"Editar servi\xe7o fatur\xe1vel","editBillLineItem":"Editar item de linha da conta","editPaymentMode":"Editar forma de pagamento","enterAmount":"Informe o valor","enterReferenceNumber":"Informe o n\xfamero de refer\xeancia","enterSellingPrice":"Informe o pre\xe7o de venda","enterServiceName":"Informe o nome do servi\xe7o","enterServiceShortName":"Informe o nome abreviado do servi\xe7o","errorCreatingBill":"Ocorreu um erro ao criar a conta","errorDeletingPaymentMode":"Ocorreu um erro ao excluir a forma de pagamento.","errorFetchingCashPoints":"Ocorreu um erro ao buscar os pontos de caixa.","errorFetchingLocations":"Ocorreu um erro ao buscar as localiza\xe7\xf5es.","errorLoadingBill":"Erro ao carregar a conta","errorLoadingBillableServices":"Erro ao carregar os servi\xe7os fatur\xe1veis","errorLoadingBillServices":"Erro ao carregar os servi\xe7os da conta","errorLoadingLastVisit":"Ocorreu um erro ao carregar a \xfaltima visita","errorLoadingPaymentModes":"Erro ao carregar as formas de pagamento","errorPrintingInvoice":"Erro ao imprimir a fatura","errorProcessingPayment":"Erro ao processar o pagamento","errorSavingCashPoint":"Ocorreu um erro ao salvar o ponto de caixa.","errorSavingPaymentMode":"Ocorreu um erro ao salvar a forma de pagamento.","existingItems":"Itens existentes","filterBillsByPatient":"Filtrar contas pelo nome ou identificador do paciente","filterBy":"Filtrar por:","filterTable":"Filtrar tabela","finalize":"Finalizar","finalizeBill":"Finalizar conta","finalizeBillConfirmation":"Tem certeza de que deseja finalizar esta conta? Depois de finalizada, n\xe3o ser\xe3o permitidas novas altera\xe7\xf5es na conta.","finalizeBillToRecordPayment":"Finalize esta conta antes de registrar um pagamento.","finalizeFailedTryAgain":"N\xe3o foi poss\xedvel finalizar a conta. Tente novamente.","finalizing":"Finalizando","fixedAmount":"Valor fixo","gender":"G\xeanero","grandTotal":"Total geral","home":"In\xedcio","ifPendingApproved":"Se os descontos pendentes forem aprovados","insuranceScheme":"Conv\xeanio m\xe9dico","invalidUuidFormat":"Formato de UUID inv\xe1lido","inventoryItem":"Item de estoque","invoice":"Fatura","invoiceDate":"Data da fatura","invoiceError":"Erro na fatura","invoiceLabel":"Fatura {{number}}","invoiceLineItems":"Itens na linha da fatura","invoiceNo":"Fatura n\xba","invoiceNumber":"N\xfamero da fatura","invoiceStatus":"Status da fatura","invoiceSummary":"Resumo da fatura","issued":"Emitida","item":"Item","itemsAddedToBill":"Itens adicionados \xe0 conta","itemsAddedToBillSuccessfully":"Os itens foram adicionados \xe0 conta com sucesso","itemsToBeBilled":"Itens a serem faturados","justification":"Justificativa","justificationTooLong":"A justificativa n\xe3o pode exceder 1000 caracteres","lastVisitError":"Erro na \xfaltima visita","lastVisitInfo":"Informa\xe7\xf5es da \xfaltima visita","lastVisitMsg_one":"A \xfaltima visita foi uma {{type}} h\xe1 {{count}} dia em {{location}}","lastVisitMsg_other":"A \xfaltima visita foi uma {{type}} h\xe1 {{count}} dias em {{location}}","lineAfterDiscount":"Linha ap\xf3s desconto","lineItemCount_one":"{{count}} itens na linha","lineItemCount_other":"{{count}} itens na linha","lineItemDeleted":"Item de linha exclu\xeddo","lineItemDeleteFailed":"Falha ao excluir o item de linha","lineItemDeleteSuccess":"Item de linha da conta exclu\xeddo com sucesso","lineItemJustificationPlaceholder":"ex.: item danificado, quantidade faturada incorreta, estoque vencido","lineItemReasonPlaceholder":"ex.: cobran\xe7a em duplicidade, item faturado incorreto","lineItems":"Itens da linha","lineItemUpdated":"Item da linha atualizado","lineItemUpdateErrorDefault":"N\xe3o foi poss\xedvel atualizar o item de linha da conta. Tente novamente.","lineItemUpdateFailed":"Falha ao atualizar o item da linha","lineItemUpdateSuccess":"O item da linha da conta foi atualizado com sucesso","lineTotal":"Total da linha","lineTotalLabel":"Total da linha {{total}}","loading":"Carregando dados","loadingBillInfo":"Carregando informa\xe7\xf5es da conta","loadingBillingServices":"Carregando servi\xe7os de faturamento","loadingBillItems":"Carregando itens da conta","loadingBillMetrics":"Carregando m\xe9tricas da conta","loadingDescription":"Carregando","location":"Localiza\xe7\xe3o","locationRequired":"A localiza\xe7\xe3o \xe9 obrigat\xf3ria","manageBilling":"Manage billing","method":"M\xe9todo","name":"Nome","netAmount":"Valor l\xedquido","newItems":"Novos itens","nextPage":"Pr\xf3xima p\xe1gina","no":"N\xe3o","noBillsToDisplay":"N\xe3o h\xe1 contas para exibir.","noDiscountRequestsToDisplay":"N\xe3o h\xe1 solicita\xe7\xf5es de desconto para exibir.","noMatchingBillsToDisplay":"N\xe3o h\xe1 contas correspondentes para exibir","noMatchingItemsToDisplay":"N\xe3o h\xe1 itens correspondentes para exibir","noMatchingServicesToDisplay":"N\xe3o h\xe1 servi\xe7os correspondentes para exibir","nonPaying":"N\xe3o pagante","nonPayingInfo":"Quaisquer servi\xe7os prestados a pacientes n\xe3o pagantes n\xe3o ser\xe3o faturados","noRefundableAmount":"N\xe3o h\xe1 valor reembols\xe1vel restante nesta conta","noRefundRequestsToDisplay":"N\xe3o h\xe1 solicita\xe7\xf5es de reembolso para exibir.","noResultsFor":"Nenhum resultado para {{searchTerm}}","number":"N\xfamero","ok":"OK","outstanding":"Em aberto","paid":"Pago","PAID":"PAGO","paidBills":"Contas pagas","partially_refunded":"Parcialmente reembolsado","patient":"Paciente","patientBill":"Conta do paciente","patientBillingAlert":"Alerta de faturamento do paciente","patientCategory":"Categoria de paciente","patientIdentifier":"Identificador do paciente","patientInformation":"Informa\xe7\xf5es do paciente","patientName":"Nome do paciente","paying":"Pagamento em andamento","paymentAmountCannotExceedAmountDue":"O valor do pagamento n\xe3o pode exceder o valor devido","paymentDetails":"Detalhes do pagamento","paymentHistory":"Hist\xf3rico de pagamentos","paymentMethod":"M\xe9todo de pagamento","paymentMethodRequired":"O m\xe9todo de pagamento \xe9 obrigat\xf3rio para todos os itens","paymentMode":"Modo de pagamento","paymentModeDeleted":"Modo de pagamento exclu\xeddo com sucesso.","paymentModeHistory":"Hist\xf3rico do modo de pagamento","paymentModeNameLabel":"Nome do modo de pagamento","paymentModeNamePlaceholder":"Por exemplo, Dinheiro, Cart\xe3o de Cr\xe9dito","paymentModeNameRequired":"O nome do modo de pagamento \xe9 obrigat\xf3rio","paymentModeNameToDelete":"Nome do modo de pagamento: {{paymentModeName}}","paymentModeRequired":"O modo de pagamento \xe9 obrigat\xf3rio","paymentModeSaved":"Modo de pagamento salvo com sucesso.","paymentModesConfig":"Configura\xe7\xe3o dos modos de pagamento","paymentOptionRequired":"Pelo menos uma op\xe7\xe3o de pagamento \xe9 obrigat\xf3ria","paymentProcessedSuccessfully":"Pagamento processado com sucesso","payments":"Pagamentos","paymentsReceived":"Pagamentos recebidos","pending":"Pendente","pendingBills":"Contas pendentes","pendingConfirmationBills":"Confirma\xe7\xe3o pendente","pendingDiscounts":"Descontos pendentes","pendingPaymentBills":"Pagamento pendente","pendingRefundBills":"Reembolsos pendentes","percentage":"Porcentagem","percentageTooHigh":"O valor n\xe3o pode exceder 100","policyNumber":"N\xfamero da ap\xf3lice","posted":"Lan\xe7ado","previousPage":"P\xe1gina anterior","price":"Pre\xe7o","priceIsRequired":"O pre\xe7o \xe9 obrigat\xf3rio","priceMustBeNonNegative":"O pre\xe7o deve ser 0 ou maior","priceMustBeNumber":"O pre\xe7o deve ser um n\xfamero v\xe1lido","priceMustBePositive":"O pre\xe7o deve ser maior que 0","prices":"Pre\xe7os","printBill":"Imprimir conta","printReceipt":"Imprimir recibo","processing":"Processando","processPayment":"Processar pagamento","processRefund":"Processar reembolso","projectedNet":"Proje\xe7\xe3o l\xedquida","qty":"Qtd","qtyTimesPrice":"Quantidade {{quantity}} \xd7 {{price}}","quantity":"Quantidade","quantityCannotExceed100":"A quantidade n\xe3o pode exceder 100","quantityMustBeAtLeastOne":"A quantidade deve ser pelo menos 1","quantityMustBeInteger":"A quantidade deve ser um n\xfamero inteiro","quantityMustBeNumber":"A quantidade deve ser um n\xfamero v\xe1lido","quantityRequired":"A quantidade \xe9 obrigat\xf3ria","reason":"Motivo","reasonForDiscount":"Motivo do desconto","reasonForRefund":"Motivo do reembolso","reasonTooLong":"O motivo n\xe3o pode exceder 1000 caracteres","receiptNumber":"Recibo n\xba","referenceNumber":"N\xfamero de refer\xeancia","refund_requested":"Reembolso solicitado","refundAmount":"Valor do reembolso","refundAmountLabel":"Valor do reembolso ({{currency}})","refundApproved":"Reembolso aprovado","refundDeleted":"Reembolso exclu\xeddo","refunded":"Reembolsado","refundedBills":"Contas reembolsadas","refundInProgress":"J\xe1 h\xe1 um reembolso em andamento para um ou mais itens da linha","refundItem":"Item","refundPaidOut":"Reembolso pago","refundPendingReview":"Um administrador ir\xe1 analisar sua solicita\xe7\xe3o","refundProcessed":"Reembolso processado","refundProcessFailed":"N\xe3o foi poss\xedvel processar o reembolso","refundRejected":"Reembolso rejeitado","refundRequested":"Solicita\xe7\xe3o de reembolso enviada","refundRequestFailed":"N\xe3o foi poss\xedvel enviar a solicita\xe7\xe3o de reembolso","refundRequests":"Solicita\xe7\xf5es de reembolso","refunds":"Reembolsos","refundScope":"Escopo do reembolso","refundsOnBill":"Reembolsos nesta conta","refundSummary":"Resumo do reembolso","refundUnavailable":"Reembolso indispon\xedvel","refundUnavailableSubtitle":"O valor da conta n\xe3o p\xf4de ser determinado. Recarregue e tente novamente.","reject":"Rejeitar","rejectConfirm":"Rejeitar este desconto?","rejectConfirmRefund":"Rejeitar este reembolso?","rejected":"Rejeitado","rejectFailed":"Falha ao rejeitar","remove":"Remover","requestDiscount":"Solicitar desconto","requested":"Solicitado","requestedBy":"Solicitado por","requestedRefunds":"Reembolsos solicitados","requestRefund":"Solicitar reembolso","reviewDiscounts":"Analisar descontos","reviewRefunds":"Analisar reembolsos","saveAndClose":"Salvar e fechar","saving":"Salvando","searchByPatientOrBill":"Pesquisar por nome do paciente ou n\xba da conta","searchConcepts":"Pesquisar conceito associado","searchDiscountRequests":"Pesquisar solicita\xe7\xf5es de desconto","searchForPatient":"Pesquisar paciente pelo nome","searching":"Pesquisando","searchItems":"Pesquisar itens e servi\xe7os","searchRefundRequests":"Pesquisar solicita\xe7\xf5es de reembolso","searchThisTable":"Pesquisar nesta tabela","selectBillableService":"Selecione um servi\xe7o fatur\xe1vel","selectedItems":"Itens selecionados","selectLocation":"Selecione a localiza\xe7\xe3o","selectPatientCategory":"Selecione a categoria do paciente","selectPaymentMethod":"Selecione o m\xe9todo de pagamento","selectPaymentMode":"Selecione a forma de pagamento","selectServiceType":"Selecione o tipo de servi\xe7o","sellingPrice":"Pre\xe7o de venda","serviceList":"Lista de servi\xe7os","serviceName":"Nome do servi\xe7o","serviceNameExceedsLimit":"O nome do servi\xe7o n\xe3o pode exceder {{MAX_NAME_LENGTH}} caracteres","serviceNameRequired":"O nome do servi\xe7o \xe9 obrigat\xf3rio","serviceResolutionError":"N\xe3o foi poss\xedvel localizar o servi\xe7o \\"{{service}}\\"","servicesList":"Lista de servi\xe7os","serviceStatus":"Status do servi\xe7o","serviceType":"Tipo de servi\xe7o","serviceTypeRequired":"O tipo de servi\xe7o \xe9 obrigat\xf3rio","shortName":"Nome abreviado ","shortNameExceedsLimit":"O nome abreviado n\xe3o pode exceder {{MAX_NAME_LENGTH}} caracteres","showInformation":"Mostrar informa\xe7\xf5es","status":"Status do servi\xe7o","student":"Estudante","submitRequest":"Enviar solicita\xe7\xe3o","submitting":"Enviando","subtotal":"Subtotal","success":"Sucesso","tendered":"Valor entregue","total":"Total","totalAmount":"Valor total","totalPaid":"Total pago","totalPendingPayout":"Total pendente de pagamento","totalRefunded":"Total reembolsado","totalTendered":"Total entregue","unitPrice":"Pre\xe7o unit\xe1rio","unitPriceHelperText":"Este \xe9 o pre\xe7o unit\xe1rio deste item","unknownBillError":"Ocorreu um erro inesperado","UNPAID":"N\xc3O PAGA","uuid":"UUID","uuidRequired":"UUID \xe9 obrigat\xf3rio","validationError":"Erro de valida\xe7\xe3o","valueAmountLabel":"Valor ({{currency}})","valueMustBePositive":"O valor deve ser maior que 0","valuePercentLabel":"Valor (%)","wholeBill":"Conta completa","wholeBillScope":"Conta completa"}')}}]);
package/dist/1877.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"1877.js","sources":["webpack://@openmrs/esm-billing-app/json|/home/runner/work/openmrs-esm-billing-app/openmrs-esm-billing-app/translations/pt_BR.json"],"names":["JSON"],"mappings":"4IAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,u6mB"}
1
+ {"version":3,"file":"1877.js","sources":["webpack://@openmrs/esm-billing-app/json|/home/runner/work/openmrs-esm-billing-app/openmrs-esm-billing-app/translations/pt_BR.json"],"names":["JSON"],"mappings":"2IAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,u6mB"}
package/dist/1899.css ADDED
@@ -0,0 +1 @@
1
+ :root{--brand-01:#005d5d;--brand-02:#004144;--brand-03:#007d79;--bottom-nav-height:4rem;--workspace-header-height:3rem;--tablet-workspace-window-height:calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height:calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-billing__billing-form__tablet___MG9Xm{background-color:#fff;padding:1.5rem 1rem}.-esm-billing__billing-form__desktop___CL1X8{padding:0}.-esm-billing__billing-form__button___miCYp{align-content:flex-start;align-items:baseline;min-width:50%;height:4rem;display:flex}.-esm-billing__billing-form__button___miCYp .cds--inline-loading{min-height:1rem!important}.-esm-billing__billing-form__button___miCYp .cds--inline-loading__text{font-size:unset!important}.-esm-billing__billing-form__mt2___-Jwjw{margin-top:2rem}.-esm-billing__billing-form__searchContent___0uFpS{z-index:1;background-color:#fff;border:1px solid #ddd;width:92%;min-width:230px;position:absolute;overflow:auto}.-esm-billing__billing-form__searchItem___c\+ILG{cursor:pointer;border-bottom:.1rem solid silver}.-esm-billing__billing-form__invalidInput___9XsKm{border:2px solid red}.-esm-billing__billing-form__removeButton___rEw8m{color:#ee0909;cursor:pointer;right:20px}.-esm-billing__billing-form__form___ECl9X{flex-direction:column;justify-content:space-between;height:calc(100vh - 6rem);display:flex}.omrs-breakpoint-lt-desktop .-esm-billing__billing-form__form___ECl9X{background-color:#ededed}.omrs-breakpoint-gt-tablet .-esm-billing__billing-form__form___ECl9X{background-color:#fff}.-esm-billing__billing-form__grid___qXtbW{flex-direction:column;gap:1rem;margin:1rem;display:flex}.-esm-billing__billing-form__row___9-EZa{flex-flow:wrap;gap:1rem;margin:.5rem 0 0;display:flex}.-esm-billing__billing-form__spacer___Eicsm{margin-top:1rem}.-esm-billing__billing-form__existingItemsContainer___cfzXU{background-color:#f4f4f4;border:1px solid #e0e0e0;border-radius:.25rem;padding:1rem}.-esm-billing__billing-form__existingItemsContainer___cfzXU .-esm-billing__billing-form__existingItemRow___RMcu1{border-bottom:1px solid #e0e0e0;justify-content:space-between;align-items:center;padding:.5rem 0;display:flex}.-esm-billing__billing-form__existingItemsContainer___cfzXU .-esm-billing__billing-form__existingItemRow___RMcu1:last-of-type{border-bottom:none}.-esm-billing__billing-form__existingItemsContainer___cfzXU .-esm-billing__billing-form__existingItemRow___RMcu1 .-esm-billing__billing-form__existingItemName___md4qn{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#525252;flex:1}.-esm-billing__billing-form__existingItemsContainer___cfzXU .-esm-billing__billing-form__existingItemRow___RMcu1 .-esm-billing__billing-form__existingItemDetail___uwWSZ{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#525252;flex:none;margin:0 1rem}.-esm-billing__billing-form__existingItemsContainer___cfzXU .-esm-billing__billing-form__existingItemRow___RMcu1 .-esm-billing__billing-form__existingItemTotal___\+vdv7{font-size:var(--cds-heading-compact-01-font-size,.875rem);font-weight:var(--cds-heading-compact-01-font-weight,600);line-height:var(--cds-heading-compact-01-line-height,1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing,.16px);color:#525252;flex:none}.-esm-billing__billing-form__existingItemsContainer___cfzXU .-esm-billing__billing-form__existingItemsSubtotal___abWhv{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);text-align:right;color:#525252;border-top:1px solid #e0e0e0;margin-top:.5rem;padding-top:.75rem}.-esm-billing__billing-form__sectionHeading___f9Y8R{font-size:var(--cds-heading-compact-02-font-size,1rem);font-weight:var(--cds-heading-compact-02-font-weight,600);line-height:var(--cds-heading-compact-02-line-height,1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing,0);color:#525252;margin-bottom:.75rem}.-esm-billing__billing-form__selectedItemsContainer___Wfu4P{margin-top:1rem}.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA{background-color:#f4f4f4;border:1px solid #e0e0e0;border-radius:.25rem;margin-bottom:1rem;padding:1rem}.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemHeader___FwNiq{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemHeader___FwNiq .-esm-billing__billing-form__itemName___jVlbU{color:#525252;font-size:1rem;font-weight:600}.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m{flex-wrap:wrap;align-items:flex-end;gap:1rem;margin-top:.5rem;display:flex}.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m .-esm-billing__billing-form__controlSection___vBeep{flex-direction:column;min-width:0;display:flex}.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m .-esm-billing__billing-form__controlSection___vBeep:first-child{flex:auto;min-width:250px}.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m .-esm-billing__billing-form__controlSection___vBeep:nth-child(2){flex:0 0 140px;width:140px}.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m .-esm-billing__billing-form__controlSection___vBeep:last-child{text-align:right;flex:0 0 180px;width:180px;margin-left:auto}.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m .-esm-billing__billing-form__controlSection___vBeep label{color:#525252;white-space:nowrap;text-overflow:ellipsis;margin-bottom:.5rem;font-size:.875rem;font-weight:500;overflow:hidden}.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m .-esm-billing__billing-form__controlSection___vBeep .cds--list-box,.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m .-esm-billing__billing-form__controlSection___vBeep .cds--number,.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m .-esm-billing__billing-form__controlSection___vBeep .cds--combo-box,.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m .-esm-billing__billing-form__controlSection___vBeep .cds--list-box__wrapper,.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m .-esm-billing__billing-form__controlSection___vBeep .cds--list-box__field{width:100%!important;min-width:0!important;max-width:100%!important}.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m .-esm-billing__billing-form__controlSection___vBeep .-esm-billing__billing-form__priceDisplay___2f6BZ,.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m .-esm-billing__billing-form__controlSection___vBeep .-esm-billing__billing-form__totalDisplay___RJjsD{color:#525252;word-break:break-word;padding:.5rem 0;font-size:.875rem;font-weight:600}.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__grandTotal___eRlcF{text-align:right;color:#525252;background-color:#f4f4f4;border-top:2px solid #0f62fe;margin-top:1rem;padding:1rem;font-size:1.125rem;font-weight:600}@media (width<=1056px){.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m .-esm-billing__billing-form__controlSection___vBeep:nth-child(2){flex:100%;width:100%}}@media (width<=768px){.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA{padding:.75rem}.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m{flex-direction:column;gap:.5rem}.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m .-esm-billing__billing-form__controlSection___vBeep:first-child,.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m .-esm-billing__billing-form__controlSection___vBeep:nth-child(2),.-esm-billing__billing-form__selectedItemsContainer___Wfu4P .-esm-billing__billing-form__itemCard___JpDpA .-esm-billing__billing-form__itemControls___zsB6m .-esm-billing__billing-form__controlSection___vBeep:last-child{flex:100%;width:100%;max-width:100%}}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1899.css","sources":["webpack://@openmrs/esm-billing-app/./node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://@openmrs/esm-billing-app/./src/billing-form/billing-form.scss"],"names":[],"mappings":"AAsDA,sUClDA,sFAKA,uDAIA,iIAOE,2FAIA,iGAKF,yDAIA,mKAUA,iGAMA,uEAIA,0FAMA,qIAOA,+FAIA,2FAIA,kGAOA,+FAOA,4DAIA,gJAME,+NAOE,iJAIA,oaAMA,ubAOA,qbAOF,+bAUF,kUAMA,4EAGE,iNAOE,2OAME,qPAOA,uOAKA,+PAKE,sPAKA,wPAKA,wRAOA,oVAUA,8qCAUA,0lBAaN,iQAYF,uBAKU,mPAUV,sBAEI,yHAGE,4LAKI"}
package/dist/1899.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([["1899"],{11444(e,n,i){i.d(n,{A:()=>s});var t=i(54991),l=i.n(t),a=i(76314),o=i.n(a)()(l());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-billing__billing-form__tablet___depIv{padding:1.5rem 1rem;background-color:#fff}.-esm-billing__billing-form__desktop___XrIGU{padding:0rem}.-esm-billing__billing-form__button___\\+KaHL{height:4rem;display:flex;align-content:flex-start;align-items:baseline;min-width:50%}.-esm-billing__billing-form__button___\\+KaHL .cds--inline-loading{min-height:1rem !important}.-esm-billing__billing-form__button___\\+KaHL .cds--inline-loading__text{font-size:unset !important}.-esm-billing__billing-form__mt2___XSCej{margin-top:2rem}.-esm-billing__billing-form__searchContent___rwtx-{position:absolute;background-color:#fff;min-width:230px;overflow:auto;border:1px solid #ddd;z-index:1;width:92%}.-esm-billing__billing-form__searchItem___gJRX7{border-bottom:.1rem solid;border-bottom-color:silver;cursor:pointer}.-esm-billing__billing-form__invalidInput___-CFhJ{border:2px solid red}.-esm-billing__billing-form__removeButton___JOb\\+t{color:#ee0909;right:20px;cursor:pointer}.-esm-billing__billing-form__form___dOD1L{display:flex;flex-direction:column;justify-content:space-between;height:calc(100vh - 6rem)}.omrs-breakpoint-lt-desktop .-esm-billing__billing-form__form___dOD1L{background-color:#ededed}.omrs-breakpoint-gt-tablet .-esm-billing__billing-form__form___dOD1L{background-color:#fff}.-esm-billing__billing-form__grid___bVIsN{margin:1rem;display:flex;flex-direction:column;gap:1rem}.-esm-billing__billing-form__row___kfkPE{margin:.5rem 0rem 0rem;display:flex;flex-flow:row wrap;gap:1rem}.-esm-billing__billing-form__spacer___5WyoB{margin-top:1rem}.-esm-billing__billing-form__existingItemsContainer___ONfRE{padding:1rem;background-color:#f4f4f4;border:1px solid #e0e0e0;border-radius:.25rem}.-esm-billing__billing-form__existingItemsContainer___ONfRE .-esm-billing__billing-form__existingItemRow___ZDzhJ{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #e0e0e0}.-esm-billing__billing-form__existingItemsContainer___ONfRE .-esm-billing__billing-form__existingItemRow___ZDzhJ:last-of-type{border-bottom:none}.-esm-billing__billing-form__existingItemsContainer___ONfRE .-esm-billing__billing-form__existingItemRow___ZDzhJ .-esm-billing__billing-form__existingItemName___X3S0u{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px);flex:1;color:#525252}.-esm-billing__billing-form__existingItemsContainer___ONfRE .-esm-billing__billing-form__existingItemRow___ZDzhJ .-esm-billing__billing-form__existingItemDetail___LDqAI{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px);flex:0 0 auto;color:#525252;margin:0 1rem}.-esm-billing__billing-form__existingItemsContainer___ONfRE .-esm-billing__billing-form__existingItemRow___ZDzhJ .-esm-billing__billing-form__existingItemTotal___orcdj{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px);flex:0 0 auto;color:#525252}.-esm-billing__billing-form__existingItemsContainer___ONfRE .-esm-billing__billing-form__existingItemsSubtotal___YO4s5{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px);text-align:right;padding-top:.75rem;border-top:1px solid #e0e0e0;margin-top:.5rem;color:#525252}.-esm-billing__billing-form__sectionHeading___HFgo1{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);margin-bottom:.75rem;color:#525252}.-esm-billing__billing-form__selectedItemsContainer___EgCXw{margin-top:1rem}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa{border:1px solid #e0e0e0;border-radius:.25rem;padding:1rem;margin-bottom:1rem;background-color:#f4f4f4}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemHeader___IPVIh{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemHeader___IPVIh .-esm-billing__billing-form__itemName___0pvcY{font-weight:600;font-size:1rem;color:#525252}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO{display:flex;flex-wrap:wrap;gap:1rem;margin-top:.5rem;align-items:flex-end}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb{display:flex;flex-direction:column;min-width:0}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb:first-child{flex:1 1 auto;min-width:250px}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb:nth-child(2){flex:0 0 140px;width:140px}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb:last-child{flex:0 0 180px;width:180px;margin-left:auto;text-align:right}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb label{font-size:.875rem;font-weight:500;margin-bottom:.5rem;color:#525252;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb .cds--list-box,.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb .cds--number,.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb .cds--combo-box,.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb .cds--list-box__wrapper,.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb .cds--list-box__field{width:100% !important;max-width:100% !important;min-width:0 !important}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb .-esm-billing__billing-form__priceDisplay___MN5Zc,.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb .-esm-billing__billing-form__totalDisplay___mNY6D{font-size:.875rem;font-size:.875rem;font-weight:600;color:#525252;padding:.5rem 0;word-break:break-word}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__grandTotal___a5c-8{text-align:right;padding:1rem;border-top:2px solid #0f62fe;margin-top:1rem;background-color:#f4f4f4;font-size:1.125rem;font-weight:600;color:#525252}@media(max-width: 1056px){.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb:nth-child(2){flex:1 1 100%;width:100%}}@media(max-width: 768px){.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa{padding:.75rem}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO{flex-direction:column;gap:.5rem}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb:first-child,.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb:nth-child(2),.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb:last-child{flex:1 1 100%;width:100%;max-width:100%}}","",{version:3,sources:["webpack://./node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/billing-form/billing-form.scss","webpack://./node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,4CACE,mBAAA,CACA,qBDHM,CCMR,6CACE,YAAA,CAGF,6CACE,WC0CW,CDzCX,YAAA,CACA,wBAAA,CACA,oBAAA,CACA,aAAA,CAEA,kEACE,0BAAA,CAGF,wEACE,0BAAA,CAIJ,yCACE,eCWW,CDRb,mDACE,iBAAA,CACA,qBAAA,CACA,eAAA,CACA,aAAA,CACA,qBAAA,CACA,SAAA,CACA,SAAA,CAGF,gDACE,yBAA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JP,oBAAA,CAAA,gNACE,YAAA,CACA,qBAAA,CACA,WAAA,CAEA,4NACE,aAAA,CACA,eAAA,CAGF,6NACE,cAAA,CACA,WAAA,CAGF,2NACE,cAAA,CACA,WAAA,CACA,gBAAA,CACA,gBAAA,CAGF,sNACE,iBAAA,CACA,eAAA,CACA,mBCjLG,CDkLH,aDhMA,CCiMA,kBAAA,CACA,eAAA,CACA,sBAAA,CAGF,0mCAKE,qBAAA,CACA,yBAAA,CACA,sBAAA,CAGF,ogBAEE,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,aDrNA,CCsNA,eAAA,CACA,qBAAA,CAMR,4GACE,gBAAA,CACA,YCvMS,CDwMT,4BAAA,CACA,eCzMS,CD0MT,wBDvOI,CCwOJ,kBAAA,CACA,eAAA,CACA,aDrOM,CCyOV,0BAKU,6NACE,aAAA,CACA,UAAA,CAAA,CAQZ,yBAEI,0GACE,cCxOO,CD0OP,4JACE,qBAAA,CACA,SCjPK,CDoPH,opBAGE,aAAA,CACA,UAAA,CACA,cAAA,CAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.tablet {\n padding: layout.$spacing-06 layout.$spacing-05;\n background-color: $ui-02;\n}\n\n.desktop {\n padding: 0rem;\n}\n\n.button {\n height: layout.$spacing-10;\n display: flex;\n align-content: flex-start;\n align-items: baseline;\n min-width: 50%;\n\n :global(.cds--inline-loading) {\n min-height: layout.$spacing-05 !important;\n }\n\n :global(.cds--inline-loading__text) {\n font-size: unset !important;\n }\n}\n\n.mt2 {\n margin-top: layout.$spacing-07;\n}\n\n.searchContent {\n position: absolute;\n background-color: #fff;\n min-width: 230px;\n overflow: auto;\n border: 1px solid #ddd;\n z-index: 1;\n width: 92%;\n}\n\n.searchItem {\n border-bottom: 0.1rem solid;\n border-bottom-color: silver;\n cursor: pointer;\n}\n\n.invalidInput {\n border: 2px solid red;\n}\n\n.removeButton {\n color: #ee0909;\n right: 20px;\n cursor: pointer;\n}\n\n.form {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: calc(100vh - 6rem);\n}\n\n:global(.omrs-breakpoint-lt-desktop) .form {\n background-color: #ededed;\n}\n\n:global(.omrs-breakpoint-gt-tablet) .form {\n background-color: $ui-02;\n}\n\n.grid {\n margin: layout.$spacing-05;\n display: flex;\n flex-direction: column;\n gap: layout.$spacing-05;\n}\n\n.row {\n margin: layout.$spacing-03 0rem 0rem;\n display: flex;\n flex-flow: row wrap;\n gap: layout.$spacing-05;\n}\n\n.spacer {\n margin-top: layout.$spacing-05;\n}\n\n.existingItemsContainer {\n padding: layout.$spacing-05;\n background-color: $ui-01;\n border: 1px solid $ui-03;\n border-radius: layout.$spacing-02;\n\n .existingItemRow {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: layout.$spacing-03 0;\n border-bottom: 1px solid $ui-03;\n\n &:last-of-type {\n border-bottom: none;\n }\n\n .existingItemName {\n @include type.type-style('body-compact-01');\n flex: 1;\n color: $text-02;\n }\n\n .existingItemDetail {\n @include type.type-style('body-compact-01');\n flex: 0 0 auto;\n color: $text-02;\n margin: 0 layout.$spacing-05;\n }\n\n .existingItemTotal {\n @include type.type-style('heading-compact-01');\n flex: 0 0 auto;\n color: $text-02;\n }\n }\n\n .existingItemsSubtotal {\n @include type.type-style('body-compact-01');\n text-align: right;\n padding-top: layout.$spacing-04;\n border-top: 1px solid $ui-03;\n margin-top: layout.$spacing-03;\n color: $text-02;\n }\n}\n\n.sectionHeading {\n @include type.type-style('heading-compact-02');\n margin-bottom: layout.$spacing-04;\n color: $text-02;\n}\n\n.selectedItemsContainer {\n margin-top: layout.$spacing-05;\n \n .itemCard {\n border: 1px solid $ui-03;\n border-radius: layout.$spacing-02;\n padding: layout.$spacing-05;\n margin-bottom: layout.$spacing-05;\n background-color: $ui-01;\n \n .itemHeader {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: layout.$spacing-05;\n \n .itemName {\n font-weight: 600;\n font-size: 1rem;\n color: $text-02;\n }\n }\n \n .itemControls {\n display: flex;\n flex-wrap: wrap;\n gap: layout.$spacing-05;\n margin-top: layout.$spacing-03;\n align-items: flex-end; .controlSection {\n display: flex;\n flex-direction: column;\n min-width: 0;\n \n &:first-child {\n flex: 1 1 auto;\n min-width: 250px;\n }\n \n &:nth-child(2) {\n flex: 0 0 140px;\n width: 140px;\n }\n \n &:last-child {\n flex: 0 0 180px;\n width: 180px;\n margin-left: auto;\n text-align: right;\n }\n \n label {\n font-size: 0.875rem;\n font-weight: 500;\n margin-bottom: layout.$spacing-03;\n color: $text-02;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n \n :global(.cds--list-box),\n :global(.cds--number),\n :global(.cds--combo-box),\n :global(.cds--list-box__wrapper),\n :global(.cds--list-box__field) {\n width: 100% !important;\n max-width: 100% !important;\n min-width: 0 !important;\n }\n \n .priceDisplay,\n .totalDisplay {\n font-size: 0.875rem;\n font-size: 0.875rem;\n font-weight: 600;\n color: $text-02;\n padding: layout.$spacing-03 0;\n word-break: break-word;\n }\n }\n }\n }\n \n .grandTotal {\n text-align: right;\n padding: layout.$spacing-05;\n border-top: 2px solid $interactive-01;\n margin-top: layout.$spacing-05;\n background-color: $ui-01;\n font-size: 1.125rem;\n font-weight: 600;\n color: $text-02;\n }\n}\n\n@media (max-width: 1056px) {\n .selectedItemsContainer {\n .itemCard {\n .itemControls {\n .controlSection {\n &:nth-child(2) {\n flex: 1 1 100%;\n width: 100%;\n }\n }\n }\n }\n }\n}\n\n@media (max-width: 768px) {\n .selectedItemsContainer {\n .itemCard {\n padding: layout.$spacing-04;\n \n .itemControls {\n flex-direction: column;\n gap: layout.$spacing-03;\n \n .controlSection {\n &:first-child,\n &:nth-child(2),\n &:last-child {\n flex: 1 1 100%;\n width: 100%;\n max-width: 100%;\n }\n }\n }\n }\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),o.locals={tablet:"-esm-billing__billing-form__tablet___depIv",desktop:"-esm-billing__billing-form__desktop___XrIGU",button:"-esm-billing__billing-form__button___+KaHL",mt2:"-esm-billing__billing-form__mt2___XSCej",searchContent:"-esm-billing__billing-form__searchContent___rwtx-",searchItem:"-esm-billing__billing-form__searchItem___gJRX7",invalidInput:"-esm-billing__billing-form__invalidInput___-CFhJ",removeButton:"-esm-billing__billing-form__removeButton___JOb+t",form:"-esm-billing__billing-form__form___dOD1L",grid:"-esm-billing__billing-form__grid___bVIsN",row:"-esm-billing__billing-form__row___kfkPE",spacer:"-esm-billing__billing-form__spacer___5WyoB",existingItemsContainer:"-esm-billing__billing-form__existingItemsContainer___ONfRE",existingItemRow:"-esm-billing__billing-form__existingItemRow___ZDzhJ",existingItemName:"-esm-billing__billing-form__existingItemName___X3S0u",existingItemDetail:"-esm-billing__billing-form__existingItemDetail___LDqAI",existingItemTotal:"-esm-billing__billing-form__existingItemTotal___orcdj",existingItemsSubtotal:"-esm-billing__billing-form__existingItemsSubtotal___YO4s5",sectionHeading:"-esm-billing__billing-form__sectionHeading___HFgo1",selectedItemsContainer:"-esm-billing__billing-form__selectedItemsContainer___EgCXw",itemCard:"-esm-billing__billing-form__itemCard___-qABa",itemHeader:"-esm-billing__billing-form__itemHeader___IPVIh",itemName:"-esm-billing__billing-form__itemName___0pvcY",itemControls:"-esm-billing__billing-form__itemControls___T4bKO",controlSection:"-esm-billing__billing-form__controlSection___OAlFb",priceDisplay:"-esm-billing__billing-form__priceDisplay___MN5Zc",totalDisplay:"-esm-billing__billing-form__totalDisplay___mNY6D",grandTotal:"-esm-billing__billing-form__grandTotal___a5c-8"};let s=o},50662(e,n,i){i.r(n),i.d(n,{default:()=>z});var t=i(15275),l=i.n(t),a=i(38395),o=i(59324),s=i(76800),r=i(43137),c=i(46199),p=i(36994),g=i(87661),m=i(32373),d=i(95084),_=i(85072),b=i.n(_),f=i(97825),u=i.n(f),h=i(77659),A=i.n(h),y=i(55056),C=i.n(y),$=i(10540),x=i.n($),w=i(41113),v=i.n(w),k=i(11444),E={};E.styleTagTransform=v(),E.setAttributes=C(),E.insert=A().bind(null,"head"),E.domAPI=u(),E.insertStyleElement=x(),b()(k.A,E);let I=k.A&&k.A.locals?k.A.locals:void 0,z=({workspaceProps:{patientUuid:e,onMutate:n,billUuid:i},closeWorkspace:_})=>{let b="tablet"===(0,r.useLayoutType)(),{t:f}=(0,a.useTranslation)(),{mutate:u}=(0,o.iX)(),{defaultCurrency:h,postBilledItems:A}=(0,r.useConfig)(),[y,C]=(0,t.useState)(!1),[$,x]=(0,t.useState)([]),{data:w,error:v,isLoading:k}=(0,c.ly)(),{bill:E,isLoading:z,error:B}=(0,c.DX)(i),{billableServices:D,isLoading:M,error:N}=(0,p.ly)(),S=!!i&&!!E,{activeVisit:O}=(0,r.useVisit)(e),q=(0,t.useMemo)(()=>S?(0,m.Zz)(E.lineItems):0,[S,E?.lineItems]),T=(0,t.useMemo)(()=>{if(!w)return[];if(!S)return w;let e=new Set((E.lineItems??[]).flatMap(e=>[e.billableService,e.item].filter(Boolean)));return w.filter(n=>n.name&&!e.has(n.name))},[w,S,E?.lineItems]),F=async()=>{if(y||0===$.length||S&&(M||N)||!(()=>{if(0===$.length)return!1;for(let e of $){if(e.availablePaymentMethods&&e.availablePaymentMethods.length>1&&!e.selectedPaymentMethod)return(0,r.showSnackbar)({title:f("validationError","Validation error"),subtitle:f("paymentMethodRequired","Payment method is required for all items"),kind:"error"}),!1;if(!e.quantity||e.quantity<1)return!1}return!0})())return;C(!0);let i=$.map(e=>({quantity:e.quantity,price:e.price,lineItemOrder:0,status:d.zk.PENDING,billableService:e.uuid}));try{if(S){let e=E.lineItems.map(e=>{let n=(0,g.e)(D,e.billableService||e.item);if(!n)throw Error(f("serviceResolutionError",'Could not resolve service "{{service}}"',{service:e.billableService||e.item}));return{uuid:e.uuid,quantity:e.quantity,price:e.price,lineItemOrder:e.lineItemOrder,status:e.status,billableService:n,priceName:e.priceName,priceUuid:e.priceUuid}}),n={cashPoint:E.cashPointUuid,cashier:E.cashier.uuid,lineItems:[...e,...i],patient:E.patientUuid,status:E.status,uuid:E.uuid};await (0,c.FR)(n)}else{let n={cashPoint:A.cashPoint,cashier:A.cashier,lineItems:i,payments:[],patient:e,status:d.ih.PENDING,...O?.uuid&&{visit:O.uuid}};await (0,c.Xn)(n)}_({discardUnsavedChanges:!0}),n?.(),u((0,c.Z5)(e)),(0,r.showSnackbar)({title:S?f("itemsAddedToBill","Items added to bill"):f("billProcessed","Bill processed"),subtitle:S?f("itemsAddedToBillSuccessfully","Items have been added to the bill successfully"):f("billProcessedSuccessfully","Bill processed successfully"),kind:"success"})}catch(e){(0,r.showSnackbar)({title:f("billProcessingError","Bill processing error"),kind:"error",subtitle:e instanceof Error?e.message:f("unknownBillError","An unexpected error occurred")})}finally{C(!1)}};return l().createElement(r.Workspace2,{title:S?f("addItemsToBill","Add items to bill"):f("addBillItems","Add bill items"),hasUnsavedChanges:$.length>0},l().createElement(s.lVW,{className:I.form,onSubmit:e=>{e.preventDefault(),F()}},l().createElement("div",{className:I.grid},i&&z?l().createElement(s.OuH,{description:(0,r.getCoreTranslation)("loading")+"..."}):i&&B?l().createElement(s.jeF,{kind:"error",lowContrast:!0,title:f("errorLoadingBill","Error loading bill"),subtitle:B?.message}):S&&N?l().createElement(s.jeF,{kind:"error",lowContrast:!0,title:f("errorLoadingBillableServices","Error loading billable services"),subtitle:N?.message}):l().createElement(l().Fragment,null,S&&l().createElement("div",{className:I.existingItemsContainer},l().createElement("h4",{className:I.sectionHeading},f("existingItems","Existing items")),E.lineItems.map(e=>l().createElement("div",{key:e.uuid,className:I.existingItemRow},l().createElement("span",{className:I.existingItemName},e.billableService||e.item||e.display),l().createElement("span",{className:I.existingItemDetail},e.quantity," x ",(0,m.aL)(e.price,h)),l().createElement("span",{className:I.existingItemTotal},(0,m.aL)(e.price*e.quantity,h)))),l().createElement("div",{className:I.existingItemsSubtotal},l().createElement("strong",null,f("subtotal","Subtotal"),": ",(0,m.aL)(q,h)))),S&&l().createElement("h4",{className:I.sectionHeading},f("newItems","New items")),k?l().createElement(s.OuH,{description:(0,r.getCoreTranslation)("loading")+"..."}):v?l().createElement(s.jeF,{kind:"error",lowContrast:!0,title:f("errorLoadingBillableServices","Error loading billable services"),subtitle:v?.message}):l().createElement(s.a32,{id:"searchItems",onChange:({selectedItem:e})=>(e=>{if(!e)return;let n=$.find(n=>n.uuid===e.uuid);if(n){let i={...n,quantity:n.quantity+1};x([...$].map(n=>n.uuid===e.uuid?i:n));return}let i=e.servicePrices||[],t=0,l=null;if(1===i.length){let e=i[0].price;t="number"==typeof e?e:parseFloat(e),l=i[0]}x([...$,{uuid:e.uuid,display:e.name,quantity:1,price:t,billableService:e.uuid,status:d.zk.PENDING,lineItemOrder:0,selectedPaymentMethod:l,availablePaymentMethods:i}])})(e),itemToString:e=>e?.name||"",items:T,titleText:f("searchItems","Search items and services")})),$&&$.length>0&&l().createElement("div",{className:I.selectedItemsContainer},l().createElement("h4",{className:I.sectionHeading},f("selectedItems","Selected items")),$.map(e=>l().createElement("div",{key:e.uuid,className:I.itemCard},l().createElement("div",{className:I.itemHeader},l().createElement("span",{className:I.itemName},e.display),l().createElement(s.K0,{align:"top-end",kind:"ghost",label:f("remove","Remove"),onClick:()=>{var n;return n=e.uuid,void x([...$].filter(e=>e.uuid!==n))}},l().createElement(r.TrashCanIcon,{size:16}))),l().createElement("div",{className:I.itemControls},e.availablePaymentMethods&&e.availablePaymentMethods.length>1?l().createElement("div",{className:I.controlSection},l().createElement("label",null,f("selectPaymentMethod","Select payment method")),l().createElement(s.a32,{id:`payment-method-${e.uuid}`,items:e.availablePaymentMethods,itemToString:e=>e?`${e.name} - ${(0,m.aL)("number"==typeof e.price?e.price:parseFloat(e.price),h)}`:"",selectedItem:e.selectedPaymentMethod,onChange:({selectedItem:n})=>{var i;n&&(i=e.uuid,x([...$].map(e=>e.uuid===i?{...e,selectedPaymentMethod:n,price:"number"==typeof n.price?n.price:parseFloat(n.price),priceName:n.name,priceUuid:n.uuid}:e)))},placeholder:f("selectPaymentMethod","Select payment method"),titleText:""})):l().createElement("div",{className:I.controlSection},l().createElement("label",null,f("unitPrice","Unit price")),l().createElement("span",{className:I.priceDisplay},(0,m.aL)(e.price,h))),l().createElement("div",{className:I.controlSection},l().createElement("label",null,f("quantity","Quantity")),l().createElement(s.Q7x,{allowEmpty:!0,disableWheel:!0,hideSteppers:!0,id:`quantity-${e.uuid}`,invalid:!e.quantity||e.quantity<1,invalidText:f("quantityMustBeAtLeastOne","Quantity must be at least 1"),onChange:(n,{value:i})=>{var t,l;let a=parseFloat(String(i));t=e.uuid,l=isNaN(a)?0:a,x([...$].map(e=>e.uuid===t?{...e,quantity:l}:e))},value:e.quantity||""})),l().createElement("div",{className:I.controlSection},l().createElement("label",null,f("total","Total")),l().createElement("span",{className:I.totalDisplay},(0,m.aL)(e.price*e.quantity,h)))))),l().createElement("div",{className:I.grandTotal},l().createElement("strong",null,f("grandTotal","Grand total"),":"," ",(0,m.aL)(q+(0,m.Zz)($),h))))),l().createElement(s.Te$,{className:b?I.tablet:I.desktop},l().createElement(s.$nd,{className:I.button,kind:"secondary",disabled:y,onClick:()=>_({discardUnsavedChanges:!1})},f("discard","Discard")),l().createElement(s.$nd,{className:I.button,kind:"primary",disabled:y||0===$.length||S&&M,type:"submit"},y?l().createElement(s.OuH,{description:f("saving","Saving")+"..."}):f("saveAndClose","Save and close")))))}}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([["1899"],{662(e,t,i){i.r(t),i.d(t,{default:()=>h});var l=i(5275),a=i.n(l),n=i(8395),s=i(9324),r=i(6800),m=i(3137),c=i(6199),o=i(6994),d=i(7661),u=i(2373),_=i(5084);let b="-esm-billing__billing-form__button___miCYp",g="-esm-billing__billing-form__sectionHeading___f9Y8R",p="-esm-billing__billing-form__controlSection___vBeep",h=({workspaceProps:{patientUuid:e,onMutate:t,billUuid:i},closeWorkspace:h})=>{let y="tablet"===(0,m.useLayoutType)(),{t:v}=(0,n.useTranslation)(),{mutate:E}=(0,s.iX)(),{defaultCurrency:f,postBilledItems:N}=(0,m.useConfig)(),[I,S]=(0,l.useState)(!1),[P,k]=(0,l.useState)([]),{data:C,error:q,isLoading:w}=(0,c.ly)(),{bill:T,isLoading:M,error:B}=(0,c.DX)(i),{billableServices:L,isLoading:x,error:D}=(0,o.ly)(),F=!!i&&!!T,{activeVisit:U}=(0,m.useVisit)(e),R=(0,l.useMemo)(()=>F?(0,u.Zz)(T.lineItems):0,[F,T?.lineItems]),A=(0,l.useMemo)(()=>{if(!C)return[];if(!F)return C;let e=new Set((T.lineItems??[]).flatMap(e=>[e.billableService,e.item].filter(Boolean)));return C.filter(t=>t.name&&!e.has(t.name))},[C,F,T?.lineItems]),O=async()=>{if(I||0===P.length||F&&(x||D)||!(()=>{if(0===P.length)return!1;for(let e of P){if(e.availablePaymentMethods&&e.availablePaymentMethods.length>1&&!e.selectedPaymentMethod)return(0,m.showSnackbar)({title:v("validationError","Validation error"),subtitle:v("paymentMethodRequired","Payment method is required for all items"),kind:"error"}),!1;if(!e.quantity||e.quantity<1)return!1}return!0})())return;S(!0);let i=P.map(e=>({quantity:e.quantity,price:e.price,lineItemOrder:0,status:_.zk.PENDING,billableService:e.uuid}));try{if(F){let e=T.lineItems.map(e=>{let t=(0,d.e)(L,e.billableService||e.item);if(!t)throw Error(v("serviceResolutionError",'Could not resolve service "{{service}}"',{service:e.billableService||e.item}));return{uuid:e.uuid,quantity:e.quantity,price:e.price,lineItemOrder:e.lineItemOrder,status:e.status,billableService:t,priceName:e.priceName,priceUuid:e.priceUuid}}),t={cashPoint:T.cashPointUuid,cashier:T.cashier.uuid,lineItems:[...e,...i],patient:T.patientUuid,status:T.status,uuid:T.uuid};await (0,c.FR)(t)}else{let t={cashPoint:N.cashPoint,cashier:N.cashier,lineItems:i,payments:[],patient:e,status:_.ih.PENDING,...U?.uuid&&{visit:U.uuid}};await (0,c.Xn)(t)}h({discardUnsavedChanges:!0}),t?.(),E((0,c.Z5)(e)),(0,m.showSnackbar)({title:F?v("itemsAddedToBill","Items added to bill"):v("billProcessed","Bill processed"),subtitle:F?v("itemsAddedToBillSuccessfully","Items have been added to the bill successfully"):v("billProcessedSuccessfully","Bill processed successfully"),kind:"success"})}catch(e){(0,m.showSnackbar)({title:v("billProcessingError","Bill processing error"),kind:"error",subtitle:e instanceof Error?e.message:v("unknownBillError","An unexpected error occurred")})}finally{S(!1)}};return a().createElement(m.Workspace2,{title:F?v("addItemsToBill","Add items to bill"):v("addBillItems","Add bill items"),hasUnsavedChanges:P.length>0},a().createElement(r.lVW,{className:"-esm-billing__billing-form__form___ECl9X",onSubmit:e=>{e.preventDefault(),O()}},a().createElement("div",{className:"-esm-billing__billing-form__grid___qXtbW"},i&&M?a().createElement(r.OuH,{description:(0,m.getCoreTranslation)("loading")+"..."}):i&&B?a().createElement(r.jeF,{kind:"error",lowContrast:!0,title:v("errorLoadingBill","Error loading bill"),subtitle:B?.message}):F&&D?a().createElement(r.jeF,{kind:"error",lowContrast:!0,title:v("errorLoadingBillableServices","Error loading billable services"),subtitle:D?.message}):a().createElement(a().Fragment,null,F&&a().createElement("div",{className:"-esm-billing__billing-form__existingItemsContainer___cfzXU"},a().createElement("h4",{className:g},v("existingItems","Existing items")),T.lineItems.map(e=>a().createElement("div",{key:e.uuid,className:"-esm-billing__billing-form__existingItemRow___RMcu1"},a().createElement("span",{className:"-esm-billing__billing-form__existingItemName___md4qn"},e.billableService||e.item||e.display),a().createElement("span",{className:"-esm-billing__billing-form__existingItemDetail___uwWSZ"},e.quantity," x ",(0,u.aL)(e.price,f)),a().createElement("span",{className:"-esm-billing__billing-form__existingItemTotal___+vdv7"},(0,u.aL)(e.price*e.quantity,f)))),a().createElement("div",{className:"-esm-billing__billing-form__existingItemsSubtotal___abWhv"},a().createElement("strong",null,v("subtotal","Subtotal"),": ",(0,u.aL)(R,f)))),F&&a().createElement("h4",{className:g},v("newItems","New items")),w?a().createElement(r.OuH,{description:(0,m.getCoreTranslation)("loading")+"..."}):q?a().createElement(r.jeF,{kind:"error",lowContrast:!0,title:v("errorLoadingBillableServices","Error loading billable services"),subtitle:q?.message}):a().createElement(r.a32,{id:"searchItems",onChange:({selectedItem:e})=>(e=>{if(!e)return;let t=P.find(t=>t.uuid===e.uuid);if(t){let i={...t,quantity:t.quantity+1};k([...P].map(t=>t.uuid===e.uuid?i:t));return}let i=e.servicePrices||[],l=0,a=null;if(1===i.length){let e=i[0].price;l="number"==typeof e?e:parseFloat(e),a=i[0]}k([...P,{uuid:e.uuid,display:e.name,quantity:1,price:l,billableService:e.uuid,status:_.zk.PENDING,lineItemOrder:0,selectedPaymentMethod:a,availablePaymentMethods:i}])})(e),itemToString:e=>e?.name||"",items:A,titleText:v("searchItems","Search items and services")})),P&&P.length>0&&a().createElement("div",{className:"-esm-billing__billing-form__selectedItemsContainer___Wfu4P"},a().createElement("h4",{className:g},v("selectedItems","Selected items")),P.map(e=>a().createElement("div",{key:e.uuid,className:"-esm-billing__billing-form__itemCard___JpDpA"},a().createElement("div",{className:"-esm-billing__billing-form__itemHeader___FwNiq"},a().createElement("span",{className:"-esm-billing__billing-form__itemName___jVlbU"},e.display),a().createElement(r.K0,{align:"top-end",kind:"ghost",label:v("remove","Remove"),onClick:()=>{var t;return t=e.uuid,void k([...P].filter(e=>e.uuid!==t))}},a().createElement(m.TrashCanIcon,{size:16}))),a().createElement("div",{className:"-esm-billing__billing-form__itemControls___zsB6m"},e.availablePaymentMethods&&e.availablePaymentMethods.length>1?a().createElement("div",{className:p},a().createElement("label",null,v("selectPaymentMethod","Select payment method")),a().createElement(r.a32,{id:`payment-method-${e.uuid}`,items:e.availablePaymentMethods,itemToString:e=>e?`${e.name} - ${(0,u.aL)("number"==typeof e.price?e.price:parseFloat(e.price),f)}`:"",selectedItem:e.selectedPaymentMethod,onChange:({selectedItem:t})=>{var i;t&&(i=e.uuid,k([...P].map(e=>e.uuid===i?{...e,selectedPaymentMethod:t,price:"number"==typeof t.price?t.price:parseFloat(t.price),priceName:t.name,priceUuid:t.uuid}:e)))},placeholder:v("selectPaymentMethod","Select payment method"),titleText:""})):a().createElement("div",{className:p},a().createElement("label",null,v("unitPrice","Unit price")),a().createElement("span",{className:"-esm-billing__billing-form__priceDisplay___2f6BZ"},(0,u.aL)(e.price,f))),a().createElement("div",{className:p},a().createElement("label",null,v("quantity","Quantity")),a().createElement(r.Q7x,{allowEmpty:!0,disableWheel:!0,hideSteppers:!0,id:`quantity-${e.uuid}`,invalid:!e.quantity||e.quantity<1,invalidText:v("quantityMustBeAtLeastOne","Quantity must be at least 1"),onChange:(t,{value:i})=>{var l,a;let n=parseFloat(String(i));l=e.uuid,a=isNaN(n)?0:n,k([...P].map(e=>e.uuid===l?{...e,quantity:a}:e))},value:e.quantity||""})),a().createElement("div",{className:p},a().createElement("label",null,v("total","Total")),a().createElement("span",{className:"-esm-billing__billing-form__totalDisplay___RJjsD"},(0,u.aL)(e.price*e.quantity,f)))))),a().createElement("div",{className:"-esm-billing__billing-form__grandTotal___eRlcF"},a().createElement("strong",null,v("grandTotal","Grand total"),":"," ",(0,u.aL)(R+(0,u.Zz)(P),f))))),a().createElement(r.Te$,{className:y?"-esm-billing__billing-form__tablet___MG9Xm":"-esm-billing__billing-form__desktop___CL1X8"},a().createElement(r.$nd,{className:b,kind:"secondary",disabled:I,onClick:()=>h({discardUnsavedChanges:!1})},v("discard","Discard")),a().createElement(r.$nd,{className:b,kind:"primary",disabled:I||0===P.length||F&&x,type:"submit"},I?a().createElement(r.OuH,{description:v("saving","Saving")+"..."}):v("saveAndClose","Save and close")))))}}}]);
package/dist/1899.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"1899.js","sources":["webpack://@openmrs/esm-billing-app/./src/billing-form/billing-form.scss","webpack://@openmrs/esm-billing-app/./src/billing-form/billing-form.scss?4c60","webpack://@openmrs/esm-billing-app/./src/billing-form/billing-form.workspace.tsx"],"names":["patientUuid","onMutate","billUuid","closeWorkspace","isTablet","useLayoutType","t","useTranslation","swrMutate","useSWRConfig","defaultCurrency","postBilledItems","useConfig","isSubmitting","setIsSubmitting","useState","selectedItems","setSelectedItems","data","error","isLoading","useBillableServices","bill","isLoadingBill","billError","useBill","billableServices","isLoadingBillableServices","billableServicesError","useBillableServicesList","isEditMode","activeVisit","useVisit","existingItemsTotal","useMemo","calculateTotalAmount","availableBillableItems","existingNames","Set","lineItems","lineItem","Boolean","item","postBillItems","validateSelectedItems","showSnackbar","newLineItems","BillLineItemStatus","existingLineItems","serviceUuid","getBillableServiceUuid","Error","payload","updateBillItems","BillStatus","processBillItems","patientPaymentStatusCacheKey","err","Workspace2","Form","styles","event","InlineLoading","getCoreTranslation","InlineNotification","convertToCurrency","ComboBox","selectBillableItem","existingItem","selectedItem","updatedItem","availablePaymentMethods","defaultPrice","selectedPaymentMethod","price","parseFloat","IconButton","uuid","TrashCanIcon","method","itemUuid","paymentMethod","NumberInput","_","value","quantity","number","String","isNaN","ButtonSet","Button"],"mappings":"oMAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,6gUAA8gU,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,kEAAkE,iDAAiD,uEAAuE,0DAA0D,CAAC,MAAQ,EAAE,CAAC,SAAW,w7DAAw7D,eAAiB,CAAC,g/DAAg/D,2rLAA2rL,05DAA05D,u8uBAAu8uB,CAAC,WAAa,EAAE,EAAE,EAEr06C,EAAwB,MAAM,C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ss?2862","webpack://@openmrs/esm-billing-app/./src/billing-form/billing-form.workspace.tsx"],"names":["patientUuid","onMutate","billUuid","closeWorkspace","isTablet","useLayoutType","t","useTranslation","swrMutate","useSWRConfig","defaultCurrency","postBilledItems","useConfig","isSubmitting","setIsSubmitting","useState","selectedItems","setSelectedItems","data","error","isLoading","useBillableServices","bill","isLoadingBill","billError","useBill","billableServices","isLoadingBillableServices","billableServicesError","useBillableServicesList","isEditMode","activeVisit","useVisit","existingItemsTotal","useMemo","calculateTotalAmount","availableBillableItems","existingNames","Set","lineItems","lineItem","Boolean","item","postBillItems","validateSelectedItems","showSnackbar","newLineItems","BillLineItemStatus","existingLineItems","serviceUuid","getBillableServiceUuid","Error","payload","updateBillItems","BillStatus","processBillItems","patientPaymentStatusCacheKey","err","Workspace2","Form","event","InlineLoading","getCoreTranslation","InlineNotification","convertToCurrency","ComboBox","selectBillableItem","existingItem","selectedItem","updatedItem","availablePaymentMethods","defaultPrice","selectedPaymentMethod","price","parseFloat","IconButton","uuid","TrashCanIcon","method","itemUuid","paymentMethod","NumberInput","_","value","quantity","number","String","isNaN","ButtonSet","Button"],"mappings":"6RACA,MAAuI,+CAAohC,uDAAgZ,qDC8b3iD,EAvY2E,CAAC,CAC1E,eAAgB,CAAEA,YAAAA,CAAW,CAAEC,SAAAA,CAAQ,CAAEC,SAAAA,CAAQ,CAAE,CACnDC,eAAAA,CAAc,CACf,IACC,IAAMC,EAAWC,AAAoB,WAApBA,AAAAA,GAAAA,EAAAA,aAAAA,AAAAA,IACX,CAAEC,EAAAA,CAAC,CAAE,CAAGC,AAAAA,GAAAA,EAAAA,cAAAA,AAAAA,IACR,CAAE,OAAQC,CAAS,CAAE,CAAGC,AAAAA,GAAAA,EAAAA,EAAAA,AAAAA,IACxB,CAAEC,gBAAAA,CAAe,CAAEC,gBAAAA,CAAe,CAAE,CAAGC,AAAAA,GAAAA,EAAAA,SAAAA,AAAAA,IACvC,CAACC,EAAcC,EAAgB,CAAGC,AAAAA,GA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