Spaces:
Runtime error
Runtime error
Update app.py
Browse files1234567891011121314import streamlit as stfrom salesforce_integration import sf # Import Salesforce integrationfrom generate_pdf import create_pdf # Import PDF generation functionfrom send_email import send_email # Import email sending functionfrom send_whatsapp import send_whatsapp # Import WhatsApp sending functionst.title('Generate and Send Quote Invoice')if st.button('Generate PDF and Send'):# Fetch the quote data from Salesforcequote_data = sf.query("SELECT Customer_Name__c, Quote_Date__c, Origination_Location__c, Total_Amount__c FROM Quote__c WHERE Id = 'YOUR_QUOTE_ID'")# Generate the PDFpdf_file = create_pdf(quote_data)123456789101112131415import streamlit as stfrom salesforce_integration import get_quote_data # Import Salesforce integrationfrom generate_pdf import create_pdf # Import PDF generation functionfrom send_email import send_email # Import email sending functionfrom send_whatsapp import send_whatsapp # Import WhatsApp sending function# Title of the appst.title('Generate and Send Quote Invoice')if st.button('Generate PDF and Send'):# Fetch the quote data from Salesforcequote_data = get_quote_data()# Generate the PDFpdf_file = create_pdf(quote_data)
app.py+3-2