2.0.3 • Published 8 years ago

mjml-invoice-item v2.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

mjml-invoice-item

<mjml>
  <mj-body>
    <mj-container>
      <mj-section>
        <mj-column>
          <mj-invoice format="0,00.00€" intl="name:Product Name">
            <mj-invoice-item name="TV" price="549€" quantity="1" />
            <mj-invoice-item name="DVD - Iron Man II" price="22.99€" quantity="2" />
          </mj-invoice>
        </mj-column>
      </mj-section>
    </mj-container>
  </mj-body>
</mjml>

Display a row in an mj-invoice component

attributeunitdescriptiondefault value
colorcolortext color#747474
font-familystringfont nameRoboto, Ubuntu, Helvetica, Arial, sans-serif
font-sizepx/emfont size14px
line-heightpercent/pxspace between lines22px
borderstringborder-bottom header & border-top footer1px solid #ecedee
text-alignstringcss text alignleft (quantity column: right)
paddingpxsupports up to 4 parameters10px 25px
padding-toppxtop offsetn/a
padding-bottompxbottom offsetn/a
padding-leftpxleft offsetn/a
padding-rightpxright offsetn/a
namestringitem namen/a
pricestring/numberprice (should already be formatted)0
quantitynumberquantity0
2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

2.0.0-beta.6

8 years ago

2.0.0-beta.5

8 years ago

2.0.0-beta.4

8 years ago

2.0.0-beta.3

8 years ago

2.0.0-beta.2

8 years ago