diff --git a/models/intermediate/core/schema.yml b/models/intermediate/core/schema.yml index 25d8539..05f7141 100644 --- a/models/intermediate/core/schema.yml +++ b/models/intermediate/core/schema.yml @@ -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 diff --git a/models/reporting/core/core__new_dash_services_offered.sql b/models/reporting/core/core__new_dash_services_offered.sql index 78e870f..7b4b228 100644 --- a/models/reporting/core/core__new_dash_services_offered.sql +++ b/models/reporting/core/core__new_dash_services_offered.sql @@ -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 diff --git a/models/reporting/core/schema.yml b/models/reporting/core/schema.yml index 1f30ed7..b3aff9c 100644 --- a/models/reporting/core/schema.yml +++ b/models/reporting/core/schema.yml @@ -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