# PDF Entries

{% embed url="<https://youtu.be/OeMs0JQ1HiM?si=K3oKgIPjCQ-9O3hl>" %}

**PDF Entries** feature is available in the pro version of the plugin and allows exporting the Total summary of calculations in a `.pdf` document. This feature allows [sending](#email-quotes-with-pdf-entries) **calculated quotes** in PDF format **as an invoice as well.** Users can get these PDF entries after completing the order on the confirmation page, on the same page as a calculator, or via email. Admin [can access](https://docs.stylemixthemes.com/cost-calculator-builder/cost-calculator-settings/global-settings/pdf-entries) it in the **Orders tab.**

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FbrN9z8IHPiUytD9160K6%2Fimage.png?alt=media&#x26;token=8e70e426-4881-4054-a846-a321014dfddc" alt=""><figcaption><p><a href="#id-12">Minimalistic </a>template of PDF Entries</p></figcaption></figure>

## **Activating** PDF Entries

**The PDF Entries** option can be enabled in **Cost Calculator Global Settings** by toggling the "**Activate PDF Entries**" button:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FnMVgusdhdbhNhkAx1w4T%2Fimage.png?alt=media&#x26;token=7666bc86-6b0f-45c3-9ccd-90e6c5dd500e" alt=""><figcaption></figcaption></figure>

After activating the **PDF Entries**, the PDF Download button will automatically appear on your calculators:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FJHANe64Z7pph6x4T0qiG%2Fimage.png?alt=media&#x26;token=051d305d-5ce2-4da4-84ea-22e7881be16a" alt=""><figcaption></figcaption></figure>

You can turn on the '**Show button only after payment**' setting to make the button visible after completing the payment by the user.

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FE4BhRoVWBBKamIVgSJ6A%2Fimage.png?alt=media&#x26;token=ba63d03a-f92b-449f-9bbd-d36eec8b5f1c" alt=""><figcaption><p>Show button only after payment</p></figcaption></figure>

In the individual settings of the calculator, you can also enable to add a **PDF Download button** for the [**Confirmation Page**](https://docs.stylemixthemes.com/cost-calculator-builder/cost-calculator-settings/calculator-settings/confirmation-page) as well:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2Fuc2ebpFxncgzHgeZTTea%2Fimage.png?alt=media&#x26;token=134d3e23-38d0-4668-8b3f-aef5800df36e" alt=""><figcaption><p>Individual Settings > Confirmation Page</p></figcaption></figure>

{% hint style="info" %}
**Button to share receipt** will be available if the Share Quote Form[ **is enabled.**](#email-quotes-with-pdf-entries)
{% endhint %}

### Email Quotes with PDF Entries

There is an availability to send email quotes with PDF entries. To enable this feature follow the **Global Settings > Share Quote Form** and fill in the required fields:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2F9tfvonzPxQb4c2r34MGn%2Fimage.png?alt=media&#x26;token=35eef22a-3992-4015-90ca-4f42b6bb31d9" alt=""><figcaption></figcaption></figure>

To get know more about this feature, refer to this manual:

{% content-ref url="share-quote-form" %}
[share-quote-form](https://docs.stylemixthemes.com/cost-calculator-builder/cost-calculator-settings/global-settings/share-quote-form)
{% endcontent-ref %}

## Customization of PDF Entries

**Cost Calculato**r offers a powerful builder to customize the **PDF Entries**. You can create almost any invoice or quote using our builder with simple logic.

### Overview of PDF Entries Tab

We can divide the **PDF Entries tab** into several sections as shown below:

* [**Document & Template Settings** ](#template-and-document-section)
* [**Body**](#body-section)
* [<mark style="color:red;">**\***</mark>**Sidebar**](#sidebar-section)
* **Preview**

{% hint style="info" %}
[<mark style="color:red;">**\***</mark>**The Sidebar section**](#sidebar-section) may not be in the builder as it **depends** on the selected [**sidebar position**](#sidebar)**.**
{% endhint %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2F6rAsNj4uvwcpEUf6s7HL%2Fimage.png?alt=media&#x26;token=dc9292ba-9c9b-4979-9082-1f953e9852d6" alt=""><figcaption></figcaption></figure>

We can also divide the PDF into [**Body** ](#body-section)and [**Sidebar** ](#sidebar-section)sections based on the chosen [sidebar position. ](#sidebar)These sections consist of [**editable prebuilt blocks**](#blocks)**,** which you can **change** within the **Body** and **Sidebar** Sections.&#x20;

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FxDeA6LQZEDpRAG0eL5aR%2Fimage.png?alt=media&#x26;token=d6ea95ca-341b-487e-9873-1a0f198279dc" alt=""><figcaption></figcaption></figure>

### Template & Document Section

In this section, you can choose the template and rename it, save it for future uses, rename the PDF Download button text, change the document layout and other settings.

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FxjFDuKdxQ4JAoBCgreBG%2Fimage.png?alt=media&#x26;token=a2d63392-7925-4513-a377-8ffa4e09b9b6" alt=""><figcaption></figcaption></figure>

#### Templates

To start, you have to select one of the templates and change it according to your needs. To do it, click on the **Select Templates** button.

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FnGKxFHS9hHR8HTGZiWEM%2Fimage.png?alt=media&#x26;token=13ed9b5e-b3ea-493e-a3f3-618093d94187" alt=""><figcaption></figcaption></figure>

On the opened pop-up, templates are organized into two tabs: **Default Templates** and **My Templates**:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FOjQtJ8IFZk3AioMQHdZD%2Fimage.png?alt=media&#x26;token=e65c27f1-1f9b-4721-9a37-ae3b454b0fe8" alt=""><figcaption></figcaption></figure>

* **Default templates** - ready-to-use customizable templates come with the plugin
* **My Templates** - all of your saved templates.&#x20;

Here are the available **Default Templates**:

{% tabs %}
{% tab title="Default" %}

### Default

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FyuQwLNu0QiGmXWylwTAP%2FCalculators-%E2%80%B9-Cost-Calculator-%E2%80%94-WordPress-11-11-2024_04_08_PM.png?alt=media&#x26;token=afc6db8a-b554-4df5-add7-0c37c7cce239" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="1" %}

### **Colored blocks**

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FJgeGXxoKw5v7zYYG9sqp%2FPDF-1.png?alt=media&#x26;token=6b1387fe-6f13-40b9-ad4c-8c543326f405" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="2" %}

### Burgundy Sidebar

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FPCNzc5yyIXII6qhabyyo%2FPDF.png?alt=media&#x26;token=848eedc5-7517-42a4-86e1-fc37735885dd" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="3" %}

### Contrast Pink

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FGO91LHRgipY2iCMKjVgZ%2FPDF-2.png?alt=media&#x26;token=596d5e33-f843-4a0e-928a-6a5b4e4054aa" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="4" %}

### Mesh Gradient

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FiBBBG4buMr2gPALuNYq7%2Fimage.png?alt=media&#x26;token=f74d73d2-a352-4d17-ac73-566d79613e8b" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="5" %}

### Dark Paper

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FtMwqEaXDgw9P3qWn21wx%2FPDF-5.png?alt=media&#x26;token=8831c3b6-0366-42d8-a193-afc07403a952" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="6" %}

### Yellow Paper

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FPBJVA08NcZbOcrDJjQpA%2Fimage.png?alt=media&#x26;token=2cec5fbd-c246-49ba-94ee-e98de40ec05e" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="7" %}

### Gray Geometry

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FoBkxml2woXPo8IErUCMq%2FPDF.png?alt=media&#x26;token=f56cd10a-4bb0-48b9-8bc4-7ab2af33640d" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="8" %}

### Autumn

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FeCly2QBL29GAwiyK3yz6%2FPDF-1.png?alt=media&#x26;token=ef100ac3-fe59-498a-bfdc-7a8892c95252" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="9" %}

### 3D

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FjcyMjchgrYnKCtdwMVQx%2Fimage.png?alt=media&#x26;token=d5aa6bf9-d23a-4336-bdf7-d4a31038e9e6" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="10" %}

### Abstract Mint

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FQDYqsk652KErw257C0gn%2FPDF-4.png?alt=media&#x26;token=e7d5e80b-d879-4aa7-8871-bba41883b032" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="11" %}

### Modern

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2Fl5cnSHgrqqBxOkhs5USv%2FPDF-5.png?alt=media&#x26;token=21ccdcee-2e33-4365-bd16-2915bc9fea9a" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="12" %}

### Minimalistic

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FYZtAOo264C4aj8RdFzDM%2FPDF-6.png?alt=media&#x26;token=86941416-60bd-4334-8c6f-017910fa4d8a" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="13" %}

### Contrast Blue

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2F2SntfDPWsIU5qOicXs9J%2FPDF-7.png?alt=media&#x26;token=0ebd9d25-e9e7-491b-964c-355a62a72344" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="14" %}

### Purple Paper

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FHcSDXSLcj9BUMzP3XdOJ%2Fimage.png?alt=media&#x26;token=9624976f-4413-49f9-b129-d38cdc3435f5" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="15" %}

### Green Sidebar

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FSKbWVJ5wp9OZNllTg5ZU%2FCalculators-%E2%80%B9-Cost-Calculator-%E2%80%94-WordPress-11-11-2024_04_44_PM.png?alt=media&#x26;token=750de063-da9f-4572-acae-74f697604aa2" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="16" %}

### Highlighted Blocks

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2Fk9ZyGL7NFsEgjSwciR3O%2Fimage.png?alt=media&#x26;token=c5d00b21-efdd-489e-9dd7-9c967c921a8a" alt=""><figcaption><p>made</p></figcaption></figure>
{% endtab %}
{% endtabs %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2Fv1YGtaNNYd9uESgPf7an%2Fimage.png?alt=media&#x26;token=3c3a1a05-406c-415a-bd59-01e695a76da8" alt=""><figcaption></figcaption></figure>

* **Restore Styles** - undo **all changes** that you have made to the template and restore the original style of the template
* **Preview** - opens a **printable preview** of the PDF in a new tab
* **Name** - give a name to your template
* **Button text** - rename the button that enables users to download this PDF file in the calculator
* **Show button only after payment** - hides the **PDF Download** button and shows it only when the payment has been processed or the order is submitted successfully.&#x20;

{% hint style="success" %}
After making **any modifications**, changes should be saved by clicking the **Save** and/or **Publish** buttons on the top right corner of the **section.**
{% endhint %}

#### Document

In the document section, **global setting**s for the blocks can be set up. It consists of three tabs:

* [**Body**](#body)
* [**Sidebar**](#sidebar)
* [**Border**](#border)

{% hint style="info" %}
The settings in the **Document section** will **be applied** to **all blocks** as well. However, you can **freely change** them in the block's settings.
{% endhint %}

#### Body

In this tab, the body party of the PDF can be customized.&#x20;

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2F2DHBKrtmQH4QTIBN0nyT%2Fimage.png?alt=media&#x26;token=13e5bfc5-180f-4875-b42e-3d7206f60e64" alt=""><figcaption></figcaption></figure>

* **Text Color** - indicate the color for texts. You can put the hexadecimal color code or just use the color picker of the Cost Calculator.
* **Background Color** - indicate the color for the background. You can put the hexadecimal color code or just use the color picker of the Cost Calculator.
* **Background Image** - upload or select the image as a background.
* **Angle Radius** - indicate the angle radius for the body in terms of pixels.
* **Side Paddings** - indicate the side[ paddings](#user-content-fn-1)[^1] in terms of pixels.

#### Sidebar

In the Sidebar tab, the overall behavior and the layout of the sidebar can be modified.&#x20;

{% hint style="info" %}
Color settings of the **Sidebar** can be enabled or disabled. If it is disabled, respective settings will be inherited from the [**Body tab**](#body).&#x20;
{% endhint %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FswEaivQ9bLENkNHs045J%2Fimage.png?alt=media&#x26;token=ddf0a00f-be9a-493e-94c1-49d33331003e" alt=""><figcaption></figcaption></figure>

* **Sidebar Position** (3 options) - Choose the Sidebar position in the first row
  * **Left Sidebar** - puts the sidebar to the left side of the document
  * **No Sidebar** - removes the sidebar from the sidebar entirely. In this case, all of the blocks in the [**Sidebar** ](#sidebar-section)will be automatically moved to the [**Body**](#body-section)
  * **Right Sidebar** - puts the sidebar to the right side of the document
* **Text Color** - indicate the color for texts. You can put the hexadecimal color code or just use the color picker of the Cost Calculator.
* **Background Color** - indicate the color for the sidebar background. You can put the hexadecimal color code or just use the color picker of the Cost Calculator.

#### Border

In this tab, border settings can be modified for the entire document.

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FHgyZp8FGrXf4bWDU1mb0%2Fimage.png?alt=media&#x26;token=edd0bfa0-55a5-4762-93e5-32e80808ebdc" alt=""><figcaption></figcaption></figure>

* **Show Border** - enable the toggle to add a border to the entire document
* **Border Position** - choose one of the four positions to display the border. Available options are
  * **4-sided border**
  * **Left-side border only**
  * &#x20;**Right-side border only**
  * **Top border only**
  * **Bottom border only**
* **Border Color -** indicate the color of the border
* **Border Size** - indicate the thickness of the border in terms of pixels

### Body Section

The body section contains blocks that will be displayed in the body part of the PDF.

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FExe7EFth7MAlnImZtWpk%2Fimage.png?alt=media&#x26;token=0c76f6f0-7d04-4276-84e4-0631d3129a29" alt=""><figcaption></figcaption></figure>

### Sidebar Section

{% hint style="info" %}
**The Sidebar section** may not be in the builder as it **depends** on the selected [**layout**. ](#sidebar)
{% endhint %}

This section contains blocks that will be displayed in the **sidebar part** of the PDF.

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FTBIpjH913EpwYjP2BkZV%2Fimage.png?alt=media&#x26;token=6d11c898-ab06-4598-8d23-56ed68a7450d" alt=""><figcaption></figcaption></figure>

## Blocks

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FZ9fy20f1wCdHlNXpHQfm%2Fimage.png?alt=media&#x26;token=11fab2cd-2151-4291-b408-d2c589b84f78" alt=""><figcaption><p>List of all available blocks for PDF Entries</p></figcaption></figure>

**Blocks** are the essential parts of PDF Entries.  They display **static** and **dynamic information.**&#x20;

* **Static Information** - block titles, descriptions, details, etc. In short, **any** information that **you have entered** in this builder. For instance, the company logo, slogan, title are the same in all PDF receipets.
* **Dynamic Information** -  information that will **be added by the calculator automatically** based on the **user input** in the calculator. For instance, Order ID, Created Date, and Order Details are dynamic.

{% hint style="info" %}
Initially, background color and text color settings are **inherited** from [**global settings (Documents section)**](#document).  But you can freely change them in block settings.
{% endhint %}

You can **click on the blocks** in the preview and their **settings will be opened** on the right side - in the body or sidebar section:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2Fie4eB8E5vBJAnrNBhDDL%2FCalculators%20%E2%80%B9%20Cost%20Calculator%20%E2%80%94%20WordPress%20(2).gif?alt=media&#x26;token=33ce3a75-add5-4b2a-a362-39ec224aad78" alt=""><figcaption></figcaption></figure>

**Blocks** can be turned on and off using the toggles and can be reordered freely, even within the **Body** and **Sidebar** sections:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FS5jKDMMic07bWEOZDcPj%2Fimage.png?alt=media&#x26;token=ce5b6605-7597-412e-9ba6-d4ee0af0fe33" alt=""><figcaption></figcaption></figure>

If you **expand** the blocks, you'll access their settings. Each block's settings are organized into **multiple tabs**, tailored to what the block displays, making the settings **unique** to each block.

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FIeukpM4h7snKL10rvdK3%2Fimage.png?alt=media&#x26;token=54f1af15-ba65-4007-9f31-eabc102b11f8" alt=""><figcaption><p>Order Block Settings</p></figcaption></figure>

> **Let's see all the blocks we have in our builder one by one** :white\_check\_mark:

### Top Text Block

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FMz8MWu8e9hk7hr0OzlCo%2Fimage.png?alt=media&#x26;token=d44fc8c2-4779-434a-b4a0-fd49607b829a" alt="" width="472"><figcaption></figcaption></figure>

In the **Top Text Block**,  you can include your 'Thank you' message to the customer for using your service. It has two tabs in its settings:

{% tabs %}
{% tab title="Text" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FTA66CkRCMxLuk5QZglum%2Fimage.png?alt=media&#x26;token=4fcd05c3-b92f-451d-9d5e-9a61772b47fa" alt=""><figcaption></figcaption></figure>

In this tab, you can indicate the title and the body of the top text block.
{% endtab %}

{% tab title="Design" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2Ff9XMQsQFCrJS8W5SiyHt%2Fimage.png?alt=media&#x26;token=bf9ff4e2-52b2-44d8-90e0-23b4512395ed" alt=""><figcaption></figcaption></figure>

* **Alignment** - choose one of the four alignments for the block
* **Text Color** - choose the color for the texts in the block
* **Background Color** - choose the color for the background of the block
  {% endtab %}
  {% endtabs %}

### Order ID and Date

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2F7RoObRLfR2tRyGp9Q3w5%2Fimage.png?alt=media&#x26;token=6b3b089f-cf07-49d6-a012-4b5facce84e0" alt="" width="472"><figcaption></figcaption></figure>

This block displays the unique Order ID and the Order Creation Date. It has these tabs in its settings:

{% tabs %}
{% tab title="ID" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FTI16G4qOyy9A4hTLA7XL%2Fimage.png?alt=media&#x26;token=77f2ab0c-fb7c-4b63-8326-d39d0b472a3e" alt=""><figcaption></figcaption></figure>

You can enable or disable the Order ID and edit the corresponding text.&#x20;

{% hint style="info" %}
Note that the **Order ID** will be inserted by the calculator **automatically.**
{% endhint %}
{% endtab %}

{% tab title="Date" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FHuTZgK60QBajQ1NEorRf%2Fimage.png?alt=media&#x26;token=63768a53-514a-4a64-904e-2e153669d433" alt=""><figcaption></figcaption></figure>

* **Show** - indicate the label for the Order Date. Additionally, you can hide the date by disabling the toggle.
* **Format** - indicate the date and time format.

{% hint style="info" %}
Note that the **Order Date** will be inserted by the calculator **automatically.**
{% endhint %}
{% endtab %}

{% tab title="Design" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FUleOwHA6vzCTpmtRhpX0%2Fimage.png?alt=media&#x26;token=05e35346-f111-4162-aa4a-1f05155160d3" alt=""><figcaption></figcaption></figure>

* **Alignment** - choose one of the four alignments for the block
* **Text Color** - choose the color for the texts in the block
* **Background Color** - choose the color for the background of the block
  {% endtab %}
  {% endtabs %}

### Order Block

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FHfAIDLfjaZca6vRdnjpr%2Fimage.png?alt=media&#x26;token=fb999c7a-69bb-40ca-b613-6ecab4858b36" alt="" width="472"><figcaption></figcaption></figure>

**Order Block** is the most important block in our builder. It displays the order details, calculations, total price, and more. Additionally, you can add a QR Code, stamp, and signature to improve the document's overall look and confidentiality. Here are the available tabs in the block's settings:

{% hint style="success" %}
**Order details** will be inserted by the calculator **automatically.**
{% endhint %}

{% tabs %}
{% tab title="Content" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FldcazNVdmXRid06oD5Wp%2Fimage.png?alt=media&#x26;token=8463c841-442b-4417-897f-8801877774d2" alt=""><figcaption></figcaption></figure>

* **Show Payment Method** - displays the payment method in the block (e.g. Stripe, PayPal, Cash Payment)
* **Show QR Code** - insert the QR Code of the URL link that you have provided below.&#x20;

{% hint style="info" %}
Note that, this is a **static** QR Code, which means it is **universal** for all PDFs. It does not redirect to any verification page, but only to the URL link that you have specified.
{% endhint %}
{% endtab %}

{% tab title="Images" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2F3hKk3nIfS2FcLrWrNITH%2Fimage.png?alt=media&#x26;token=1a9fd6e0-5c8c-437a-b1d1-f972ebd57cdb" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Actually, you can use these image fields **according to your needs.** It is **not mandatory** to upload a stamp image to the stamp image field. It has been designed to insert the specific image to the specific location of the orders tab.&#x20;
{% endhint %}

* **Stamp Image** - upload or select the image that can be used as a stamp.
* **Stamp Size** - indicate the size of the stamp image in terms of percentage (in 100 scale)
* **Signature Image** - upload or select the image that can be used as a signature.
* **Signature Size** - indicate the size of the signature image in terms of percentage (in 100 scale)
  {% endtab %}

{% tab title="Lines" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FWutvE4WVjM2Dmka5Cky7%2Fimage.png?alt=media&#x26;token=f8cd7f53-f1a6-46df-b240-de6902143878" alt=""><figcaption></figcaption></figure>

* **Show Lines** - enables to display of the lines between the order elements within the block
  * **Line Color** - indicate the color of the lines
  * **Line Size** - indicate the thickness of the lines in pixels
* **Show Border** - enables to display of the border for the Order Block
  * **Border Color**  - indicate the color of the border. You can put the hexadecimal code of the color or use the color picker of CCB.
  * **Border Size** - indicate the thickness of the border in pixels
  * **Angle Size** - indicate the border radius of the Order Block
    {% endtab %}

{% tab title="Design" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FC1oFW9Iy705nr9KykTK1%2Fimage.png?alt=media&#x26;token=c641deb8-d29d-4930-98ac-0f4a086c40fe" alt=""><figcaption></figcaption></figure>

In this tab, you can set the colors for the heading and table background as well as texts.
{% endtab %}
{% endtabs %}

### Footer  Text

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FgVOMZHtDhenxhtjscmU6%2Fimage.png?alt=media&#x26;token=9cc0b6e3-e2e9-4470-b7a2-f5c5d7ba516b" alt="" width="472"><figcaption></figcaption></figure>

**Footer text block** can be used to include the short and long notices that will usually be pasted at the bottom of the document. Here are the available settings for the footer block:

{% tabs %}
{% tab title="First Tab" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FKxDMT6z5tgfpk8HCYjoB%2Fimage.png?alt=media&#x26;token=44d9dc94-f48a-43cb-bc13-97be4db3d00b" alt=""><figcaption></figcaption></figure>

In the text tab, provide your footer text.
{% endtab %}

{% tab title="Design" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2F99z1H67Tbvw7cgtIRMbg%2Fimage.png?alt=media&#x26;token=415513ef-8e12-4d0d-adb8-4e629a6e1a19" alt=""><figcaption></figcaption></figure>

* **Alignment** - choose one of the four alignments for the block
* **Font Size** - indicate the font size for the footer text in pixels
* **Text Color** - choose the color for the texts in the block
* **Background Color** - choose the color for the background of the block
  {% endtab %}
  {% endtabs %}

### Brand

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FbqiVRfcvpGfVkVY7kLGn%2Fimage.png?alt=media&#x26;token=afbb248c-2e94-4dc8-8389-7a4f798d6857" alt="" width="472"><figcaption></figcaption></figure>

In the brand block, you can illustrate the logo, name, and slogan of your company. Here are the available settings for the block:

{% tabs %}
{% tab title="Logo" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2Fwkobv7T0HXMaR9KXlt3Q%2Fimage.png?alt=media&#x26;token=8274ce91-e20d-4b76-8fda-ed28a603658d" alt=""><figcaption></figcaption></figure>

* **Logo Image** - upload or select the logo of your company
* **Logo Width** - indicate the logo width in pixels
* **Logo Height** - indicate the logo height in pixels
  {% endtab %}

{% tab title="Name" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FmUEIgwjiPUMZO9DW3Nxb%2Fimage.png?alt=media&#x26;token=83ce4ff9-008b-4ac9-9b05-a420236003bc" alt=""><figcaption></figcaption></figure>

* **Company Name** - edit the text to replace it with your company's name
* **Font Size** - adjust the font size for the company name
* **Font Color** - select the color according to your needs
  {% endtab %}

{% tab title="Slogan" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FGFL17ObP0vsS8swqDHAQ%2Fimage.png?alt=media&#x26;token=dddbc3fd-e134-4da2-bd75-a5f535c22ba1" alt=""><figcaption></figcaption></figure>

* **Company Slogan** - edit the text to replace it with your company's slogan
* **Font Size** - adjust the font size for the company slogan
* **Font Color** - select the color according to your needs
  {% endtab %}

{% tab title="Design" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FtZ1HfDwY8Z3MaZBoGPqp%2Fimage.png?alt=media&#x26;token=3bdd0d68-fdba-45e6-a0f4-504fc3a0e3c7" alt=""><figcaption></figcaption></figure>

* **Alignment** - choose one of the four alignments for the block
* **Background Color** - choose the color for the background of the block
  {% endtab %}
  {% endtabs %}

### Image

<div><figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2F7MB1UJb1tybvEZ0P5UNA%2Fimage.png?alt=media&#x26;token=7c8510ff-c13e-4feb-89f1-86fc4c4a2030" alt="" width="472"><figcaption></figcaption></figure> <figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FxbQ9CdOP0voqDP1wIRCt%2Fimage.png?alt=media&#x26;token=6f2432c5-0516-4045-8787-d5443c0cdd21" alt=""><figcaption></figcaption></figure></div>

**Image block** enables you to insert any image into the PDF. Upload or select the image in the block settings and adjust the height of it.&#x20;

### Company Block&#x20;

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FtIE1sgOpSOF6QWSQb9Wo%2Fimage.png?alt=media&#x26;token=2460e23a-0cdb-4a22-a664-68ca0482a6f7" alt="" width="472"><figcaption></figcaption></figure>

**Company block** can be used to share general info about the company as well as the contact details. Here are the available block settings:

{% tabs %}
{% tab title="Text" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FijSKOCsVz4rD55FbVq0B%2Fimage.png?alt=media&#x26;token=9db967f0-f99f-49fd-8176-4b98db7690af" alt=""><figcaption></figcaption></figure>

Enter the Block Title and description.
{% endtab %}

{% tab title="Context" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FUXOrqoMNWQ8DIlIy2Dt3%2Fimage.png?alt=media&#x26;token=c707aec6-8cf8-4a5b-a40f-27b79762b7de" alt=""><figcaption></figcaption></figure>

This tab contains several text line input fields. For the **initial 4 ones**, you can enter the **short contact details** of your company as shown in the picture.&#x20;

**The last one** provides the text area input field which is designed to enter the **Address** of the company.
{% endtab %}

{% tab title="Design" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2Ft2Y8D1ThG8JuCN85pwNP%2Fimage.png?alt=media&#x26;token=2e48dff4-b6fc-44eb-a636-fb1350367e4b" alt=""><figcaption></figcaption></figure>

* **Alignment** - choose one of the four alignments for the block
* **Text Color** - choose the color for the texts in the block
* **Background Color** - choose the color for the background of the block
  {% endtab %}
  {% endtabs %}

### Customer Block

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2F9MvfeECkj3lQW2SuM5EC%2Fimage.png?alt=media&#x26;token=b1df9ba4-3958-488f-94f0-ba0141470f15" alt="" width="472"><figcaption></figcaption></figure>

**Customer block** can be used to provide the **user-entered information** in the order form.&#x20;

{% hint style="warning" %}
This block will be **different** based on the [**Order** ](https://docs.stylemixthemes.com/cost-calculator-builder/cost-calculator-settings/calculator-settings/order-form)or [**Contact form**](https://docs.stylemixthemes.com/cost-calculator-builder/develeopers-guide/cost-calculator-hooks/contact-form) details that you have attached to the calculator. **User-entered information** in the form will **automatically** be **included** in the document.&#x20;

***

In case the user downloads the PDF **before filling** in the order form, the block will be **omitted** in the document.
{% endhint %}

Here are the available tabs in the block's settings:

{% tabs %}
{% tab title="Text" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FsuxC9o5EBxbj4Cg7PQZf%2Fimage.png?alt=media&#x26;token=6eb924ec-4224-4784-a47c-609b25522fdd" alt=""><figcaption></figcaption></figure>

In the **text tab**, just enter the title for the block.
{% endtab %}

{% tab title="Design" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FwAvkyfCB6YeVc1MJxWV0%2Fimage.png?alt=media&#x26;token=ecec32b0-2791-4d70-86f5-f53df85e5566" alt=""><figcaption></figcaption></figure>

* **Alignment** - choose one of the four alignments for the block
* **Text Color** - choose the color for the texts in the block
* **Background Color** - choose the color for the background of the block
  {% endtab %}
  {% endtabs %}

### Additional Text Block

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2F5NhZDfj1l01AQoTS4aL7%2Fimage.png?alt=media&#x26;token=099ed973-ae8b-473e-927d-473870c9dd96" alt="" width="472"><figcaption></figcaption></figure>

In this block, you can include any **additional information** that you would like to include in PDF receipts.

{% tabs %}
{% tab title="Text" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FHEAcgkcuiWRcLo7EXfOn%2Fimage.png?alt=media&#x26;token=834df111-2b43-461d-9949-d7700ba84b34" alt=""><figcaption></figcaption></figure>

In this tab,  you can provide the block title and descriptions of the designed areas.
{% endtab %}

{% tab title="Design" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FAzauo0MAb39TUm7EG33T%2Fimage.png?alt=media&#x26;token=a5e3e04d-b2ce-43c4-becb-ccd2b699fa21" alt=""><figcaption></figcaption></figure>

* **Alignment** - choose one of the four alignments for the block
* **Text Color** - choose the color for the texts in the block
* **Background Color** - choose the color for the background of the block
  {% endtab %}
  {% endtabs %}

## PDF Entries **with Orders**

The site administrator can export orders as `.pdf` documents in the Orders section of the Cost Calculator dashboard:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FT21IY8Vndxbm0VKOSUdh%2Fimage.png?alt=media&#x26;token=173ffe5d-497f-48a0-a99c-36ae49f9645d" alt=""><figcaption><p>WP Dashboard > Cost Calculator > Orders</p></figcaption></figure>

By expanding order details, the displayed information can be sent as an email quote as well:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FIpGm1Zrs1zlDKTgINgDs%2Fimage.png?alt=media&#x26;token=d6a73cc8-b0ab-4081-a371-8b09aac46f64" alt=""><figcaption></figcaption></figure>

[^1]: Padding is the space between the content and the border of an element.
