Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
36ac380cac
@ -3496,7 +3496,7 @@ abstract class CommonObject
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return if a country is inside the EEC (European Economic Community)
|
* Return if a country is inside the EEC (European Economic Community)
|
||||||
* @deprecated
|
* @deprecated Use function isInEEC function instead
|
||||||
*
|
*
|
||||||
* @return boolean true = country inside EEC, false = country outside EEC
|
* @return boolean true = country inside EEC, false = country outside EEC
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -573,7 +573,7 @@ function getFormeJuridiqueLabel($code)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return if a country is inside the EEC (European Economic Community)
|
* Return if a country of an object is inside the EEC (European Economic Community)
|
||||||
* TODO Add a field into country dictionary.
|
* TODO Add a field into country dictionary.
|
||||||
*
|
*
|
||||||
* @param Object $object Object
|
* @param Object $object Object
|
||||||
|
|||||||
@ -80,7 +80,7 @@ class modWebsite extends DolibarrModules
|
|||||||
|
|
||||||
// New pages on tabs
|
// New pages on tabs
|
||||||
// -----------------
|
// -----------------
|
||||||
//$this->tabs[] = array('data'=>'thirdparty:+website:WebSites:website:($conf->societe->enabled && $user->rights->societe->lire):/societe/website.php?mainmenu=home&id=__ID__'); // To add a new tab identified by code tabname1
|
//$this->tabs[] = array(); // To add a new tab identified by code tabname1
|
||||||
|
|
||||||
// Boxes
|
// Boxes
|
||||||
//------
|
//------
|
||||||
|
|||||||
@ -75,8 +75,8 @@ Town=City
|
|||||||
Web=Web
|
Web=Web
|
||||||
Poste= Position
|
Poste= Position
|
||||||
DefaultLang=Language by default
|
DefaultLang=Language by default
|
||||||
VATIsUsed=VAT is used
|
VATIsUsed=Sales tax is used
|
||||||
VATIsNotUsed=VAT is not used
|
VATIsNotUsed=Sales tax is not used
|
||||||
CopyAddressFromSoc=Fill address with third party address
|
CopyAddressFromSoc=Fill address with third party address
|
||||||
ThirdpartyNotCustomerNotSupplierSoNoRef=Thirdparty neither customer nor supplier, no available refering objects
|
ThirdpartyNotCustomerNotSupplierSoNoRef=Thirdparty neither customer nor supplier, no available refering objects
|
||||||
PaymentBankAccount=Payment bank account
|
PaymentBankAccount=Payment bank account
|
||||||
@ -239,7 +239,7 @@ ProfId3TN=Prof Id 3 (Douane code)
|
|||||||
ProfId4TN=Prof Id 4 (BAN)
|
ProfId4TN=Prof Id 4 (BAN)
|
||||||
ProfId5TN=-
|
ProfId5TN=-
|
||||||
ProfId6TN=-
|
ProfId6TN=-
|
||||||
ProfId1US=Prof Id
|
ProfId1US=Prof Id (FEIN)
|
||||||
ProfId2US=-
|
ProfId2US=-
|
||||||
ProfId3US=-
|
ProfId3US=-
|
||||||
ProfId4US=-
|
ProfId4US=-
|
||||||
@ -255,8 +255,8 @@ ProfId1DZ=RC
|
|||||||
ProfId2DZ=Art.
|
ProfId2DZ=Art.
|
||||||
ProfId3DZ=NIF
|
ProfId3DZ=NIF
|
||||||
ProfId4DZ=NIS
|
ProfId4DZ=NIS
|
||||||
VATIntra=VAT number
|
VATIntra=Sales tax ID
|
||||||
VATIntraShort=VAT number
|
VATIntraShort=Tax ID
|
||||||
VATIntraSyntaxIsValid=Syntax is valid
|
VATIntraSyntaxIsValid=Syntax is valid
|
||||||
ProspectCustomer=Prospect / Customer
|
ProspectCustomer=Prospect / Customer
|
||||||
Prospect=Prospect
|
Prospect=Prospect
|
||||||
|
|||||||
@ -716,7 +716,7 @@ else
|
|||||||
// Ref
|
// Ref
|
||||||
if (! empty($arrayfields['p.ref']['checked']))
|
if (! empty($arrayfields['p.ref']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="tdoverflowmax150">';
|
print '<td class="tdoverflowmax200">';
|
||||||
print $product_static->getNomUrl(1);
|
print $product_static->getNomUrl(1);
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
@ -724,7 +724,7 @@ else
|
|||||||
// Ref supplier
|
// Ref supplier
|
||||||
if (! empty($arrayfields['pfp.ref_fourn']['checked']))
|
if (! empty($arrayfields['pfp.ref_fourn']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="tdoverflowmax150">';
|
print '<td class="tdoverflowmax200">';
|
||||||
print $product_static->getNomUrl(1);
|
print $product_static->getNomUrl(1);
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
|
|||||||
@ -1230,7 +1230,7 @@ else
|
|||||||
print '<td class="nowrap">';
|
print '<td class="nowrap">';
|
||||||
$s = '<input type="text" class="flat maxwidthonsmartphone" name="tva_intra" id="intra_vat" maxlength="20" value="'.$object->tva_intra.'">';
|
$s = '<input type="text" class="flat maxwidthonsmartphone" name="tva_intra" id="intra_vat" maxlength="20" value="'.$object->tva_intra.'">';
|
||||||
|
|
||||||
if (empty($conf->global->MAIN_DISABLEVATCHECK))
|
if (empty($conf->global->MAIN_DISABLEVATCHECK) && isInEEC($object))
|
||||||
{
|
{
|
||||||
$s.=' ';
|
$s.=' ';
|
||||||
|
|
||||||
@ -1849,7 +1849,7 @@ else
|
|||||||
print '<td colspan="3">';
|
print '<td colspan="3">';
|
||||||
$s ='<input type="text" class="flat maxwidthonsmartphone" name="tva_intra" id="intra_vat" maxlength="20" value="'.$object->tva_intra.'">';
|
$s ='<input type="text" class="flat maxwidthonsmartphone" name="tva_intra" id="intra_vat" maxlength="20" value="'.$object->tva_intra.'">';
|
||||||
|
|
||||||
if (empty($conf->global->MAIN_DISABLEVATCHECK))
|
if (empty($conf->global->MAIN_DISABLEVATCHECK) && isInEEC($object))
|
||||||
{
|
{
|
||||||
$s.=' ';
|
$s.=' ';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user