';
print '| '.$langs->trans("CompanyInfo").' | '.$langs->trans("Value").' |
'."\n";
// Name
-print ' | ';
+print ' |
| ';
print 'global->MAIN_OPTIMIZEFORTEXTBROWSER) ? '' : ' autofocus="autofocus"').'> |
'."\n";
// Address
@@ -478,36 +478,36 @@ if (!empty($conf->barcode->enabled)) {
// Logo
print ' | ';
-print '| ';
+print ' | ';
+print '';
print ' .') ';
}
} else {
print '  ';
}
-print ' | ';
+print '';
print ' |
';
// Logo (squarred)
print ' | ';
-print '| ';
+print ' | ';
+print '';
if (!empty($mysoc->logo_squarred_mini)) {
print ' '.img_delete($langs->trans("Delete")).'';
if (file_exists($conf->mycompany->dir_output.'/logos/thumbs/'.$mysoc->logo_squarred_mini)) {
- print ' ';
+ print ' ';
print ' .') ';
}
} else {
print '  ';
}
-print ' | ';
+print '';
print ' |
';
// Note
diff --git a/htdocs/compta/tva/document.php b/htdocs/compta/tva/document.php
index 7f860491a8d..2f15044f808 100644
--- a/htdocs/compta/tva/document.php
+++ b/htdocs/compta/tva/document.php
@@ -70,8 +70,8 @@ if (!$sortfield) $sortfield = "name";
$object = new Tva($db);
if ($id > 0) $object->fetch($id);
-$upload_dir = $conf->tax->dir_output.'/'.dol_sanitizeFileName($object->ref);
-$modulepart = 'tax';
+$upload_dir = $conf->tax->dir_output.'/vat/'.dol_sanitizeFileName($object->ref);
+$modulepart = 'tax-vat';
/*
@@ -144,7 +144,6 @@ if ($object->id)
dol_fiche_end();
- $modulepart = 'tax';
$permission = $user->rights->tax->charges->creer;
$permtoedit = $user->rights->fournisseur->facture->creer;
$param = '&id='.$object->id;
diff --git a/htdocs/core/class/html.formcompany.class.php b/htdocs/core/class/html.formcompany.class.php
index 2a538aa3b47..69858876fef 100644
--- a/htdocs/core/class/html.formcompany.class.php
+++ b/htdocs/core/class/html.formcompany.class.php
@@ -455,9 +455,10 @@ class FormCompany extends Form
* @param int $country_codeid 0=list for all countries, otherwise list only country requested
* @param string $filter Add a SQL filter on list
* @param string $htmlname HTML name of select
+ * @param string $morecss More CSS
* @return string String with HTML select
*/
- public function select_juridicalstatus($selected = '', $country_codeid = 0, $filter = '', $htmlname = 'forme_juridique_code')
+ public function select_juridicalstatus($selected = '', $country_codeid = 0, $filter = '', $htmlname = 'forme_juridique_code', $morecss = '')
{
// phpcs:enable
global $conf, $langs, $user;
@@ -479,7 +480,7 @@ class FormCompany extends Form
if ($resql)
{
$out .= '';
- $out .= '