[Skip to main content](#vessel-content)

#   Attached PDF Invoice plugin

##

- **[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")**
- [![Lumiga's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31479.png)](/forum/user/31479-lumiga "View Lumiga's Profile") Topic Author
- [ Offline](/forum/user/31479-lumiga)

Less More

- Posts: 645
- Thank you received: 26
-
-
-

9 years 8 months ago -  9 years 8 months ago [\#265763](#265763) by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")  *[Attached PDF Invoice plugin](/forum/30-integrations/889515-attached-pdf-invoice-plugin#265763 "-- url of the page with the problem -- : -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7  Hi supportteam,  Ik like to place the date in a table on the same height as the store address but the date doesn't show up. It's the same code as below but in a table it doesn't work anaymore.  Do you know how to fix this?  Kind regards, Lumiga")* was created by *[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")*

-- url of the page with the problem -- :
-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.5
-- PHP version -- : 7

Hi supportteam,

Ik like to place the date in a table on the same height as the store address but the date doesn't show up.
It's the same code as below but in a table it doesn't work anaymore.

Do you know how to fix this?

Kind regards,
Lumiga

[ ![22.jpg](/forum/attachment/37228) ](/forum/attachment/37228 "22.jpg")

---

Kind regards,
Lumiga

- [ ![22.jpg](/forum/attachment/37228) ](/forum/attachment/37228 "22.jpg") [ ](/forum/attachment/37228?download=1 "22.jpg")

Last edit: 9 years 8 months ago by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84ODk1MTUtYXR0YWNoZWQtcGRmLWludm9pY2UtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 8 months ago [\#265764](#265764) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Attached PDF Invoice plugin](/forum/30-integrations/889515-attached-pdf-invoice-plugin#265764 "-- url of the page with the problem -- : -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7  Hi supportteam,  Ik like to place the date in a table on the same height as the store address but the date doesn't show up. It's the same code as below but in a table it doesn't work anaymore.  Do you know how to fix this?  Kind regards, Lumiga")*

Hello,

Please take a further look at the code ; you will see some interesting code around the line 70.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84ODk1MTUtYXR0YWNoZWQtcGRmLWludm9pY2UtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")**
- [![Lumiga's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31479.png)](/forum/user/31479-lumiga "View Lumiga's Profile") Topic Author
- [ Offline](/forum/user/31479-lumiga)

Less More

- Posts: 645
- Thank you received: 26
-
-
-

9 years 7 months ago [\#265969](#265969) by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")  Replied by *[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")* on topic *[Attached PDF Invoice plugin](/forum/30-integrations/889515-attached-pdf-invoice-plugin#265969 "-- url of the page with the problem -- : -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7  Hi supportteam,  Ik like to place the date in a table on the same height as the store address but the date doesn't show up. It's the same code as below but in a table it doesn't work anaymore.  Do you know how to fix this?  Kind regards, Lumiga")*

Hi Jerome,

I like puzzles ![;-)](/media/kunena/emoticons/24.png ";-)")

But I don't know what you mean. Around line 70 has something to do with the invoice number. Right?
But that's another question (ticket) which is clear to me now, but in this case I don't know why there is no date showing up when I put the same code as below into a table at the top.

Hope you can help me or give me another hint.

Kind regards,
Lumiga

---

Kind regards,
Lumiga

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84ODk1MTUtYXR0YWNoZWQtcGRmLWludm9pY2UtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")**
- [![Lumiga's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31479.png)](/forum/user/31479-lumiga "View Lumiga's Profile") Topic Author
- [ Offline](/forum/user/31479-lumiga)

Less More

- Posts: 645
- Thank you received: 26
-
-
-

9 years 7 months ago -  9 years 7 months ago [\#265972](#265972) by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")  Replied by *[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")* on topic *[Attached PDF Invoice plugin](/forum/30-integrations/889515-attached-pdf-invoice-plugin#265972 "-- url of the page with the problem -- : -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7  Hi supportteam,  Ik like to place the date in a table on the same height as the store address but the date doesn't show up. It's the same code as below but in a table it doesn't work anaymore.  Do you know how to fix this?  Kind regards, Lumiga")*

Sorry, it's working now ![;-)](/media/kunena/emoticons/24.png ";-)")

So it's only showing up the date when your order is confirmed. Am I Right?
But the I am curious why the date below the invoice number or is showing up when the order wasn't confirmed yet.

But anyway 'the invoice is only send and create after a order is confirmed so I'm happy now.

Kind regards,
Lumiga

---

Kind regards,
Lumiga

Last edit: 9 years 7 months ago by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84ODk1MTUtYXR0YWNoZWQtcGRmLWludm9pY2UtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

9 years 7 months ago [\#265974](#265974) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Attached PDF Invoice plugin](/forum/30-integrations/889515-attached-pdf-invoice-plugin#265974 "-- url of the page with the problem -- : -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7  Hi supportteam,  Ik like to place the date in a table on the same height as the store address but the date doesn't show up. It's the same code as below but in a table it doesn't work anaymore.  Do you know how to fix this?  Kind regards, Lumiga")*

Hi,

The invoice is created when the order is confirmed.
When the order is not yet confirmed the field order_invoice_created is empty.
The second line of code works because before you have the line:
$order-&gt;order_invoice_created = $order-&gt;order_created;
which sets the order creation date as the invoice creation date when the order is not yet confirmed.
So in order code, if you used order_created instead of order_invoice_created, it would work all the time but it would display the order creation date and not the invoice creation date.
So the solution depends on what you want...

The following user(s) said Thank You: [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84ODk1MTUtYXR0YWNoZWQtcGRmLWludm9pY2UtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")**
- [![Lumiga's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31479.png)](/forum/user/31479-lumiga "View Lumiga's Profile") Topic Author
- [ Offline](/forum/user/31479-lumiga)

Less More

- Posts: 645
- Thank you received: 26
-
-
-

9 years 7 months ago [\#266103](#266103) by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")  Replied by *[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")* on topic *[Attached PDF Invoice plugin](/forum/30-integrations/889515-attached-pdf-invoice-plugin#266103 "-- url of the page with the problem -- : -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7  Hi supportteam,  Ik like to place the date in a table on the same height as the store address but the date doesn't show up. It's the same code as below but in a table it doesn't work anaymore.  Do you know how to fix this?  Kind regards, Lumiga")*

Thanks Nicolas!

---

Kind regards,
Lumiga

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84ODk1MTUtYXR0YWNoZWQtcGRmLWludm9pY2UtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.060 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
