Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titlepayment-method-flat-list-with-button/payment-method-flat-list-with-button.tsx
Code Block
import {
  TICKET_RESTAURANT_PAYMENT_METHOD_PLACEHOLDER,
} from 'state/payment/constants';
Code Block
// Exclude .... Ticket Restaurant if it is ...
  return paymentMethods.filter(
    n =>
      ...
      n.accountIdentifier !== TICKET_RESTAURANT_PAYMENT_METHOD_PLACEHOLDER.accountIdentifier
  );
Expand
titlepayment-method-option/ticket-restaurant-method.tsx
Code Block
import React from 'react';

import { useIntl } from 'react-intl';

import { MethodType } from './styled';

const TicketRestaurantMethod = () => {
  const { formatMessage } = useIntl();

  return <MethodType>{formatMessage({ id: 'payWithTicketRestaurantVoucher' })}</MethodType>;
};

export default SodexoMethod;

...