Author Topic: Auto invoice with new Date  (Read 1206 times)

Offline yesitsme

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Dec 2014
  • Posts: 5116
  • Total likes: 2238
  • DansDeals.com Hat Tips 4
  • Gender: Male
    • View Profile
Auto invoice with new Date
« on: May 05, 2015, 03:06:29 PM »
I have a customer that has a few accounts, that i have to send a invoice every month, E-mail with attached invoice.

All the info is the same besides the date.

currently i edit attach & send every month manually

is there a simple way (script) to do it?
« Last Edit: May 05, 2015, 03:44:12 PM by yesitsme »
["-"]

Offline BAHayman

  • Administrator
  • Dansdeals Lifetime Platinum Elite
  • **********
  • Join Date: Mar 2010
  • Posts: 1939
  • Total likes: 28
  • DansDeals.com Hat Tips 0
    • View Profile
Re: auto invoice with new Date
« Reply #1 on: May 05, 2015, 03:17:26 PM »
Send from where? A server? Gmail/Google Apps?

Attachment is a document?

Offline yesitsme

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Dec 2014
  • Posts: 5116
  • Total likes: 2238
  • DansDeals.com Hat Tips 4
  • Gender: Male
    • View Profile
Re: auto invoice with new Date
« Reply #2 on: May 05, 2015, 03:28:10 PM »
Send from where? A server? Gmail/Google Apps?

Attachment is a document?
A linux server, pdf,
["-"]

Offline BAHayman

  • Administrator
  • Dansdeals Lifetime Platinum Elite
  • **********
  • Join Date: Mar 2010
  • Posts: 1939
  • Total likes: 28
  • DansDeals.com Hat Tips 0
    • View Profile
Re: auto invoice with new Date
« Reply #3 on: May 05, 2015, 03:33:55 PM »
A linux server, pdf,
You can try something like this: http://stackoverflow.com/a/9872494/104390

Then just set it up to run as a cronjob.

Offline an613

  • Dansdeals Platinum Elite
  • ****
  • Join Date: Apr 2010
  • Posts: 319
  • Total likes: 2
  • DansDeals.com Hat Tips 1
    • View Profile
Re: Auto invoice with new Date
« Reply #4 on: May 05, 2015, 04:02:45 PM »
Does the invoice data change from month to month? How are you generating it now?

Offline yesitsme

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Dec 2014
  • Posts: 5116
  • Total likes: 2238
  • DansDeals.com Hat Tips 4
  • Gender: Male
    • View Profile
Re: Auto invoice with new Date
« Reply #5 on: May 05, 2015, 04:16:04 PM »
Does the invoice data change from month to month? How are you generating it now?
No just the date, and the invoice #, Manually.
["-"]

Offline an613

  • Dansdeals Platinum Elite
  • ****
  • Join Date: Apr 2010
  • Posts: 319
  • Total likes: 2
  • DansDeals.com Hat Tips 1
    • View Profile
Re: Auto invoice with new Date
« Reply #6 on: May 05, 2015, 09:31:03 PM »
No just the date, and the invoice #, Manually.

If you know how to code, it should be really easy to just create a single template and then generate the entire PDF from scratch. I've used both tcpdf (php) and jasper (java) and theyre both pretty easy