added all booking states

This commit is contained in:
Joaquin Ossa 2025-02-12 09:09:16 +01:00
parent 83e8723d7d
commit 0866b2bf9d
3 changed files with 55 additions and 1 deletions

View file

@ -5302,6 +5302,31 @@ models:
description:
"Number of bookings that have a bundle that considers this service and
are flagged."
- name: number_incomplete_information_bookings
data_type: bigint
description:
"Number of bookings that have a bundle that considers this service and
have incomplete information."
- name: number_no_flags_bookings
data_type: bigint
description:
"Number of bookings that have a bundle that considers this service and
have no flags."
- name: number_not_approved_bookings
data_type: bigint
description:
"Number of bookings that have a bundle that considers this service and
are not approved."
- name: number_rejected_bookings
data_type: bigint
description:
"Number of bookings that have a bundle that considers this service and
are rejected."
- name: int_core__payments
description: |
A table holding payment details for guest journeys, including amounts in both

View file

@ -11,5 +11,9 @@ select
number_bookings as number_bookings,
number_approved_bookings as number_approved_bookings,
number_cancelled_bookings as number_cancelled_bookings,
number_flagged_bookings as number_flagged_bookings
number_flagged_bookings as number_flagged_bookings,
incomplete_information_bookings as incomplete_information_bookings,
no_flags_bookings as no_flags_bookings,
not_approved_bookings as not_approved_bookings,
rejected_bookings as rejected_bookings
from int_core__new_dash_services_offered

View file

@ -1640,6 +1640,31 @@ models:
description:
"Number of bookings that have a bundle that considers this service and
are flagged."
- name: number_incomplete_information_bookings
data_type: bigint
description:
"Number of bookings that have a bundle that considers this service and
have incomplete information."
- name: number_no_flags_bookings
data_type: bigint
description:
"Number of bookings that have a bundle that considers this service and
have no flags."
- name: number_not_approved_bookings
data_type: bigint
description:
"Number of bookings that have a bundle that considers this service and
are not approved."
- name: number_rejected_bookings
data_type: bigint
description:
"Number of bookings that have a bundle that considers this service and
are rejected."
- name: core__payments
description: |
A table holding payment details for guest journeys, including amounts in both