• Resolved pchulpfriesland

    (@pchulpfriesland)


    Hi,

    Is it possible to change the address format on the invoice? In the Netherlands the address format is: ‘street name [space] house number [new line] zip code [space] city’.

    Is it possible to open invoice by Permalink on a new tabblad (target_blank)?

    Kind regards,

    Tim Dondorp

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Stiofan

    (@stiofansisland)

    Hi @pchulpfriesland,

    We don’t have an option to change that currently but our devs will add a hook in the next release to make this possible.

    Thanks,

    Stiofan

    Plugin Author Stiofan

    (@stiofansisland)

    Hi Tim,

    This was added in the latest release, once you have updated you can use the below code snippet to change the format.

    add_filter( 'wpinv_get_full_address_format', function( $format ) {
        return "{{address}} \n {{zip}} {{city}} \n {{country}}";
    } );

    Thanks,

    Stiofan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change address format, target_blank’ is closed to new replies.