mderuere
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] add page numberOh yes sorry !
I think I found the solution like that.<?php if ( $this->order->get_billing_country() != 'FR' ) : ?> <table>......</table> <?php endif; ?>
Merci
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] add page numberHi Ewout,
I added this table in invoice.php.
But I do not want to post it for billing country FranceCan you help me ?
<!–////////////CUSTOMS 1//////////////////–>
<table class=”custom” >
<tr>
<th colspan=”2″ style=”font-family: Verdana, Geneva, sans-serif; font-size:13px; font-weight:700; color:#000; background-color:#ccc; “>CUSTOMS</th>
</tr>
<tr>
<td class=”custom-titre”>Product origin</td>
<td class=”custom-text”>FRANCE</td>
</tr>
<tr>
<td class=”custom-titre”>ISV EORI #</td>
<td class=”custom-text”>FR 381 630 425 00035</td>
</tr>
<tr>
<td class=”custom-titre”>Incoterm</td>
<td class=”custom-text”>DAP</td>
</tr>
<tr>
<td class=”custom-titre”>VAT</td>
<td class=”custom-text”>get_template_path(); ?>/carre.gif” /> Intra-community supply exempt from VAT, art.138, Community Directive 2006/112/EC<br/>get_template_path(); ?>/carre.gif” />
VAT exemption, art.262-ter I, CGI, France.<b>
<?php
$texte2 =”Customer UE VAT Number : “;
?>
<?php if ( ” != ( $billing_eu_vat_number = get_post_meta( $order->get_id(), ‘_billing_eu_vat_number’, true ) ) ) {
echo esc_html ($texte2);
echo esc_html ( $billing_eu_vat_number );
}
?>
</b></td>
</tr>
<tr>
<td class=”custom-titre”>Customs tariff</td>
<td class=”custom-text”>382200</td>
</tr>
</table>Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] add page numberI place the code in child-theme’s functions.php and it’s works.
ThanksForum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] add page numberI place the code in bottom of invoice.php
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] add page numberI want to show the page counter on pdf invoice with this code. But this doesn’t work on first page.
add_action( ‘wpo_wcpdf_before_document’, ‘wpo_wcpdf_page_numbers’, 10, 2 );
function wpo_wcpdf_page_numbers( $document_type, $document ) {
echo ‘<div style=”position: fixed; bottom: 0cm; left: 0cm;”>Page {{PAGE_NUM}} / {{PAGE_COUNT}}</div>’;Could you please let me know how to display it?
Forum: Plugins
In reply to: [Democracy Poll] How to choose english lenguage?Hello Tkama
How to translate kama click counter into English or Frenchthanks