• Resolved miba65

    (@miba65)


    I create a refund in woocomerce bill, in woocomerce bill everything ok.
    But in PDF invoice only show normal invoice, do not show refund and total amount not reduced.

    what can I do

    Maybe add code here

    <table class=”totals”>
    <tfoot>
    <?php foreach( $wpo_wcpdf->get_woocommerce_totals() as $key => $total ) : ?>
    <tr class=”<?php echo $key; ?>”>
    <td class=”no-borders”></td>
    <th class=”description”><?php echo $total[‘label’]; ?></th>
    <td class=”price”><span class=”totals-price”><?php echo $total[‘value’]; ?></span></td>
    </tr>
    <?php endforeach; ?>
    </tfoot>
    </table>

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

    (@pomegranate)

    Hi!
    Putting refunds in an invoice is a big no-no in accounting, which is why the invoice does not show the refunded amounts. To support refunds, the Professional extension is required, this lets you create separate, negative, invoices (called Credit Notes) to account for the refunded amounts. Creating a refund / credit note

    Ewout

    Thread Starter miba65

    (@miba65)

    OK thanks for the answer

    Michel

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Do not show refund to PDF invoice’ is closed to new replies.