Merged PR 5227: Fix Billable Services New Dash
# Description Fixes Billable Services categorisation. We were not handling Guest Agreement exclusion. I just changed so instead of including services as billable by default, it's the other way around. # Checklist - [X] The edited models and dependants run properly with production data. - [X] The edited models are sufficiently documented. - [X] The edited models contain PK tests, and I've ran and passed them. - [ ] I have checked for DRY opportunities with other models and docs. - [ ] I've picked the right materialization for the affected models. # Other - [ ] Check if a full-refresh is required after this PR is merged.
This commit is contained in:
parent
baf9d2767c
commit
53874ab08a
1 changed files with 5 additions and 6 deletions
|
|
@ -57,12 +57,11 @@ select
|
|||
end as is_default_service,
|
||||
case
|
||||
when
|
||||
id_product_service not in (
|
||||
1, -- 'BASIC SCREENING'
|
||||
5, -- 'BASIC DAMAGE DEPOSIT'
|
||||
6, -- 'DAMAGE DEPOSIT PLUS'
|
||||
7, -- 'BASIC WAIVER'
|
||||
8 -- 'WAIVER PLUS'
|
||||
id_product_service in (
|
||||
2, -- 'SEX OFFENDER CHECK'
|
||||
3, -- 'ID VERIFICATION'
|
||||
4, -- 'SCREENING PLUS'
|
||||
9 -- 'WAIVER PRO'
|
||||
)
|
||||
then true
|
||||
else false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue