New Zenner
- Join Date:
- Aug 2007
- Posts:
- 29
- Plugin Contributions:
- 0
File that controls the company field position in the Invoice
Witch is the file that control the field layout of the invoice?
I want to put the , company field at the end.
Thanks.
Views: 2,699
New Zenner
Witch is the file that control the field layout of the invoice?
I want to put the , company field at the end.
Thanks.
Black Belt
Grab some of the common text in the invoice and use the admin > tools > developer toolkit > to locate the files
New Zenner
kobra:
Grab some of the common text in the invoice and use the admin > tools > developer toolkit > to locate the files
I Know that process. But I can't find.
Company
Name
Address
Address
City, 0000
City, Country
And I want to move the field Company to the end
:huh:
Black Belt
KoBra:
Grab some of the common text in the invoice and use the admin > tools > developer toolkit > to locate the files
Not the specific text that you want as this is referenced and grabs the store details, other common text in the invoice to locate the file
Sensei
It's a little obscure, since the address details are built based on the appropriate format for the country they're related to.
The company name is simply added on top.
You can change it by finding the followingif ( (ACCOUNT_COMPANY == 'true') && (zen_not_null($company)) ) { $address = $company . $cr . $address; }and changing it like this:```
if ( (ACCOUNT_COMPANY == 'true') && (zen_not_null($company)) ) {
$address = [B]$address[/B] . $cr . [B]$company;[/B]
}
New Zenner
DrByte:
It's a little obscure, since the address details are built based on the appropriate format for the country they're related to.
The company name is simply added on top.
You can change it by finding the following
if ( (ACCOUNT_COMPANY == 'true') && (zen_not_null($company)) ) { $address = $company . $cr . $address; }and changing it like this:```
if ( (ACCOUNT_COMPANY == 'true') && (zen_not_null($company)) ) {
$address = [B]$address[/B] . $cr . [B]$company;[/B]
}
Hi, Yes is that. I've allready looked at this file but don't manage to find out what was the code the controled the position of the fields.
I have a little correction to make is:
if ( (ACCOUNT_COMPANY == 'true') && (zen_not_null($company)) ) {
$address_out = $address[B]_out[/B] . $cr . $company;
New Zenner
I cannot edit the other post...
I've find the file that controls the invoice in admin. Is located in:
/admin/includes/functions/general.php
Tell staff why this post should be reviewed.