{% if session['is_authorized'] == True %}
{% if company_info %}
{{ company_info }}
{% endif %}
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for message in messages %}
{{ message[1] }}
{% endfor %}
{% endif %}
{% endwith %}
Potential Customers from Leads.xlsx
{% else %}
Hi, welcome to Intuit Developer's Python Flask app. This app adds customer from Excel file to QBO and also shows how to get CompanyInfo of the connected QBO account. This app can be used with both OAuth1 and OAuth2. Don't forget to add your app's token in config file.