How to add order status in invoice pdf
-
I am using the plugin but it does not work when I added
<tr class="payment-method"> <th><?php _e( 'Payment Status:', 'woocommerce-pdf-invoices-packing-slips' ); ?></th> <td><?php $this->get_status(); ?></td> </tr>
into
<td class="order-data"> <table> <?php do_action( 'wpo_wcpdf_before_order_data', $this->type, $this->order ); ?> <?php if ( isset($this->settings['display_number']) ) { ?> <tr class="invoice-number"> <th><?php _e( 'Invoice Number:', 'woocommerce-pdf-invoices-packing-slips' ); ?></th> <td><?php $this->invoice_number(); ?></td> </tr> <?php } ?> <?php if ( isset($this->settings['display_date']) ) { ?> <tr class="invoice-date"> <th><?php _e( 'Invoice Date:', 'woocommerce-pdf-invoices-packing-slips' ); ?></th> <td><?php $this->invoice_date(); ?></td> </tr> <?php } ?> <tr class="order-number"> <th><?php _e( 'Order Number:', 'woocommerce-pdf-invoices-packing-slips' ); ?></th> <td><?php $this->order_number(); ?></td> </tr> <tr class="order-date"> <th><?php _e( 'Order Date:', 'woocommerce-pdf-invoices-packing-slips' ); ?></th> <td><?php $this->order_date(); ?></td> </tr> <tr class="payment-method"> <th><?php _e( 'Payment Method:', 'woocommerce-pdf-invoices-packing-slips' ); ?></th> <td><?php $this->get_payment_method(); ?></td> </tr> <?php do_action( 'wpo_wcpdf_after_order_data', $this->type, $this->order ); ?> </table> </td> </tr>
Can somebody guide me? Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to add order status in invoice pdf’ is closed to new replies.