DotNetInvoice Forums

DotNetInvoice Invoicing Script Discussion Forum
Welcome to DotNetInvoice Forums Sign in | Join | Help
in Search

additional data tags?

Last post 07-16-2008, 4:25 PM by support. 1 replies.
Sort Posts: Previous Next
  •  07-12-2008, 11:45 AM 286

    additional data tags?

    Are there any data tags that would allow the first invoice email to contain the total amount due and the line item descriptions?

    If not where in the code can I add this information to the email?

  •  07-16-2008, 4:25 PM 287 in reply to 286

    Re: additional data tags?

    You can use any of the fields from the dni_invoices_get stored procedure.  You would use @amount and @tax to get show the totals for the invoice.  You could add fields to the stored procedure to return additional information to display.  dni_invoices_get is used on the invoice edit page when you click the send email button.  If you'd like to update the emails sent by the recurring tasks, look at dni_reminders_get_invoices.  You can see this being used in the class SendInvoiceReminders.

    To display the line item descriptions you would need to build the text in the stored procedure or look at modifying the code that does the replacing.  SendInvoiceReminders.Run for the automatic reminders or admin/invoices/edit.aspx for manual reminders.

    --
    DotNetInvoice Support
    support@dotnetinvoice.com

     


    ---
    Rob
    DotNetInvoice Support
View as RSS news feed in XML
Powered by Community Server (Personal Edition), by Telligent Systems