Table of Contents

Description

This email template is sent to a client when a quote is created for them.

Supported Tags

The tags described in Blesta are only a list of commonly-used tags, for brevity.

The tags below are all of those available for this email template. For other email and tag customizations, see Customizing Emails.

TagDescriptionNotes
{contact.first_name}The contact's first name
{contact.last_name}The contact's last name
{contact.email}The contact's email address
{company.name}The name of the company, in Blesta, that the client belongs to
{quotation.id_code}The quotation number / codeMust be used inside the for loop: {% for quotation in quotations %}
{quotation.status}The status of the quotation, e.g. "pending".Must be used inside the for loop: {% for quotation in quotations %}
{quotation.total}The total for the quotation.

Must be used inside the for loop: {% for quotation in quotations %}

{quotation.currency}The currency for the quotation, e.g. "USD".Must be used inside the for loop: {% for quotation in quotations %}
{quotation.title}The title for your quotationMust be used inside the for loop: {% for quotation in quotations %}

Due to the nature of tag objects containing several fields, many of which are likely irrelevant for use in email templates, but may be useful to you in certain circumstances, an example dump of the tag objects are shown below. The quotations object is an array, so it must be called inside {% for quotation in quotations %} as {quotation.title} for example.

The {quotations} object
[0] => stdClass Object
                (
                    [id] => 1
                    [id_format] => QUOTE-{num}
                    [id_value] => 1
                    [client_id] => 1
                    [staff_id] => 1
                    [title] => Title for my quote
                    [status] => pending
                    [subtotal] => 50.0000
                    [total] => 50.0000
                    [currency] => USD
                    [notes] => 
                    [private_notes] => 
                    [date_created] => 2024-10-11 00:00:00
                    [date_expires] => 2024-11-10 00:00:00
                    [id_code] => QUOTE-1
                    [line_items] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [id] => 1
                                    [quotation_id] => 1
                                    [description] => This is a quote.
                                    [qty] => 1.0000
                                    [amount] => 50.0000
                                    [subtotal] => 50.00000000
                                    [precision] => 2
                                    [taxes] => Array
                                        (
                                        )

                                )

                        )

                    [taxes] => Array
                        (
                        )

                    [invoices] => Array
                        (
                        )

                    [client] => stdClass Object
                        (
                            [id] => 1
                            [id_format] => {num}
                            [id_value] => 1500
                            [user_id] => 2
                            [client_group_id] => 1
                            [primary_account_id] => 
                            [primary_account_type] => 
                            [status] => active
                            [id_code] => 1500
                            [contact_id] => 1
                            [first_name] => Jonathan
                            [last_name] => Masters
                            [company] => 
                            [title] => 
                            [email] => sales@blesta.com
                            [address1] => PO Box 1234
                            [address2] => 
                            [city] => Orange
                            [state] => CA
                            [zip] => 92869
                            [country] => US
                            [group_name] => General
                            [company_id] => 1
                            [username] => sales@blesta.com
                            [two_factor_mode] => none
                            [two_factor_key] => 
                            [two_factor_pin] => 
                            [date_added] => 2024-07-29 20:44:53
                            [settings] => Array
                                (
                                    [default_currency] => USD
                                    [language] => en_us
                                    [tax_exempt] => false
                                    [tax_id] => 
                                    [apply_inv_late_fees] => 7
                                    [autodebit] => true
                                    [autodebit_attempts] => 1
                                    [autodebit_days_before_due] => 1
                                    [autosuspend] => true
                                    [calendar_begins] => sunday
                                    [cancel_service_changes_days] => 7
                                    [cancelation_fee_tax] => false
                                    [cascade_tax] => false
                                    [client_prorate_credits] => false
                                    [client_set_invoice] => true
                                    [client_set_lang] => true
                                    [clients_cancel_services] => false
                                    [country] => US
                                    [date_format] => M d, Y
                                    [datetime_format] => M d, Y g:i:s A
                                    [delivery_methods] => YToxOntpOjA7czo1OiJlbWFpbCI7fQ==
                                    [email_verification] => false
                                    [enable_eu_vat] => false
                                    [enable_tax] => true
                                    [inv_background] => 
                                    [inv_cache] => none
                                    [inv_cache_compress] => false
                                    [inv_days_before_renewal] => 5
                                    [inv_display_companyinfo] => true
                                    [inv_display_due_date_draft] => true
                                    [inv_display_due_date_inv] => true
                                    [inv_display_due_date_proforma] => true
                                    [inv_display_logo] => true
                                    [inv_display_paid_watermark] => true
                                    [inv_display_payments] => true
                                    [inv_draft_format] => DRAFT-{num}
                                    [inv_font_en_us] => dejavusanscondensed
                                    [inv_format] => {num}
                                    [inv_increment] => 1
                                    [inv_lines_verbose_option_dates] => false
                                    [inv_logo] => 
                                    [inv_method] => email
                                    [inv_mimetype] => application/pdf
                                    [inv_pad_size] => 0
                                    [inv_pad_str] => 0
                                    [inv_paper_size] => letter
                                    [inv_proforma_format] => PROFORMA-{num}
                                    [inv_proforma_start] => 1
                                    [inv_start] => 1
                                    [inv_suspended_services] => true
                                    [inv_template] => default_invoice
                                    [inv_terms_en_us] => 
                                    [inv_type] => standard
                                    [late_fee_total_amount] => true
                                    [late_fees] => 
                                    [mail_delivery] => php
                                    [payments_allowed_ach] => true
                                    [payments_allowed_cc] => true
                                    [prevent_unverified_payments] => false
                                    [setup_fee_tax] => false
                                    [show_client_tax_id] => true
                                    [show_currency_code] => false
                                    [tax_exempt_eu_vat] => false
                                    [tax_home_eu_vat] => 
                                    [timezone] => UTC
                                    [uploads_dir] => /home/user/uploads/
                                )

                        )

                    [billing] => stdClass Object
                        (
                            [id] => 1
                            [client_id] => 1
                            [user_id] => 
                            [contact_type] => primary
                            [contact_type_id] => 
                            [first_name] => Jonathan
                            [last_name] => Masters
                            [title] => 
                            [company] => 
                            [email] => email@domain.com
                            [address1] => PO Box 1234
                            [address2] => 
                            [city] => Orange
                            [state] => CA
                            [zip] => 92869
                            [country] => stdClass Object
                                (
                                    [alpha2] => US
                                    [alpha3] => USA
                                    [name] => United States
                                    [alt_name] => 
                                )

                            [date_added] => 2024-07-29 20:44:53
                            [contact_type_name] => 
                            [contact_type_is_lang] => 
                        )

                    [date_closed] => 
                    [date_billed] => 
                    [date_due] => 
                )

        )




  • No labels