Fix: Modif esthtiques mineures
This commit is contained in:
parent
950d3ad4ec
commit
55d1d176c9
@ -1169,7 +1169,7 @@ if ($conf->expedition->enabled)
|
||||
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS)
|
||||
{
|
||||
require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php");
|
||||
$doleditor=new DolEditor('desc',$objp->description,200,'dolibarr_details');
|
||||
$doleditor=new DolEditor('desc',$objp->description,164,'dolibarr_details');
|
||||
$doleditor->Create();
|
||||
}
|
||||
else
|
||||
|
||||
@ -685,7 +685,7 @@ class Account
|
||||
$sql = "SELECT b.rowid,".$this->db->pdate("b.datev")." as datefin";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."bank as b, ".MAIN_DB_PREFIX."bank_account as ba";
|
||||
$sql.= " WHERE b.rappro=0 AND b.fk_account = ba.rowid";
|
||||
$sql.= " AND ba.rappro = 1";
|
||||
$sql.= " AND ba.rappro = 1"; // Compte rapprochable
|
||||
$resql=$this->db->query($sql);
|
||||
if ($resql)
|
||||
{
|
||||
|
||||
@ -1902,7 +1902,7 @@ else
|
||||
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS)
|
||||
{
|
||||
require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php");
|
||||
$doleditor=new DolEditor('desc',$objp->description,200,'dolibarr_details');
|
||||
$doleditor=new DolEditor('desc',$objp->description,164,'dolibarr_details');
|
||||
$doleditor->Create();
|
||||
}
|
||||
else
|
||||
|
||||
@ -326,6 +326,7 @@ if ($conf->facture->enabled && $conf->commande->enabled && $user->rights->comman
|
||||
print '</tr>';
|
||||
$tot_ht += $obj->total_ht;
|
||||
$tot_ttc += $obj->total_ttc;
|
||||
print "x".$tot_ttc."z".$obj->tot_fttc;
|
||||
$tot_tobill += ($obj->total_ttc-$obj->tot_fttc);
|
||||
// }
|
||||
$i++;
|
||||
|
||||
@ -720,9 +720,10 @@ class pdf_einstein extends ModelePDFCommandes
|
||||
|
||||
/*
|
||||
* \brief Affiche en-tête propale
|
||||
* \param pdf objet PDF
|
||||
* \param fac objet propale
|
||||
* \param pdf Objet PDF
|
||||
* \param com Objet commande
|
||||
* \param showadress 0=non, 1=oui
|
||||
* \param outputlang Objet lang cible
|
||||
*/
|
||||
function _pagehead(&$pdf, $com, $showadress=1, $outputlangs)
|
||||
{
|
||||
|
||||
@ -203,18 +203,18 @@ class modFournisseur extends DolibarrModules
|
||||
$r++;
|
||||
$this->rights[$r][0] = 234;
|
||||
$this->rights[$r][1] = 'Supprimer une facture fournisseur';
|
||||
$this->rights[$r][2] = 's';
|
||||
$this->rights[$r][2] = 'd';
|
||||
$this->rights[$r][3] = 0;
|
||||
$this->rights[$r][4] = 'facture';
|
||||
$this->rights[$r][5] = 'supprimer';
|
||||
|
||||
$r++;
|
||||
$this->rights[$r][0] = 236;
|
||||
$this->rights[$r][1] = 'Exporter les factures fournisseurs et attributs';
|
||||
$this->rights[$r][2] = 'r';
|
||||
$this->rights[$r][3] = 0;
|
||||
$this->rights[$r][4] = 'facture';
|
||||
$this->rights[$r][5] = 'export';
|
||||
$r++;
|
||||
$this->rights[$r][0] = 236;
|
||||
$this->rights[$r][1] = 'Exporter les factures fournisseurs et attributs';
|
||||
$this->rights[$r][2] = 'r';
|
||||
$this->rights[$r][3] = 0;
|
||||
$this->rights[$r][4] = 'facture';
|
||||
$this->rights[$r][5] = 'export';
|
||||
|
||||
|
||||
// Exports
|
||||
|
||||
@ -571,7 +571,7 @@ DeliveryOrderModel=Mod
|
||||
DeliveriesOrderAbility=Prise en charge des bons de réception client
|
||||
##### FCKeditor #####
|
||||
ActivateFCKeditor=Activer FCKeditor pour :
|
||||
FCKeditorForCompany=Création/édition WYSIWIG de la description et note des tiers
|
||||
FCKeditorForProductDescription=Création/édition WYSIWIG de la description et note des produits/services
|
||||
FCKeditorForCompany=Création/édition WYSIWIG des descriptions et notes des tiers
|
||||
FCKeditorForProductDescription=Création/édition WYSIWIG des notes des produits/services
|
||||
FCKeditorForDetails=Création/édition WYSIWIG des lignes details des entités (commandes, propales, factures, etc...)
|
||||
FCKeditorForMailing=Création/édition WYSIWIG des mailings
|
||||
|
||||
@ -135,14 +135,14 @@ if ($_POST["action"] == 'update' &&
|
||||
}
|
||||
else
|
||||
{
|
||||
$_GET["action"] = 're-edit';
|
||||
$_GET["action"] = 'edit';
|
||||
$_GET["id"] = $_POST["id"];
|
||||
$mesg = $product->error;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$_GET["action"] = 're-edit';
|
||||
$_GET["action"] = 'edit';
|
||||
$_GET["id"] = $_POST["id"];
|
||||
$mesg = $langs->trans("ErrorProductBadRefOrLabel");
|
||||
}
|
||||
@ -434,18 +434,18 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer)
|
||||
print '<input name="seuil_stock_alerte" type="hidden" value="0">';
|
||||
}
|
||||
|
||||
// Description
|
||||
// Description (utilisé dans facture, propale...)
|
||||
print '<tr><td valign="top">'.$langs->trans("Description").'</td><td>';
|
||||
|
||||
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC)
|
||||
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS)
|
||||
{
|
||||
require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php");
|
||||
$doleditor=new DolEditor('desc','',180,'dolibarr_notes','',false);
|
||||
$doleditor=new DolEditor('desc','',160,'dolibarr_notes','',false);
|
||||
$doleditor->Create();
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<textarea name="desc" rows="4" cols="50">';
|
||||
print '<textarea name="desc" rows="4" cols="90">';
|
||||
print '</textarea>';
|
||||
}
|
||||
|
||||
@ -461,7 +461,7 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer)
|
||||
print '</td></tr>';
|
||||
}
|
||||
|
||||
// Note
|
||||
// Note (invisible sur facture, propales...)
|
||||
print '<tr><td valign="top">'.$langs->trans("NoteNotVisibleOnBill").'</td><td>';
|
||||
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC)
|
||||
{
|
||||
@ -471,7 +471,7 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer)
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<textarea name="note" rows="8" cols="50">';
|
||||
print '<textarea name="note" rows="8" cols="70">';
|
||||
print '</textarea>';
|
||||
}
|
||||
print "</td></tr>";
|
||||
@ -682,18 +682,18 @@ if ($_GET["id"] || $_GET["ref"])
|
||||
print '<input name="seuil_stock_alerte" type="hidden" value="0">';
|
||||
}
|
||||
|
||||
// Description
|
||||
// Description (utilisé dans facture, propale...)
|
||||
print '<tr><td valign="top">'.$langs->trans("Description").'</td><td colspan="2">';
|
||||
print "\n";
|
||||
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC)
|
||||
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS)
|
||||
{
|
||||
require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php");
|
||||
$doleditor=new DolEditor('desc',$product->description,180,'dolibarr_notes','',false);
|
||||
$doleditor=new DolEditor('desc',$product->description,160,'dolibarr_notes','',false);
|
||||
$doleditor->Create();
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<textarea name="desc" rows="4" cols="70">';
|
||||
print '<textarea name="desc" rows="4" cols="90">';
|
||||
print $product->description;
|
||||
print "</textarea>";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user