mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-18 07:52:23 +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
|
||||
|
||||
- Fix a bug: OpenAPI accounting gateway_object_id missing error
|
||||
|
||||
## v6.0.6 2023 May 4
|
||||
|
||||
- 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?
|
||||
{
|
||||
payment_mean: mean,
|
||||
gateway_object_id: payment_gateway_object.gateway_object_id,
|
||||
gateway_object_type: payment_gateway_object.gateway_object_type
|
||||
gateway_object_id: payment_gateway_object&.gateway_object_id,
|
||||
gateway_object_type: payment_gateway_object&.gateway_object_type
|
||||
}
|
||||
end
|
||||
when :wallet
|
||||
|
Loading…
x
Reference in New Issue
Block a user