diff --git a/etl/jjc_invoice.py b/etl/jjc_invoice.py index a2e82c3..6eb174a 100644 --- a/etl/jjc_invoice.py +++ b/etl/jjc_invoice.py @@ -302,6 +302,7 @@ def main(): "Surveyor's Name": [], "Type of Work": [], "Price": [], + "Pre SAP": [], "Total Floor Area": [], "Empty/Cavity": [], } @@ -321,6 +322,7 @@ def main(): data["Surveyor's Name"].append(survey.pre_site_note.assessor_information.name) data["Type of Work"].append("Caluclating...") data["Price"].append("Caluclating...") + data["Pre SAP"].append(survey.pre_site_note.survey_information.current_sap) data["Total Floor Area"].append(total_floor_area) data["Empty/Cavity"].append("None") @@ -345,4 +347,9 @@ def main(): if __name__ == "__main__": main() -# TO DO compare floor area with deemed one \ No newline at end of file +# TO DO compare floor area with deemed one +# get metics the can be automated from 6 variables sheet +# Ventilation requirements? + +# make a csv that is made by submission table so i can process lewis sheet quickly +# Start load process \ No newline at end of file diff --git a/etl/pdfReader/sitenotes.py b/etl/pdfReader/sitenotes.py index 2c92273..3ed2f1a 100644 --- a/etl/pdfReader/sitenotes.py +++ b/etl/pdfReader/sitenotes.py @@ -1,5 +1,5 @@ from etl.pdfReader.reportType import ReportType -from transform.types import ( +from etl.transform.types import ( CompanyInfo, SurverySummaryInfo, AssessorInfo, PropertyDescription, PropertyDetail, Dimension, Walls, Roofs, Floors, Door, VentilationAndCooling, diff --git a/jjc_invoice.sh b/jjc_invoice.sh new file mode 100644 index 0000000..da46058 --- /dev/null +++ b/jjc_invoice.sh @@ -0,0 +1,2 @@ +# Example of how to run python code in this environment +poetry run python etl/jjc_invoice.py \ No newline at end of file