Announcement

Collapse
No announcement yet.

Add time to invoiced date

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Add time to invoiced date

    Hello is possible to create to a dynamic custom date in my invoice pdf like last dat for pay
    {{dateInvoiced +7d}}
    i read documentation but i didn't find anything
    thanks

  • #2
    have you tried this:

    Code:
    {{datetime\addDays(dateInvoiced, 7)}}

    Comment


    • #3
      hello
      i will try ! thanks

      Comment


      • #4
        hello i try it but pdf generation is broken other idea ?

        Comment


        • #5
          well i guess you can create a new field e.g invoiceLastDatePay and then use formula like below:

          Code:
          invoiceLastDatePay = datetime\addDays(dateInvoiced, 7);
          In your invoice use the new field like below:

          Code:
          {{dateFormat invoiceLastDatePay_RAW format='YYYY MMMM DD'}}
          ‚Äč

          Comment


          • #6
            Ah good idea !

            Comment


            • #7
              works thanks !

              Comment

              Working...
              X