Change the DNI site on the invoice

31.05.2023 11:59
#1
cagibaja
Joomshopping forum user no avatar
Name: cagibaja
11.03.2022
Posts: 71
Quote
Change the DNI site on the invoice

When generating the invoice, the ID appears above the name, how can I put it below the name, I don't remember how to do it.
attached screenshots
Change the DNI site on the invoice
whatsapp_image_2023-05-19_at_13.08.03.jpeg


Joomla: 4.3.2
JoomShopping: 5.1.2
PHP: 8
Website Url: https://libreriaaranda.es/
 
31.05.2023 16:19
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25942
Quote
Aw: Change the DNI site on the invoice

02889871J - User id or???
-----
Your used addon ?

 
31.05.2023 17:46
#3
cagibaja
Joomshopping forum user no avatar
Name: cagibaja
11.03.2022
Posts: 71
Quote
Aw: Change the DNI site on the invoice

I think I have it set as an imposed ID in the DNI field

 
31.05.2023 19:31
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25942
Quote
Aw: Change the DNI site on the invoice

DNI (Tax number) - Not shown in order.

Addon or changed code?

See code
components\com_jshopping\Pdf\Order.php

Row ~90
$address_data = array(
$order->firma_name,
trim($order->f_name." ".$order->l_name." ".$order->m_name),
trim(trim($order->street." ".$order->street_nr)." ".$order->home." ".$order->apartment),
trim($order->zip." ".$order->city),
$order->state,
$order->country
);

change to

$address_data = array(
$order->firma_name,
trim($order->f_name." ".$order->l_name." ".$order->m_name),
trim($order->tax_number),
trim(trim($order->street." ".$order->street_nr)." ".$order->home." ".$order->apartment),
trim($order->zip." ".$order->city),
$order->state,
$order->country
);

 
01.06.2023 11:04
#5
cagibaja
Joomshopping forum user no avatar
Name: cagibaja
11.03.2022
Posts: 71
Quote
Aw: Change the DNI site on the invoice

Perfect! Thank you so much

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.