';
print '';
print ''.$langs->trans("Parameter").' '.$langs->trans("Value").' ';
-print ' ';
+print ' ';
print " \n";
print ''.$langs->trans("SyslogLevel").' ';
diff --git a/htdocs/admin/translation.php b/htdocs/admin/translation.php
index 6b893a4a78b..37b6bb5cc52 100644
--- a/htdocs/admin/translation.php
+++ b/htdocs/admin/translation.php
@@ -520,7 +520,7 @@ if ($mode == 'searchkey')
if ($i > ($offset + $limit)) break;
print ''.$langcode.' '.$key.' ';
print dol_escape_htmltag($val);
- print ' ';
+ print ' ';
if (! empty($newlangfileonly->tab_translate[$key]))
{
if ($val != $newlangfileonly->tab_translate[$key])
diff --git a/htdocs/api/class/api_setup.class.php b/htdocs/api/class/api_setup.class.php
index 39c1f8d6db6..498abb61a7b 100644
--- a/htdocs/api/class/api_setup.class.php
+++ b/htdocs/api/class/api_setup.class.php
@@ -1080,8 +1080,8 @@ class Setup extends DolibarrApi
$out.=' ' . $langs->trans("Filename") . ' ';
$out.='' . $langs->trans("ExpectedChecksum") . ' ';
$out.='' . $langs->trans("CurrentChecksum") . ' ';
- $out.='' . $langs->trans("Size") . ' ';
- $out.='' . $langs->trans("DateModification") . ' ';
+ $out.='' . $langs->trans("Size") . ' ';
+ $out.='' . $langs->trans("DateModification") . ' ';
$out.=' '."\n";
$tmpfilelist2 = dol_sort_array($file_list['updated'], 'filename');
if (is_array($tmpfilelist2) && count($tmpfilelist2))
@@ -1097,8 +1097,8 @@ class Setup extends DolibarrApi
$out.=''.$file['md5'].' ' . "\n";
$size = dol_filesize(DOL_DOCUMENT_ROOT.'/'.$file['filename']);
$totalsize += $size;
- $out.=''.dol_print_size($size).' ' . "\n";
- $out.=''.dol_print_date(dol_filemtime(DOL_DOCUMENT_ROOT.'/'.$file['filename']),'dayhour').' ' . "\n";
+ $out.=''.dol_print_size($size).' ' . "\n";
+ $out.=''.dol_print_date(dol_filemtime(DOL_DOCUMENT_ROOT.'/'.$file['filename']),'dayhour').' ' . "\n";
$out.="\n";
}
$out.='';
@@ -1106,8 +1106,8 @@ class Setup extends DolibarrApi
$out.=''.$langs->trans("Total").' ' . "\n";
$out.=' ' . "\n";
$out.=' ' . "\n";
- $out.=''.dol_print_size($totalsize).' ' . "\n";
- $out.=' ' . "\n";
+ $out.=''.dol_print_size($totalsize).' ' . "\n";
+ $out.=' ' . "\n";
$out.=" \n";
}
else
@@ -1130,8 +1130,8 @@ class Setup extends DolibarrApi
$out.='' . $langs->trans("Filename") . ' ';
$out.='' . $langs->trans("ExpectedChecksum") . ' ';
$out.='' . $langs->trans("CurrentChecksum") . ' ';
- $out.='' . $langs->trans("Size") . ' ';
- $out.='' . $langs->trans("DateModification") . ' ';
+ $out.='' . $langs->trans("Size") . ' ';
+ $out.='' . $langs->trans("DateModification") . ' ';
$out.=''."\n";
$tmpfilelist3 = dol_sort_array($file_list['added'], 'filename');
if (is_array($tmpfilelist3) && count($tmpfilelist3))
@@ -1147,8 +1147,8 @@ class Setup extends DolibarrApi
$out.=''.$file['md5'].' ' . "\n";
$size = dol_filesize(DOL_DOCUMENT_ROOT.'/'.$file['filename']);
$totalsize += $size;
- $out.=''.dol_print_size($size).' ' . "\n";
- $out.=''.dol_print_date(dol_filemtime(DOL_DOCUMENT_ROOT.'/'.$file['filename']),'dayhour').' ' . "\n";
+ $out.=''.dol_print_size($size).' ' . "\n";
+ $out.=''.dol_print_date(dol_filemtime(DOL_DOCUMENT_ROOT.'/'.$file['filename']),'dayhour').' ' . "\n";
$out.="\n";
}
$out.='';
@@ -1156,8 +1156,8 @@ class Setup extends DolibarrApi
$out.=''.$langs->trans("Total").' ' . "\n";
$out.=' ' . "\n";
$out.=' ' . "\n";
- $out.=''.dol_print_size($totalsize).' ' . "\n";
- $out.=' ' . "\n";
+ $out.=''.dol_print_size($totalsize).' ' . "\n";
+ $out.=' ' . "\n";
$out.=" \n";
}
else
diff --git a/htdocs/asset/list.php b/htdocs/asset/list.php
index cb0a8cca7b2..fa1ef9f2760 100644
--- a/htdocs/asset/list.php
+++ b/htdocs/asset/list.php
@@ -469,7 +469,7 @@ if (isset($totalarray['pos']))
while ($i < $totalarray['nbfield'])
{
$i++;
- if (! empty($totalarray['pos'][$i])) print ''.price($totalarray['val'][$totalarray['pos'][$i]]).' ';
+ if (! empty($totalarray['pos'][$i])) print ''.price($totalarray['val'][$totalarray['pos'][$i]]).' ';
else
{
if ($i == 1)
diff --git a/htdocs/asset/type.php b/htdocs/asset/type.php
index b8a282430cc..861bbd2130e 100644
--- a/htdocs/asset/type.php
+++ b/htdocs/asset/type.php
@@ -299,9 +299,9 @@ if (! $rowid && $action != 'create' && $action != 'edit')
print '';
if ($user->rights->asset->write)
- print 'rowid.'">'.img_edit().' ';
+ print 'rowid.'">'.img_edit().' ';
else
- print ' ';
+ print ' ';
print "";
$i++;
}
diff --git a/htdocs/blockedlog/admin/blockedlog_list.php b/htdocs/blockedlog/admin/blockedlog_list.php
index 49a4daa3b3f..7ce4ef04303 100644
--- a/htdocs/blockedlog/admin/blockedlog_list.php
+++ b/htdocs/blockedlog/admin/blockedlog_list.php
@@ -498,7 +498,7 @@ if (is_array($blocks))
print ''.$object_link.' ';
// Amount
- print ''.price($block->amounts).' ';
+ print ''.price($block->amounts).' ';
// Details link
print ''.img_info($langs->trans('ShowDetails')).' ';
diff --git a/htdocs/bookmarks/list.php b/htdocs/bookmarks/list.php
index cca978d748b..e26b38c2513 100644
--- a/htdocs/bookmarks/list.php
+++ b/htdocs/bookmarks/list.php
@@ -179,7 +179,7 @@ if ($resql)
print ''.dol_print_date($db->jdate($obj->dateb),'day')." ";
// Position
- print ''.$obj->position." ";
+ print ''.$obj->position." ";
// Actions
print '';
diff --git a/htdocs/categories/index.php b/htdocs/categories/index.php
index b7e99e50ca0..273a23f5b1e 100644
--- a/htdocs/categories/index.php
+++ b/htdocs/categories/index.php
@@ -178,7 +178,7 @@ foreach($fulltree as $key => $val)
//print_barre_liste('', 0, $_SERVER["PHP_SELF"], '', '', '', '', 0, 0, '', 0, $newcardbutton, '', 0, 1, 1);
print '';
-print ''.$langs->trans("Categories").' ';
+print ' '.$langs->trans("Categories").' ';
if (! empty($conf->use_javascript_ajax))
{
print '';
diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php
index 2092c6c52c5..37bf6ed60a3 100644
--- a/htdocs/categories/viewcat.php
+++ b/htdocs/categories/viewcat.php
@@ -278,7 +278,7 @@ else
{
print " ";
print "\n";
- print "".$langs->trans("SubCats").' ';
+ print " ".$langs->trans("SubCats").' ';
if ($user->rights->categorie->creer)
{
print "id.'&type='.$type)."'>";
@@ -366,7 +366,7 @@ if ($type == Categorie::TYPE_PRODUCT)
print " \n";
print ''.$prod->label." \n";
// Link to delete from category
- print '';
+ print ' ';
$permission=0;
if ($type == Categorie::TYPE_PRODUCT) $permission=($user->rights->produit->creer || $user->rights->service->creer);
if ($type == Categorie::TYPE_SUPPLIER) $permission=$user->rights->societe->creer;
@@ -413,7 +413,7 @@ if ($type == Categorie::TYPE_SUPPLIER)
print $soc->getNomUrl(1);
print " \n";
// Link to delete from category
- print '';
+ print ' ';
$permission=0;
if ($type == Categorie::TYPE_PRODUCT) $permission=($user->rights->produit->creer || $user->rights->service->creer);
if ($type == Categorie::TYPE_SUPPLIER) $permission=$user->rights->societe->creer;
@@ -466,7 +466,7 @@ if($type == Categorie::TYPE_CUSTOMER)
print $soc->getNomUrl(1);
print " \n";
// Link to delete from category
- print '';
+ print ' ';
$permission=0;
if ($type == Categorie::TYPE_PRODUCT) $permission=($user->rights->produit->creer || $user->rights->service->creer);
if ($type == Categorie::TYPE_SUPPLIER) $permission=$user->rights->societe->creer;
@@ -519,7 +519,7 @@ if ($type == Categorie::TYPE_MEMBER)
print ' '.$member->lastname." \n";
print ''.$member->firstname." \n";
// Link to delete from category
- print '';
+ print ' ';
$permission=0;
if ($type == Categorie::TYPE_PRODUCT) $permission=($user->rights->produit->creer || $user->rights->service->creer);
if ($type == Categorie::TYPE_SUPPLIER) $permission=$user->rights->societe->creer;
@@ -569,7 +569,7 @@ if ($type == Categorie::TYPE_CONTACT)
print $contact->getNomUrl(1,'category');
print " \n";
// Link to delete from category
- print '';
+ print ' ';
$permission=0;
if ($type == Categorie::TYPE_PRODUCT) $permission=($user->rights->produit->creer || $user->rights->service->creer);
if ($type == Categorie::TYPE_SUPPLIER) $permission=$user->rights->societe->creer;
@@ -621,7 +621,7 @@ if ($type == Categorie::TYPE_ACCOUNT)
print ' '.$account->bank." \n";
print ''.$account->number." \n";
// Link to delete from category
- print '';
+ print ' ';
$permission=0;
if ($type == Categorie::TYPE_PRODUCT) $permission=($user->rights->produit->creer || $user->rights->service->creer);
if ($type == Categorie::TYPE_SUPPLIER) $permission=$user->rights->societe->creer;
@@ -672,7 +672,7 @@ if ($type == Categorie::TYPE_PROJECT)
print ' '.$project->ref." \n";
print ''.$project->title." \n";
// Link to delete from category
- print '';
+ print ' ';
$permission=0;
if ($type == Categorie::TYPE_PRODUCT) $permission=($user->rights->produit->creer || $user->rights->service->creer);
if ($type == Categorie::TYPE_SUPPLIER) $permission=$user->rights->societe->creer;
diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php
index a9167c43c32..916143b896a 100644
--- a/htdocs/comm/card.php
+++ b/htdocs/comm/card.php
@@ -322,7 +322,7 @@ if ($object->id > 0)
print '';
print ' ';
if ($action == 'editconditions')
@@ -341,7 +341,7 @@ if ($object->id > 0)
print '';
print ' ';
if ($action == 'editmode')
@@ -362,7 +362,7 @@ if ($object->id > 0)
print '';
print ' ';
if ($action == 'editbankaccount')
@@ -381,7 +381,7 @@ if ($object->id > 0)
print ' ';
print '';
print $langs->trans("CustomerRelativeDiscountShort");
- print ' ';
+ print ' ';
if ($user->rights->societe->creer && !$user->societe_id > 0)
{
print ''.img_edit($langs->trans("Modify")).' ';
@@ -395,7 +395,7 @@ if ($object->id > 0)
print '';
print '';
print $langs->trans("CustomerAbsoluteDiscountShort");
- print ' ';
+ print ' ';
if ($user->rights->societe->creer && !$user->societe_id > 0)
{
print 'id).'">'.img_edit($langs->trans("Modify")).' ';
@@ -447,7 +447,7 @@ if ($object->id > 0)
print ' ';
print '';
print $langs->trans("PriceLevel");
- print ' ';
+ print ' ';
if ($user->rights->societe->creer)
{
print ''.img_edit($langs->trans("Modify")).' ';
@@ -467,7 +467,7 @@ if ($object->id > 0)
print '';
print ' ';
if ($action == 'editshipping')
@@ -535,7 +535,7 @@ if ($object->id > 0)
print '';
print ' ';
if ($action == 'editlevel')
@@ -691,8 +691,8 @@ if ($object->id > 0)
print '';
print '';
- print ''.$langs->trans("LastPropals",($num<=$MAXLIST?"":$MAXLIST)).' '.$langs->trans("AllPropals").' '.$num.' ';
- print ''.img_picto($langs->trans("Statistics"),'stats').' ';
+ print ' ';
print ' ';
}
@@ -714,9 +714,9 @@ if ($object->id > 0)
if ( ($db->jdate($objp->datelimite) < ($now - $conf->propal->cloture->warning_delay)) && $objp->fk_statut == 1 ) {
print " ".img_warning();
}
- print ''.dol_print_date($db->jdate($objp->dp),'day')." \n";
- print ''.price($objp->total_ht).' ';
- print ''.$propal_static->LibStatut($objp->fk_statut,5).' ';
+ print ''.dol_print_date($db->jdate($objp->dp),'day')." \n";
+ print ''.price($objp->total_ht).' ';
+ print ''.$propal_static->LibStatut($objp->fk_statut,5).' ';
$i++;
}
$db->free($resql);
@@ -776,10 +776,10 @@ if ($object->id > 0)
print '';
print '';
- print ''.$langs->trans("LastCustomerOrders",($num<=$MAXLIST?"":$MAXLIST)).' '.$langs->trans("AllOrders").' '.$num.' ';
- print ''.img_picto($langs->trans("Statistics"),'stats').' ';
- //if($num2 > 0) print ''.img_picto($langs->trans("CreateInvoiceForThisCustomer"),'object_bill').' ';
- //else print ''.img_picto($langs->trans("NoOrdersToInvoice"),'object_bill').' ';
+ print ' ';
print ' ';
}
@@ -800,9 +800,9 @@ if ($object->id > 0)
print '';
print '';
print $commande_static->getNomUrl(1);
- print ' '.dol_print_date($db->jdate($objp->dc),'day')." \n";
- print ''.price($objp->total_ht).' ';
- print ''.$commande_static->LibStatut($objp->fk_statut,$objp->facture,5).' ';
+ print ''.dol_print_date($db->jdate($objp->dc),'day')." \n";
+ print ''.price($objp->total_ht).' ';
+ print ''.$commande_static->LibStatut($objp->fk_statut,$objp->facture,5).' ';
$i++;
}
$db->free($resql);
@@ -852,8 +852,8 @@ if ($object->id > 0)
print '';
print '';
- print ''.$langs->trans("LastSendings",($num<=$MAXLIST?"":$MAXLIST)).' '.$langs->trans("AllSendings").' '.$num.' ';
- print ''.img_picto($langs->trans("Statistics"),'stats').' ';
+ print ' ';
print ' ';
}
@@ -871,9 +871,9 @@ if ($object->id > 0)
print $sendingstatic->getNomUrl(1);
print '';
if ($objp->date_creation > 0) {
- print ''.dol_print_date($db->jdate($objp->date_creation),'day').' ';
+ print ''.dol_print_date($db->jdate($objp->date_creation),'day').' ';
} else {
- print '!!! ';
+ print '!!! ';
}
print '' . $sendingstatic->LibStatut($objp->statut, 5) . ' ';
@@ -917,8 +917,8 @@ if ($object->id > 0)
print '';
print ' ';
print ' ';
}
@@ -939,8 +939,8 @@ if ($object->id > 0)
print $contrat->getNomUrl(1,12);
print "\n";
print ''.dol_trunc($objp->refsup,12)." \n";
- print ''.dol_print_date($db->jdate($objp->dc),'day')." \n";
- print ''.dol_print_date($db->jdate($objp->dcon),'day')." \n";
+ print ''.dol_print_date($db->jdate($objp->dc),'day')." \n";
+ print ''.dol_print_date($db->jdate($objp->dcon),'day')." \n";
print ' ';
print '';
print $contrat->getLibStatut(4);
@@ -986,8 +986,8 @@ if ($object->id > 0)
print '';
print '';
- print ''.$langs->trans("LastInterventions",($num<=$MAXLIST?"":$MAXLIST)).' '.$langs->trans("AllInterventions").' '.$num.' ';
- print ''.img_picto($langs->trans("Statistics"),'stats').' ';
+ print ' ';
print ' ';
}
@@ -1002,8 +1002,8 @@ if ($object->id > 0)
print '';
print ''.img_object($langs->trans("ShowPropal"),"propal").' '.$objp->ref.' '."\n";
- //print ''.dol_print_date($db->jdate($objp->startdate)).' '."\n";
- print ''.convertSecondToTime($objp->duration).' '."\n";
+ //print ''.dol_print_date($db->jdate($objp->startdate)).' '."\n";
+ print ''.convertSecondToTime($objp->duration).' '."\n";
print ''.$fichinter_static->getLibStatut(5).' '."\n";
print ' ';
@@ -1059,7 +1059,7 @@ if ($object->id > 0)
print '';
print '';
- print ''.$langs->trans("LatestCustomerTemplateInvoices",($num<=$MAXLIST?"":$MAXLIST)).' '.$langs->trans("AllCustomerTemplateInvoices").' '.$num.' ';
+ print ' ';
print ' ';
}
@@ -1086,26 +1086,26 @@ if ($object->id > 0)
print '';
if ($objp->frequency && $objp->date_last_gen > 0)
{
- print ''.dol_print_date($db->jdate($objp->date_last_gen),'day').' ';
+ print ''.dol_print_date($db->jdate($objp->date_last_gen),'day').' ';
}
else
{
if ($objp->dc > 0)
{
- print ''.dol_print_date($db->jdate($objp->dc),'day').' ';
+ print ''.dol_print_date($db->jdate($objp->dc),'day').' ';
}
else
{
- print '!!! ';
+ print '!!! ';
}
}
- print '';
+ print ' ';
print price($objp->total_ht);
print ' ';
if (! empty($conf->global->MAIN_SHOW_PRICE_WITH_TAX_IN_SUMMARIES))
{
- print '';
+ print ' ';
print price($objp->total_ttc);
print ' ';
}
@@ -1164,8 +1164,8 @@ if ($object->id > 0)
print '';
print '';
- print ''.$langs->trans("LastCustomersBills",($num<=$MAXLIST?"":$MAXLIST)).' '.$langs->trans("AllBills").' '.$num.' ';
- print ''.img_picto($langs->trans("Statistics"),'stats').' ';
+ print ' ';
print ' ';
}
@@ -1188,19 +1188,19 @@ if ($object->id > 0)
print '';
if ($objp->df > 0)
{
- print ''.dol_print_date($db->jdate($objp->df),'day').' ';
+ print ''.dol_print_date($db->jdate($objp->df),'day').' ';
}
else
{
- print '!!! ';
+ print '!!! ';
}
- print '';
+ print ' ';
print price($objp->total_ht);
print ' ';
if (! empty($conf->global->MAIN_SHOW_PRICE_WITH_TAX_IN_SUMMARIES))
{
- print '';
+ print ' ';
print price($objp->total_ttc);
print ' ';
}
diff --git a/htdocs/comm/mailing/cibles.php b/htdocs/comm/mailing/cibles.php
index 84c1f5954b9..ac23177652f 100644
--- a/htdocs/comm/mailing/cibles.php
+++ b/htdocs/comm/mailing/cibles.php
@@ -602,7 +602,7 @@ if ($object->fetch($id) >= 0)
}
// Search Icon
- print '';
+ print ' ';
if ($obj->statut == 0) // Not sent yet
{
if ($user->rights->mailing->creer && $allowaddtarget) {
diff --git a/htdocs/comm/mailing/index.php b/htdocs/comm/mailing/index.php
index cb062e00777..0c98800b3ea 100644
--- a/htdocs/comm/mailing/index.php
+++ b/htdocs/comm/mailing/index.php
@@ -118,7 +118,7 @@ if (is_resource($handle))
while ($i < $num )
{
$obj = $db->fetch_object($result);
- print ' '.img_object('',$mailmodule->picto).' '.$obj->label.' '.$obj->nb.' ';
+ print ' '.img_object('',$mailmodule->picto).' '.$obj->label.' '.$obj->nb.' ';
$i++;
}
@@ -161,7 +161,7 @@ if ($result)
print ' '.$langs->trans("LastMailings",$limit).' ';
print ''.$langs->trans("DateCreation").' ';
print ''.$langs->trans("NbOfEMails").' ';
- print ''.$langs->trans("AllEMailings").' ';
+ print ''.$langs->trans("AllEMailings").' ';
$num = $db->num_rows($result);
if ($num > 0)
@@ -178,7 +178,7 @@ if ($result)
print ''.dol_print_date($db->jdate($obj->date_creat),'day').' ';
print ''.($obj->nbemail?$obj->nbemail:"0").' ';
$mailstatic=new Mailing($db);
- print ''.$mailstatic->LibStatut($obj->statut,5).' ';
+ print ''.$mailstatic->LibStatut($obj->statut,5).' ';
print '';
$i++;
}
diff --git a/htdocs/comm/propal/card.php b/htdocs/comm/propal/card.php
index 9605f413435..c6ba6781423 100644
--- a/htdocs/comm/propal/card.php
+++ b/htdocs/comm/propal/card.php
@@ -2046,7 +2046,7 @@ if ($action == 'create')
print $langs->trans('Date');
print '';
if ($action != 'editdate' && ! empty($object->brouillon) && $usercancreate)
- print 'id . '">' . img_edit($langs->trans('SetDate'), 1) . ' ';
+ print 'id . '">' . img_edit($langs->trans('SetDate'), 1) . ' ';
print '
';
print '';
if (! empty($object->brouillon) && $action == 'editdate' && $usercancreate) {
@@ -2072,7 +2072,7 @@ if ($action == 'create')
print $langs->trans('DateEndPropal');
print ' ';
if ($action != 'editecheance' && ! empty($object->brouillon) && $usercancreate)
- print 'id . '">' . img_edit($langs->trans('SetConditions'), 1) . ' ';
+ print 'id . '">' . img_edit($langs->trans('SetConditions'), 1) . ' ';
print '
';
print '';
if (! empty($object->brouillon) && $action == 'editecheance' && $usercancreate) {
@@ -2100,7 +2100,7 @@ if ($action == 'create')
print $langs->trans('PaymentConditionsShort');
print ' ';
if ($action != 'editconditions' && ! empty($object->brouillon) && $usercancreate)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetConditions'), 1) . ' ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetConditions'), 1) . ' ';
print '
';
print '';
if (! empty($object->brouillon) && $action == 'editconditions' && $usercancreate) {
@@ -2128,7 +2128,7 @@ if ($action == 'create')
print ' (' . $langs->trans('AfterOrder') . ')';
print ' ';
if ($action != 'editavailability' && ! empty($object->brouillon) && $usercancreate)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetAvailability'), 1) . ' ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetAvailability'), 1) . ' ';
print '
';
print '';
if (! empty($object->brouillon) && $action == 'editavailability' && $usercancreate) {
@@ -2147,7 +2147,7 @@ if ($action == 'create')
print $langs->trans('SendingMethod');
print ' ';
if ($action != 'editshippingmethod' && $usercancreate)
- print 'id.'">'.img_edit($langs->trans('SetShippingMode'),1).' ';
+ print 'id.'">'.img_edit($langs->trans('SetShippingMode'),1).' ';
print '
';
print '';
if ($action == 'editshippingmethod' && $usercancreate) {
@@ -2165,7 +2165,7 @@ if ($action == 'create')
print $langs->trans('Source');
print ' ';
if ($action != 'editdemandreason' && ! empty($object->brouillon) && $usercancreate)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetDemandReason'), 1) . ' ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetDemandReason'), 1) . ' ';
print '
';
print ' ';
if (! empty($object->brouillon) && $action == 'editdemandreason' && $usercancreate) {
@@ -2183,7 +2183,7 @@ if ($action == 'create')
print $langs->trans('PaymentMode');
print ' ';
if ($action != 'editmode' && ! empty($object->brouillon) && $usercancreate)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMode'), 1) . ' ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMode'), 1) . ' ';
print '
';
print '';
if (! empty($object->brouillon) && $action == 'editmode' && $usercancreate) {
@@ -2203,7 +2203,7 @@ if ($action == 'create')
print $form->editfieldkey('Currency', 'multicurrency_code', '', $object, 0);
print ' ';
if ($action != 'editmulticurrencycode' && ! empty($object->brouillon) && $usercancreate)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' ';
print '
';
print '';
if (! empty($object->brouillon) && $action == 'editmulticurrencycode' && $usercancreate) {
@@ -2220,7 +2220,7 @@ if ($action == 'create')
print $form->editfieldkey('CurrencyRate', 'multicurrency_tx', '', $object, 0);
print ' ';
if ($action != 'editmulticurrencyrate' && ! empty($object->brouillon) && $object->multicurrency_code && $object->multicurrency_code != $conf->currency && $usercancreate)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' ';
print '
';
print '';
if (! empty($object->brouillon) && ($action == 'editmulticurrencyrate' || $action == 'actualizemulticurrencyrate') && $usercancreate) {
@@ -2244,7 +2244,7 @@ if ($action == 'create')
// Outstanding Bill
print ' ';
print $langs->trans('OutstandingBill');
- print ' ';
+ print ' ';
print price($soc->get_OutstandingBill()) . ' / ';
print price($soc->outstanding_limit, 0, $langs, 1, - 1, - 1, $conf->currency);
print ' ';
@@ -2259,7 +2259,7 @@ if ($action == 'create')
print $langs->trans('BankAccount');
print '';
if ($action != 'editbankaccount' && $usercancreate)
- print 'id.'">'.img_edit($langs->trans('SetBankAccount'),1).' ';
+ print 'id.'">'.img_edit($langs->trans('SetBankAccount'),1).' ';
print '
';
print '';
if ($action == 'editbankaccount') {
@@ -2293,7 +2293,7 @@ if ($action == 'create')
print ' ';
print '';
print $langs->trans('IncotermLabel');
- print ' ';
+ print ' ';
if ($usercancreate) print ''.img_edit().' ';
else print ' ';
print '
';
@@ -2370,7 +2370,7 @@ if ($action == 'create')
print ' ';
// Statut
- //print '' . $langs->trans('Status') . ' ' . $object->getLibStatut(4) . ' ';
+ //print '' . $langs->trans('Status') . ' ' . $object->getLibStatut(4) . ' ';
print '
';
diff --git a/htdocs/comm/propal/index.php b/htdocs/comm/propal/index.php
index f39f9efc54a..b96a95d8e64 100644
--- a/htdocs/comm/propal/index.php
+++ b/htdocs/comm/propal/index.php
@@ -123,7 +123,7 @@ if ($resql)
print ' ';
print ''.$propalstatic->LibStatut($status,0).' ';
- print ''.(isset($vals[$status])?$vals[$status]:0).' ';
+ print ''.(isset($vals[$status])?$vals[$status]:0).' ';
print " \n";
}
}
@@ -144,8 +144,8 @@ if ($resql)
print '';
}
//if ($totalinprocess != $total)
- //print ''.$langs->trans("Total").' ('.$langs->trans("CustomersOrdersRunning").') '.$totalinprocess.' ';
- print ''.$langs->trans("Total").' '.$total.' ';
+ //print ''.$langs->trans("Total").' ('.$langs->trans("CustomersOrdersRunning").') '.$totalinprocess.' ';
+ print ''.$langs->trans("Total").' '.$total.' ';
print "
";
}
else
@@ -260,7 +260,7 @@ if ($resql)
print ' ';
print ' ';
- print '';
+ print ' ';
$filename=dol_sanitizeFileName($obj->ref);
$filedir=$conf->propal->multidir_output[$obj->entity] . '/' . dol_sanitizeFileName($obj->ref);
$urlsource=$_SERVER['PHP_SELF'].'?id='.$obj->rowid;
@@ -276,7 +276,7 @@ if ($resql)
print ' '.$companystatic->getNomUrl(1,'customer').' ';
print ''.dol_print_date($db->jdate($obj->datec),'day').' ';
- print ''.$propalstatic->LibStatut($obj->fk_statut,5).' ';
+ print ''.$propalstatic->LibStatut($obj->fk_statut,5).' ';
print ' ';
$i++;
}
@@ -355,9 +355,9 @@ if (! empty($conf->propal->enabled) && $user->rights->propale->lire)
$companystatic->canvas=$obj->canvas;
print ''.$companystatic->getNomUrl(1,'customer',44).' '."\n";
- print '';
+ print ' ';
print dol_print_date($db->jdate($obj->dp),'day').' '."\n";
- print ''.price($obj->total_ttc).' ';
+ print ''.price($obj->total_ttc).' ';
print ''.$propalstatic->LibStatut($obj->fk_statut,3).' '."\n";
print ''."\n";
$i++;
@@ -441,7 +441,7 @@ if (! empty($conf->propal->enabled))
print ''.img_object($langs->trans("ShowCompany"),"company").' '.dol_trunc($obj->name,24).' ';
- print ''.$propalstatic->LibStatut($obj->fk_statut,$obj->facture,5).' ';
+ print ''.$propalstatic->LibStatut($obj->fk_statut,$obj->facture,5).' ';
print '';
$i++;
diff --git a/htdocs/comm/propal/list.php b/htdocs/comm/propal/list.php
index 2d3917a0d47..61fa1d548d7 100644
--- a/htdocs/comm/propal/list.php
+++ b/htdocs/comm/propal/list.php
@@ -890,7 +890,7 @@ if ($resql)
// Amount HT
if (! empty($arrayfields['p.total_ht']['checked']))
{
- print ''.price($obj->total_ht)." \n";
+ print ''.price($obj->total_ht)." \n";
if (! $i) $totalarray['nbfield']++;
if (! $i) $totalarray['totalhtfield']=$totalarray['nbfield'];
$totalarray['totalht'] += $obj->total_ht;
@@ -898,7 +898,7 @@ if ($resql)
// Amount VAT
if (! empty($arrayfields['p.total_vat']['checked']))
{
- print ''.price($obj->total_vat)." \n";
+ print ''.price($obj->total_vat)." \n";
if (! $i) $totalarray['nbfield']++;
if (! $i) $totalarray['totalvatfield']=$totalarray['nbfield'];
$totalarray['totalvat'] += $obj->total_vat;
@@ -906,7 +906,7 @@ if ($resql)
// Amount TTC
if (! empty($arrayfields['p.total_ttc']['checked']))
{
- print ''.price($obj->total_ttc)." \n";
+ print ''.price($obj->total_ttc)." \n";
if (! $i) $totalarray['nbfield']++;
if (! $i) $totalarray['totalttcfield']=$totalarray['nbfield'];
$totalarray['totalttc'] += $obj->total_ttc;
@@ -995,7 +995,7 @@ if ($resql)
// Status
if (! empty($arrayfields['p.fk_statut']['checked']))
{
- print ''.$objectstatic->LibStatut($obj->fk_statut,5).' ';
+ print ''.$objectstatic->LibStatut($obj->fk_statut,5).' ';
if (! $i) $totalarray['nbfield']++;
}
// Action column
@@ -1033,14 +1033,14 @@ if ($resql)
if ($num < $limit && empty($offset)) print ''.$langs->trans("Total").' ';
else print ''.$langs->trans("Totalforthispage").' ';
}
- elseif ($totalarray['totalhtfield'] == $i) print ''.price($totalarray['totalht']).' ';
- elseif ($totalarray['totalvatfield'] == $i) print ''.price($totalarray['totalvat']).' ';
- elseif ($totalarray['totalttcfield'] == $i) print ''.price($totalarray['totalttc']).' ';
+ elseif ($totalarray['totalhtfield'] == $i) print ''.price($totalarray['totalht']).' ';
+ elseif ($totalarray['totalvatfield'] == $i) print ''.price($totalarray['totalvat']).' ';
+ elseif ($totalarray['totalttcfield'] == $i) print ''.price($totalarray['totalttc']).' ';
elseif ($totalarray['totalizable']) {
$printed = false;
foreach ($totalarray['totalizable'] as $totalizable) {
if ($totalizable['pos']==$i && ! $printed) {
- print ''.price($totalizable['total']).' ';
+ print ''.price($totalizable['total']).' ';
$printed = true;
}
}
diff --git a/htdocs/comm/propal/stats/index.php b/htdocs/comm/propal/stats/index.php
index 5c54baf7360..29afd62d780 100644
--- a/htdocs/comm/propal/stats/index.php
+++ b/htdocs/comm/propal/stats/index.php
@@ -280,12 +280,12 @@ print '';
print '
';
print '';
print ''.$langs->trans("Year").' ';
-print ''.$langs->trans("NbOfProposals").' ';
-print '% ';
-print ''.$langs->trans("AmountTotal").' ';
-print '% ';
-print ''.$langs->trans("AmountAverage").' ';
-print '% ';
+print ''.$langs->trans("NbOfProposals").' ';
+print '% ';
+print ''.$langs->trans("AmountTotal").' ';
+print '% ';
+print ''.$langs->trans("AmountAverage").' ';
+print '% ';
print ' ';
$oldyear=0;
@@ -298,22 +298,22 @@ foreach ($data as $val)
print '';
print '0?'&socid='.$socid:'').($userid>0?'&userid='.$userid:'').'">'.$oldyear.' ';
- print '0 ';
- print ' ';
- print '0 ';
- print ' ';
- print '0 ';
- print ' ';
+ print '0 ';
+ print ' ';
+ print '0 ';
+ print ' ';
+ print '0 ';
+ print ' ';
print ' ';
}
print '';
print '0?'&socid='.$socid:'').($userid>0?'&userid='.$userid:'').'">'.$year.' ';
- print ''.$val['nb'].' ';
- print ''.round($val['nb_diff']).' ';
- print ''.price(price2num($val['total'],'MT'),1).' ';
- print ''.round($val['total_diff']).' ';
- print ''.price(price2num($val['avg'],'MT'),1).' ';
- print ''.round($val['avg_diff']).' ';
+ print ''.$val['nb'].' ';
+ print ''.round($val['nb_diff']).' ';
+ print ''.price(price2num($val['total'],'MT'),1).' ';
+ print ''.round($val['total_diff']).' ';
+ print ''.price(price2num($val['avg'],'MT'),1).' ';
+ print ''.round($val['avg_diff']).' ';
print ' ';
$oldyear=$year;
}
diff --git a/htdocs/comm/propal/tpl/linkedobjectblock.tpl.php b/htdocs/comm/propal/tpl/linkedobjectblock.tpl.php
index 0d8c2064010..118bc3fbd37 100644
--- a/htdocs/comm/propal/tpl/linkedobjectblock.tpl.php
+++ b/htdocs/comm/propal/tpl/linkedobjectblock.tpl.php
@@ -82,9 +82,9 @@ if (count($linkedObjectBlock) > 1)
-
-
-
+
+
+
id.'">';
print img_action($langs->trans("Show"),$obj->id).' ';
print $langs->trans("StatusProspect".$obj->id);
- print ''.$obj->cc.' ';
+ print ''.$obj->cc.' ';
$i++;
}
print "
";
@@ -140,7 +140,7 @@ if (! empty($conf->propal->enabled) && $user->rights->propale->lire)
print '
';
print ''.img_object($langs->trans("ShowPropal"),"propal").' '.$obj->ref.' ';
- print ' ';
+ print ' ';
print price($obj->price);
print " ";
$i++;