mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-19 08:52:25 +01:00
(bug) OpenAPI accounting gateway_object_id missing error
This commit is contained in:
parent
7cff0d6c39
commit
6c5b4d9595
@ -1,5 +1,7 @@
|
|||||||
# Changelog Fab-manager
|
# Changelog Fab-manager
|
||||||
|
|
||||||
|
- Fix a bug: OpenAPI accounting gateway_object_id missing error
|
||||||
|
|
||||||
## v6.0.6 2023 May 4
|
## v6.0.6 2023 May 4
|
||||||
|
|
||||||
- Fix a bug: invalid duration for machine/spaces reservations in statistics, when using slots of not 1 hour
|
- Fix a bug: invalid duration for machine/spaces reservations in statistics, when using slots of not 1 hour
|
||||||
|
@ -175,8 +175,8 @@ class Invoice < PaymentDocument
|
|||||||
if paid_by_card?
|
if paid_by_card?
|
||||||
{
|
{
|
||||||
payment_mean: mean,
|
payment_mean: mean,
|
||||||
gateway_object_id: payment_gateway_object.gateway_object_id,
|
gateway_object_id: payment_gateway_object&.gateway_object_id,
|
||||||
gateway_object_type: payment_gateway_object.gateway_object_type
|
gateway_object_type: payment_gateway_object&.gateway_object_type
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
when :wallet
|
when :wallet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user