Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi,
    You can get the single unit price like this:

    <?php echo $item['single_price']; ?>

    Off course you will also need to add an extra column in the header row.

    I have no idea why the VAT amount jumps (doesn’t happen in my own tests). Are you using a different font? You could try wrapping the whole totals amount (line 97 in invoice.php) in a span tag:

    <td class="price"><span class="totals-price"><?php echo $total['value']; ?></span></td>

    if you still want the “includes xx VAT” on a new line you have to add that extra span to the declaration in style.css (line 222):

    table.totals td.price span span:first-child {
    	display: block;
    }
    Thread Starter yellyfish

    (@yellyfish)

    Ewout,

    Thanks!
    Both suggestions work.

    “Of course you will also need to add an extra column in the header row.”
    And an addition to this is to increase the number for colspan=3 to colspan=4 for line 90 in the original ‘invoice.php’ file.

    Plugin Contributor Ewout

    (@pomegranate)

    Great, thanks for the addition!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need a single unit price column’ is closed to new replies.