- Posts: 46
- Thank you received: 1
Add Custom Field to the invoice
13 years 7 months ago #91640
by ponygirl
Add Custom Field to the invoice was created by ponygirl
Hi
Hopefully someone can help me with how to add a custom field to the invoice?
Also how do i increase the width of invoice date?
At present it shows like this
Date:
24 February
2013
But i need it like this
Date: 24 February 2013
Many thanks
Hopefully someone can help me with how to add a custom field to the invoice?
Also how do i increase the width of invoice date?
At present it shows like this
Date:
24 February
2013
But i need it like this
Date: 24 February 2013
Many thanks
Please Log in or Create an account to join the conversation.
13 years 7 months ago #91781
by Xavier
Replied by Xavier on topic Add Custom Field to the invoice
Hi,
To add/edit the content of the invoices, you can edit the view "order / invoice" to change the width of the date and display a custom field.
Which kind of custom field do you want to display ?
To add/edit the content of the invoices, you can edit the view "order / invoice" to change the width of the date and display a custom field.
Which kind of custom field do you want to display ?
Please Log in or Create an account to join the conversation.
13 years 7 months ago #91841
by ponygirl
Replied by ponygirl on topic Add Custom Field to the invoice
Hi Xavier
Thanks for your reply
The custom field i wish to sdd to the invoice is called Model Number and it uses the product table and is of a field type of text, column name is model_number
Thanks
Thanks for your reply
The custom field i wish to sdd to the invoice is called Model Number and it uses the product table and is of a field type of text, column name is model_number
Thanks
Please Log in or Create an account to join the conversation.
13 years 7 months ago #91921
by Xavier
Replied by Xavier on topic Add Custom Field to the invoice
So in the view, in the foreach for the products, you can add the code:
Code:
if(isset($product->model_number))
echo $product->model_number;
Please Log in or Create an account to join the conversation.
Time to create page: 0.189 seconds