File tree Expand file tree Collapse file tree
src/components/SettlementButton Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -298,6 +298,7 @@ function SettlementButton({
298298
299299 if ( isInvoiceReport ) {
300300 const isCurrencySupported = isCurrencySupportedForDirectReimbursement ( currency as CurrencyType ) ;
301+ console . log ( { currency} )
301302 const getInvoicesOptions = ( payAsBusiness : boolean ) => {
302303 return [
303304 ...( isCurrencySupported ? getPaymentSubitems ( payAsBusiness ) : [ ] ) ,
@@ -540,7 +541,7 @@ function SettlementButton({
540541 return false ;
541542 } ) ;
542543
543- const shouldUseSplitButton = hasPreferredPaymentMethod || ! ! lastPaymentPolicy || isInvoiceReport || ( isExpenseReportUtil ( iouReport ) && hasIntentToPay ) ;
544+ const shouldUseSplitButton = hasPreferredPaymentMethod || ! ! lastPaymentPolicy || ( ( isInvoiceReport || isExpenseReportUtil ( iouReport ) ) && hasIntentToPay ) ;
544545
545546 return (
546547 < KYCWall
You can’t perform that action at this time.
0 commit comments