Added RD Quotation - 1 print format
This commit is contained in:
Binary file not shown.
24
rangeldigital/fixtures/print_format_rd_quotation_1.json
Normal file
24
rangeldigital/fixtures/print_format_rd_quotation_1.json
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"absolute_value": 0,
|
||||||
|
"align_labels_right": 0,
|
||||||
|
"creation": "2011-12-21 11:08:55",
|
||||||
|
"custom_format": 1,
|
||||||
|
"disabled": 0,
|
||||||
|
"doc_type": "Quotation",
|
||||||
|
"docstatus": 0,
|
||||||
|
"doctype": "Print Format",
|
||||||
|
"html": "<table width=\"100%\" class=\"header\" ><tr><td style=\"width: 50%; vertical-align: top; padding: 10px;\"><h2 class=\"font-color-3 font-size-4 bold\">Rangel Digital LLC</h2><p>sales@rangeldigital.com</p><p>541-808-9102</p></td><td class=\"details\" style=\"width: 50%; vertical-align: top; padding: 10px;\"><h2 class=\"quote-heading bold text-right\">QUOTE</h2><table width=\"100%\" class=\"details\" ><tr><td style=\"width: 25%; vertical-align: top; padding:0!important;\"><p class=\"bold\">Quote #</p><p class=\"bold\">Quote Date</p>{% if doc.valid_till %}<p class=\"bold\">Expires</p> {% endif %}</td><td style=\"width: 70%; vertical-align: top; padding:0!important;\"><p class=\"text-right\">{{ doc.name }}</p><p style=\"text-align: right;\">{{ frappe.utils.formatdate(doc.transaction_date, \"MMMM d, YYYY\") }}</p>{% if doc.valid_till %}<p class=\"text-right\">{{ frappe.utils.formatdate(doc.valid_till, \"MMMM d, yyyy\") }}</p>{% endif %}</td></tr></table></td></tr></table><table width=\"100%\" class=\"addresses\" ><tr><td style=\"width: 50%; vertical-align: top; padding: 10px;\"><p class=\"bill-to-label bold font-size-2\">Bill To</p><p class=\"party-name\">{{doc.party_name }}</p><p class=\"bill-to-address\"> {% if doc.address_display%}{{ doc.address_display}}{% endif %}</p></td><td style=\"width: 50%; vertical-align: top; padding: 10px;\">{% if doc.shipping_address%}<p class=\"bill-to-label bold font-size-2\">Deliver To</p><p class=\"party-name\">{{doc.party_name }}</p><p class=\"bill-to-address\"> {{ doc.shipping_address}}</p>{% endif %}</td></tr></table></td></tr></table><table class=\"items-table\" width=\"100%\" border=\"0\"><thead><tr class=\"header-row\"><th class=\"item-title text-left\">Item</th><th class=\"quantity-title text-center\">Quantity</th><th class=\"price-title text-center\">Price</th><th class=\"total-title text-right\">Total</th></tr></thead><tbody>{% for item in doc.items %}<tr class=\"row\"><td class=\"item-name bold text-left\">{{ item.item_name }}</td><td class=\"item-quantity text-center\">{{ item.qty }}</td><td class=\"item-rate text-center\">${{ \"{:,.2f}\".format(item.rate) }}</td><td class=\"item-amount text-right\">${{ \"{:,.2f}\".format(item.amount) }}</td></tr>{% if item.description and item.description != item.item_name %}<tr class=\"row description-row\"><td colspan=\"4\" class=\"description-cell\">{{ item.description }}</td></tr>{% endif %}{% endfor %}</tbody></table><div class=\"totals\"><table width=\"250px\" style=\"margin-left:auto;margin-right:0\" class=\"\" ><tr><td class=\"bold\">Sub-Total:</td><td class=\"text-right\"> ${{ \"{:,.2f}\".format(doc.base_total) }}</td></tr><tr><td class=\"bold\">Taxes: </td><td class=\"text-right\">${{ \"{:,.2f}\".format(doc.total_taxes_and_charges) }}</td></tr><td class=\"bold\">Discount:</td><td class=\"text-right\">${{ \"{:,.2f}\".format(doc.discount_amount) }}</td></tr><tr class=\"grand-total\"><td class=\"bold\">Grand Total:</td><td class=\"text-right\">${{ \"{:,.2f}\".format(doc.grand_total) }}</td></tr></table></div>{% if doc.terms %}<div class=\"terms-section\"><h3 class=\"terms-conditions bold\">Terms and Conditions</h3><p>{{doc.terms}}</p></div>{% 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,
|
||||||
|
"modified": "2021-04-15 15:23:28.867135",
|
||||||
|
"modified_by": "Administrator",
|
||||||
|
"module": "Selling",
|
||||||
|
"name": "RD Quotation - 1",
|
||||||
|
"owner": "Administrator",
|
||||||
|
"print_format_builder": 0,
|
||||||
|
"print_format_type": "Jinja",
|
||||||
|
"raw_printing": 0,
|
||||||
|
"show_section_headings": 0,
|
||||||
|
"standard": "Yes"
|
||||||
|
}
|
||||||
@ -3,7 +3,7 @@
|
|||||||
"name": "Page Heading - 2",
|
"name": "Page Heading - 2",
|
||||||
"module": "Website",
|
"module": "Website",
|
||||||
"type": "Component",
|
"type": "Component",
|
||||||
"template":"<section class=\"rd-page-heading-2\"><div class=\"container text-center\"><h1 class=\"rd-heading\">{{heading}}</h1><p class=\"rd-sub-heading\">{{sub_heading}}</p>{% if lead_form_code %}{{lead_form_code}}{% endif %}{% if featured_image %}<img src=\"{{featured_image}}\" alt=\"{{featured_image}}\"/>{% endif %}</div></section>",
|
"template":"<section class=\"rd-page-heading-2\"><div class=\"container text-center\"><h1 class=\"rd-heading\">{{heading}}</h1>{% if sub_heading %}<p class=\"rd-sub-heading\">{{sub_heading}}</p>{% endif %}{% if lead_form_code %}{{lead_form_code}}{% endif %}{% if featured_image %}<img src=\"{{featured_image}}\" alt=\"{{featured_image}}\"/>{% endif %}</div></section>",
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"fieldname": "heading",
|
"fieldname": "heading",
|
||||||
|
|||||||
@ -29,18 +29,19 @@
|
|||||||
"label": "Card Heading",
|
"label": "Card Heading",
|
||||||
"reqd": 0
|
"reqd": 0
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"fieldname": "card_sub_heading",
|
||||||
|
"fieldtype": "Text",
|
||||||
|
"label": "Card Sub Heading",
|
||||||
|
"reqd": 0
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "card_image",
|
"fieldname": "card_image",
|
||||||
"fieldtype": "Attach Image",
|
"fieldtype": "Attach Image",
|
||||||
"label": "Card Image",
|
"label": "Card Image",
|
||||||
"reqd": 0
|
"reqd": 0
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"fieldname": "card_sub_heading",
|
|
||||||
"fieldtype": "Data",
|
|
||||||
"label": "Card Sub Heading",
|
|
||||||
"reqd": 0
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"fieldname": "card_html",
|
"fieldname": "card_html",
|
||||||
"fieldtype": "Code",
|
"fieldtype": "Code",
|
||||||
|
|||||||
@ -6,10 +6,14 @@ section {background:#01071C}
|
|||||||
.rd.card {background-color:#1C2037}
|
.rd.card {background-color:#1C2037}
|
||||||
.card {border:none}
|
.card {border:none}
|
||||||
h1,h2,h3,h4,h5,h6,p,h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, span {color:white}
|
h1,h2,h3,h4,h5,h6,p,h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, span {color:white}
|
||||||
|
h2 {font-size:3rem}
|
||||||
|
@media only screen and (max-width:767px){
|
||||||
|
h2 {font-size:2rem}
|
||||||
|
}
|
||||||
.rd-button-one {padding:10px 20px;font-weight:bold;border-radius:3px;color:black;background-image: linear-gradient(134deg, #008AFC 27%, #97F8F4 100%)}
|
.rd-button-one {padding:10px 20px;font-weight:bold;border-radius:3px;color:black;background-image: linear-gradient(134deg, #008AFC 27%, #97F8F4 100%)}
|
||||||
.text-gradient-1 {background-clip:text;-webkit-background-clip: text !important;padding-top:10px;padding-bottom:20px;background: -webkit-linear-gradient(#119CFF, #97F8F4);-webkit-text-fill-color: transparent}
|
.text-gradient-1 {background-clip:text;-webkit-background-clip: text !important;padding-top:10px;padding-bottom:20px;background: -webkit-linear-gradient(#119CFF, #97F8F4);-webkit-text-fill-color: transparent}
|
||||||
.card {background-color:#1C2037;padding:20px}
|
.card {background-color:#1C2037;padding:20px}
|
||||||
button:not(.accordion-button),.rd-button:not(.accordion-button) {padding:10px;border-radius:5px;width:100%;border:none;background-color:#119CFF;background-image: linear-gradient(134deg, #008AFC 27%, #97F8F4 100%);}
|
.rd-button-primary:not(.accordion-button) {padding:10px;border-radius:5px;width:100%;border:none;background-color:#119CFF;background-image: linear-gradient(134deg, #008AFC 27%, #97F8F4 100%);}
|
||||||
|
|
||||||
/* ----- FORMS AND INPUTS ------- */
|
/* ----- FORMS AND INPUTS ------- */
|
||||||
label {color:#A5A5A5;font-size:14px}
|
label {color:#A5A5A5;font-size:14px}
|
||||||
@ -99,7 +103,7 @@ section.rd-four-blurb-box-one > .container {background:blue;overflow:hidden;posi
|
|||||||
.rd-six-card-section-one {row-gap:20px;position:relative}
|
.rd-six-card-section-one {row-gap:20px;position:relative}
|
||||||
.rd-six-card-section-one:before {content:"";display:block;position:absolute;top:0;bottom:0;right:0;width:100%;height:100%;background-repeat:no-repeat;background-size:contain;background-position: center right;background-image:url(/assets/rangeldigital/files/img/bg-gradient-right-1.jpg)}
|
.rd-six-card-section-one:before {content:"";display:block;position:absolute;top:0;bottom:0;right:0;width:100%;height:100%;background-repeat:no-repeat;background-size:contain;background-position: center right;background-image:url(/assets/rangeldigital/files/img/bg-gradient-right-1.jpg)}
|
||||||
.rd-six-card-section-one .card {min-height:300px}
|
.rd-six-card-section-one .card {min-height:300px}
|
||||||
.rd-six-card-section-one h2 {font-size:3rem;margin-bottom:60px;color:white}
|
.rd-six-card-section-one h2 {font-size:2.5rem;margin-bottom:60px;color:white;z-index:1;position:relative}
|
||||||
.rd-six-card-section-one h5 {font-size:1.5rem;color:#008AFC}
|
.rd-six-card-section-one h5 {font-size:1.5rem;color:#008AFC}
|
||||||
.rd-six-card-section-one .card-two p,.rd-six-card-section-one .card-two h5 {color:black}
|
.rd-six-card-section-one .card-two p,.rd-six-card-section-one .card-two h5 {color:black}
|
||||||
.rd-six-card-section-one p {color:white}
|
.rd-six-card-section-one p {color:white}
|
||||||
|
|||||||
Reference in New Issue
Block a user