update switch providers and nama provider. fix original send
This commit is contained in:
@@ -150,12 +150,6 @@ export class SharedSaleInvoiceCreateService {
|
||||
const rawPayments = (paymentsData || {}) as Record<string, unknown>
|
||||
const terminalInfo = rawPayments.terminals as TerminalPaymentInfo | undefined
|
||||
|
||||
console.log(
|
||||
'terminalInfo0',
|
||||
rawPayments.terminals?.[0]?.customer_card_no,
|
||||
terminalInfo,
|
||||
)
|
||||
|
||||
const payments: NormalizedPayment[] = Object.entries(rawPayments)
|
||||
.filter(([key, value]) => key !== 'terminals' && value && Number(value) > 0)
|
||||
.map(([key, value]) => ({
|
||||
|
||||
Reference in New Issue
Block a user