1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

(bug) missing the Other payment method

This commit is contained in:
Sylvain 2022-01-18 16:07:23 +01:00
parent 8097e33ef4
commit adccc18193
4 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
# Changelog Fab-manager
- Add a test for statistics generation
- Fix a bug: missing the Other payment method
- Fix a bug: do not display an untranslated string if a prepaid pack has no maximum validity
- Fix a bug: statistics not built for instances with plans created before v4.3.3
- Fix a bug: when requesting to send the sso migration code, the email was case-sensitive.

View File

@ -35,7 +35,6 @@ interface RenewModalProps {
* Modal dialog shown to renew the current subscription of a customer, for free
*/
const RenewModal: React.FC<RenewModalProps> = ({ isOpen, toggleModal, subscription, customer, operator, onError, onSuccess }) => {
// we do not render the modal if the subscription was not provided
if (!subscription) return null;

View File

@ -8,7 +8,7 @@ export default class WalletLib {
}
/**
* Return the price remaining to pay, after we have used the maximum possible amount in the wallet
* Return the price remaining to pay, after we have used the maximum possible amount in the wallet.
*/
computeRemainingPrice = (price: number): number => {
if (this.wallet.amount > price) {

View File

@ -19,7 +19,8 @@ export interface IntentConfirmation {
export enum PaymentMethod {
Card = 'card',
Check = 'check',
Transfer = 'transfer'
Transfer = 'transfer',
Other = ''
}
export type CartItem = { reservation: Reservation }|