diff --git a/htdocs/accountancy/customer/lines.php b/htdocs/accountancy/customer/lines.php
index 3385eb99b0e..6a5196288e2 100644
--- a/htdocs/accountancy/customer/lines.php
+++ b/htdocs/accountancy/customer/lines.php
@@ -358,6 +358,7 @@ if ($result) {
// Ref Invoice
print '
' . $facture_static->getNomUrl(1) . ' | ';
+ // Date invoice
print '' . dol_print_date($db->jdate($objp->datef), 'day') . ' | ';
// Ref Product
@@ -377,7 +378,13 @@ if ($result) {
print '' . vatrate($objp->tva_tx.($objp->vat_src_code?' ('.$objp->vat_src_code.')':'')) . ' | ';
- print '' . $langs->trans("Country".$objp->country_code) .' ('.$objp->country_code.') | ';
+ // Country
+ print '';
+ if ($objp->country_code)
+ {
+ print $langs->trans("Country".$objp->country_code) .' ('.$objp->country_code.')';
+ }
+ print ' | ';
print '' . $objp->tva_intra . ' | ';
diff --git a/htdocs/accountancy/supplier/lines.php b/htdocs/accountancy/supplier/lines.php
index a815e5b858b..730aecf9dc1 100644
--- a/htdocs/accountancy/supplier/lines.php
+++ b/htdocs/accountancy/supplier/lines.php
@@ -367,6 +367,7 @@ if ($result) {
print $objp->invoice_label;
print '';
+ // Date invoice
print '' . dol_print_date($db->jdate($objp->datef), 'day') . ' | ';
// Ref product
@@ -387,7 +388,12 @@ if ($result) {
print '' . vatrate($objp->tva_tx.($objp->vat_src_code?' ('.$objp->vat_src_code.')':'')) . ' | ';
- print '' . $langs->trans("Country".$objp->country_code) .' ('.$objp->country_code.') | ';
+ print '';
+ if ($objp->country_code)
+ {
+ print $langs->trans("Country".$objp->country_code) .' ('.$objp->country_code.')';
+ }
+ print ' | ';
print '' . $objp->tva_intra . ' | ';