pdf-reminder-simple

    0.2.3 • Public • Published

    pdf-reminder-simple

    NPM Version NPM Downloads

    A simple pdf reminder template

    Usage

    import moment from "moment";
    import simpleReminder from "pdf-reminder-simple";
     
    simpleReminder({
      invertHeader: true,
      organizationAddress: {
        name: "Orbin",
        street: "Strasse 333",
        postCode: "3474",
        city: "Stadt"
      },
      billingAddress: {
        name: "Mein Kontakt",
        attn: "Mr. Melk",
        street: "Strasse 2",
        postCode: "78556",
        city: "Andere Stadt"
      },
      date: moment(),
      customerName: "MyCompany GmbH",
      reminderName: "1. Mahnung",
      reminderText: "Sie haben die Rechnung nicht bezahlt!",
      invoiceNumber: 12,
      invoiceDate: moment(),
      invoiceTotal: 430,
      feeAmount: 10,
      total: 440,
      currency: "EUR",
      note: "Meine Notiz"
    }).print("reminder.pdf");

    License

    MIT

    Install

    npm i pdf-reminder-simple

    DownloadsWeekly Downloads

    11

    Version

    0.2.3

    License

    MIT

    Last publish

    Collaborators

    • dnii
    • ardean