diff --git a/rangeldigital/fixtures/print_format_rd_quotation_1.json b/rangeldigital/fixtures/print_format_rd_quotation_1.json index f9c8ade..543fb77 100644 --- a/rangeldigital/fixtures/print_format_rd_quotation_1.json +++ b/rangeldigital/fixtures/print_format_rd_quotation_1.json @@ -7,8 +7,7 @@ "doc_type": "Quotation", "docstatus": 0, "doctype": "Print Format", -"html": "

Rangel Digital LLC

sales@rangeldigital.com

541-808-9102

QUOTE

Quote #

Quote Date

{% if doc.valid_till %}

Expires

{% endif %}

{{ doc.name }}

{{ frappe.utils.formatdate(doc.transaction_date, \"MMMM d, YYYY\") }}

{% if doc.valid_till %}

{{ frappe.utils.formatdate(doc.valid_till, \"MMMM d, yyyy\") }}

{% endif %}

Bill To

{{doc.party_name }}

{% if doc.address_display%}{{ doc.address_display}}{% endif %}

{% if doc.shipping_address%}

Deliver To

{{doc.party_name }}

{{ doc.shipping_address}}

{% endif %}
{% for item in doc.items %}{% if item.description and item.description != item.item_name %}{% endif %}{% endfor %}
ItemQuantityPriceTotal
{{ item.item_name }}{% if item.manuf_item_code %} ({{ item.manuf_item_code }}){% endif %}{{ item.qty }}${{ \"{:,.2f}\".format(item.rate) }}${{ \"{:,.2f}\".format(item.amount) }}
{{ item.description }}
Sub-Total:${{ \"{:,.2f}\".format(doc.base_total) }}
Taxes: ${{ \"{:,.2f}\".format(doc.total_taxes_and_charges) }}
Discount:${{ \"{:,.2f}\".format(doc.discount_amount) }}
Grand Total:${{ \"{:,.2f}\".format(doc.grand_total) }}
{% if doc.terms %}

Terms and Conditions

{{doc.terms}}

{% endif %}" -, "css": ".bold {font-weight:bold} .font-size-1 {font-size:14px!important;} .font-size-2 {font-size:16px!important} .font-size-4 {font-size:24px!important;} .font-color-3 {color:#008AFC!important} .text-left {text-align:left!important;} .text-center {text-align:center!important;} .text-right {text-align:right!important} table {border-spacing: 0 1px;border-collapse:separate} p,td {font-size:14px;} h2 {margin:0!important;} h2.quote-heading {font-size:20px;} .header {margin-bottom:40px;} .print-format td.details {padding-left:20px!important} .addresses {margin-bottom:40px;} .items-table *{line-height:16px} .items-table .row:before {display:none!important;} .items-table th, .items-table td {font-size:14px;} .items-table .header-row {background:#02204B} .items-table .header-row td {font-weight:bold} .items-table .header-row th {color:white;font-weight:bold} .items-table .row:not(.description-row) td {padding-top:5px!important;padding-bottom:0!important;} .items-table .description-row td {padding-top:0!important;padding-bottom:0!important;} .description-row p {padding-left:5px!important} .totals {margin-top:50px;font-size:14px} .totals td {padding-top:3px!important;padding-right:10px!important;padding-bottom:3px!important;} .totals .grand-total {background:#f1f1f1;} .totals .grand-total td{padding-top:7px!important;padding-bottom:7px!important;} .terms-section {margin-top:40px;} .terms-section h3 {margin-bottom:5px;}", +"html": "

Rangel Digital LLC

sales@rangeldigital.com

541-808-9102

QUOTE

Quote #

Quote Date

{% if doc.valid_till %}

Expires

{% endif %}

{{ doc.name }}

{{ frappe.utils.formatdate(doc.transaction_date, \"MMMM d, YYYY\") }}

{% if doc.valid_till %}

{{ frappe.utils.formatdate(doc.valid_till, \"MMMM d, yyyy\") }}

{% endif %}

Bill To

{{doc.party_name }}

{% if doc.address_display%}{{ doc.address_display}}{% endif %}

{% if doc.shipping_address%}

Deliver To

{{doc.party_name }}

{{ doc.shipping_address}}

{% endif %}
{% for item in doc.items %}{% if item.description and item.description != item.item_name %}{% endif %}{% endfor %}
ItemQuantityPriceTotal
{{ item.item_name }}{% if item.manuf_item_code %} ({{ item.manuf_item_code }}){% endif %}{{ item.qty }}${{ \"{:,.2f}\".format(item.rate) }}${{ \"{:,.2f}\".format(item.amount) }}
{{ item.description }}
{% for tax in doc.taxes %}{% endfor %}
Sub-Total:${{ \"{:,.2f}\".format(doc.base_total) }}
Taxes and Charges:${{ \"{:,.2f}\".format(doc.total_taxes_and_charges) }}
{{ tax.description }}${{ \"{:,.2f}\".format(tax.tax_amount) }}
Discount:${{ \"{:,.2f}\".format(doc.discount_amount) }}
Grand Total:${{ \"{:,.2f}\".format(doc.grand_total) }}
{% if doc.terms %}

Terms and Conditions

{{doc.terms}}

{% endif %}", "css": ".bold {font-weight:bold} .font-size-1 {font-size:14px!important;} .font-size-2 {font-size:16px!important} .font-size-4 {font-size:24px!important;} .font-color-3 {color:#008AFC!important} .text-left {text-align:left!important;} .text-center {text-align:center!important;} .text-right {text-align:right!important} table {border-spacing: 0 1px;border-collapse:separate} p,td {font-size:14px;} h2 {margin:0!important;} h2.quote-heading {font-size:20px;} .header {margin-bottom:40px;} .print-format td.details {padding-left:20px!important} .addresses {margin-bottom:40px;} .items-table *{line-height:16px} .items-table .row:before {display:none!important;} .items-table th, .items-table td {font-size:14px;} .items-table .header-row {background:#02204B} .items-table .header-row td {font-weight:bold} .items-table .header-row th {color:white;font-weight:bold} .items-table .row:not(.description-row) td {padding-top:5px!important;padding-bottom:0!important;} .items-table .description-row td {padding-top:0!important;padding-bottom:0!important;} .description-row p {padding-left:5px!important} .totals {margin-top:50px;font-size:14px} .totals td {padding-top:3px!important;padding-right:10px!important;padding-bottom:3px!important;} .totals .grand-total {background:#f1f1f1;} .totals .grand-total td{padding-top:7px!important;padding-bottom:7px!important;} .terms-section {margin-top:40px;} .terms-section h3 {margin-bottom:5px;}", "idx": 1, "line_breaks": 0, "is_default": 1,