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:
parent
8097e33ef4
commit
adccc18193
@ -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.
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -19,7 +19,8 @@ export interface IntentConfirmation {
|
||||
export enum PaymentMethod {
|
||||
Card = 'card',
|
||||
Check = 'check',
|
||||
Transfer = 'transfer'
|
||||
Transfer = 'transfer',
|
||||
Other = ''
|
||||
}
|
||||
|
||||
export type CartItem = { reservation: Reservation }|
|
||||
|
Loading…
x
Reference in New Issue
Block a user