diff --git a/htdocs/core/tpl/objectline_create.tpl.php b/htdocs/core/tpl/objectline_create.tpl.php
index a69ab60c254..543b0724de2 100644
--- a/htdocs/core/tpl/objectline_create.tpl.php
+++ b/htdocs/core/tpl/objectline_create.tpl.php
@@ -50,25 +50,23 @@ if (in_array($object->element,array('propal','facture','invoice','commande','ord
global->MAIN_VIEW_LINE_NUMBER) ? ' colspan="2"' : ''); ?>>
trans('AddNewLine'); ?>trans("FreeZone"); ?>
|
- |
- |
+ trans('VAT'); ?> |
+ trans('PriceUHT'); ?> |
- |
+ trans('PriceUTTC'); ?> |
- |
- |
+ trans('Qty'); ?> |
+ trans('ReductionShort'); ?> |
';
if ($conf->global->MARGIN_TYPE == "1")
echo $langs->trans('BuyingPrice');
else
echo $langs->trans('CostPrice');
- echo '';
?>
|
= 0 && (! empty($conf->product->enabled) || ! empty($conf->service->enabled)))
{
+ echo '';
+ }
+ else
+ {
+ echo '';
+ // Show type selector
+ if ($forceall >= 0)
+ {
+ echo $langs->trans("FreeLineOfType");
+ echo ' ';
+ }
}
echo $form->select_type_of_lines(isset($_POST["type"])?$_POST["type"]:-1,'type',1,1,$forceall);
@@ -128,9 +131,8 @@ else {
{
if ($forceall >= 0) echo '
';
echo '';
- echo ' ';
-
echo '';
+ echo ' ';
if (empty($senderissupplier))
{
if (! empty($conf->product->enabled) && empty($conf->service->enabled)) echo $langs->trans('PredefinedProductsToSell');
diff --git a/htdocs/projet/card.php b/htdocs/projet/card.php
index f60d56cb633..b376133699b 100644
--- a/htdocs/projet/card.php
+++ b/htdocs/projet/card.php
@@ -434,9 +434,13 @@ if ($action == 'create' && $user->rights->projet->creer)
// Customer
print '| '.$langs->trans("ThirdParty").' | ';
- $text=$form->select_company(GETPOST('socid','int'),'socid','',1,1);
- $texthelp=$langs->trans("IfNeedToUseOhterObjectKeepEmpty");
- print $form->textwithtooltip($text.' '.img_help(),$texthelp,1);
+ $text=$form->select_company(GETPOST('socid','int'),'socid','',1,1);
+ if (empty($conf->global->PROJECT_CAN_ALWAYS_LINK_TO_ALL_SUPPLIERS) && empty($conf->dol_use_jmobile))
+ {
+ $texthelp=$langs->trans("IfNeedToUseOhterObjectKeepEmpty");
+ print $form->textwithtooltip($text.' '.img_help(),$texthelp,1);
+ }
+ else print $text;
print ' |
';
// Public
diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php
index 701efe742eb..3a3bba15653 100644
--- a/htdocs/societe/soc.php
+++ b/htdocs/societe/soc.php
@@ -782,16 +782,18 @@ else
print '';
print $langs->trans("ThirdPartyType").': ';
print '
';
- print '';
print '';
+ print '';
print ' ';
print $langs->trans("Company/Fundation");
print '';
print ' ';
+ print '';
print '';
print ' ';
print $langs->trans("Individual");
- print ' ('.$langs->trans("ToCreateContactWithSameName").')';
+ print '('.$langs->trans("ToCreateContactWithSameName").')
';
+ print '';
print '';
print "
\n";
}