• Ewout,

    Thanx for this beautyfull plugin.
    We’re only missing one thing.
    The invoice date isn’t set but is always the printdate.
    So if I reprint an invoice for tax purposes, I’ve an issue with the IRS.

    My alternative is, that I don’t print the invoice date. Or that I change the template description of the orderdate into invoice date. But that can’t be a permanente solution.

    please help.

    Regards,
    Bart

    https://www.ads-software.com/plugins/woocommerce-pdf-invoices-packing-slips/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hello Bart, the invoice date is set at the date the invoice is first created. If you reprint, it will use the ‘old’ invoice date. It is not, as you suggest, the ‘today’ date (that would indeed be wrong).
    If you would set an invoice date before the invoice is actually created, the IRS wouldn’t like that either ??

    That said, if you would like the Invoice Date field to actually show the Order Date, you can add this code to your themes functions.php:

    add_filter( 'wpo_wcpdf_invoice_date', 'wpo_wcpdf_invoice_date', 10, 2 );
    function wpo_wcpdf_invoice_date ( $formatted_invoice_date, $invoice_date ) {
    	global $wpo_wcpdf;
    	return $wpo_wcpdf->get_order_date();
    }

    Ewout

Viewing 1 replies (of 1 total)
  • The topic ‘invoice date’ is closed to new replies.