mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
added more jobs to accent housing
This commit is contained in:
parent
3f59350ea3
commit
d3cfd311de
1 changed files with 31 additions and 4 deletions
|
|
@ -15,16 +15,16 @@ board_ids = [
|
|||
]
|
||||
|
||||
empty = "Rate card info missing"
|
||||
junte = "ask junte to update"
|
||||
junte = "ask junte to update - He'll need to ask finance for ratecard and didn't change once they updated"
|
||||
rate_card_data_2502_accent_housing = {
|
||||
"job_type": [
|
||||
"First half of MTP", "Second half of MTP", "Full MTP", "Design Archetype Complex",
|
||||
"First half of MTP", "Second half of MTP", "full cost mtp", "Design Archetype Complex",
|
||||
"Design Archetype Simple", "Design Repetitive Complex", "Design Repetitive Simple",
|
||||
"Design Revision", "design type not specified",
|
||||
"Design Revision", "design type not specified", "Coordination Stage 2", "POST EPC", "POST EPR", "POST ATT", "post EPC NO SHOW"
|
||||
|
||||
],
|
||||
"rate": [
|
||||
150, 130, 280, junte, junte, junte, junte, junte, "please ask andreas"
|
||||
150, 130, 280, junte, junte, junte, junte, junte, "please ask andreas", junte, junte, junte, junte, junte
|
||||
]
|
||||
}
|
||||
# ToDO
|
||||
|
|
@ -133,6 +133,33 @@ for letter in revision_letter:
|
|||
if not design.empty:
|
||||
filtered_dfs.append(design)
|
||||
|
||||
# Coordination Stage 2
|
||||
rc = get_df(df, "rc stage 2", ["to invoice"], "Coordination Stage 2")
|
||||
if not rc.empty:
|
||||
filtered_dfs.append(rc)
|
||||
|
||||
# POST EPC + Retrofit Evaluation
|
||||
post_epc = get_df(df, "post epc & eval. invoicing status", ["epc to invoice"], "POST EPC")
|
||||
if not post_epc.empty:
|
||||
filtered_dfs.append(post_epc)
|
||||
|
||||
# POST EPR
|
||||
post_epr = get_df(df, "post epc & eval. invoicing status", ["epr to invoice"], "POST EPR")
|
||||
if not post_epr.empty:
|
||||
filtered_dfs.append(post_epr)
|
||||
|
||||
# Post ATT
|
||||
post_att = get_df(df, "post att invoicing status", ["to invoice"], "POST ATT")
|
||||
if not post_att.empty:
|
||||
filtered_dfs.append(post_epc)
|
||||
|
||||
# Post visit no show
|
||||
epc_ns = get_df(df, "post works no show invoice", ["to invoice","to invoice (+1 previous no show)", "to invoice (+2 previous no shows)"], "post EPC NO SHOW")
|
||||
if not epc_ns.empty:
|
||||
filtered_dfs.append(epc_ns)
|
||||
|
||||
|
||||
|
||||
|
||||
final_df = pd.concat(filtered_dfs).reset_index(drop=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue