Look: Logo company before each company on boxes
This commit is contained in:
parent
6fda68b62d
commit
12b909060e
@ -19,13 +19,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/includes/boxes/box_actions.php
|
* \file htdocs/includes/boxes/box_actions.php
|
||||||
\ingroup actions
|
* \ingroup actions
|
||||||
\brief Module de generation de l'affichage de la box actions
|
* \brief Module de generation de l'affichage de la box actions
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
include_once(DOL_DOCUMENT_ROOT."/includes/boxes/modules_boxes.php");
|
include_once(DOL_DOCUMENT_ROOT."/includes/boxes/modules_boxes.php");
|
||||||
|
|
||||||
|
|
||||||
@ -114,17 +113,21 @@ class box_actions extends ModeleBoxes {
|
|||||||
'text2'=> $late,
|
'text2'=> $late,
|
||||||
'url' => DOL_URL_ROOT."/comm/action/fiche.php?id=".$objp->id);
|
'url' => DOL_URL_ROOT."/comm/action/fiche.php?id=".$objp->id);
|
||||||
|
|
||||||
$this->info_box_contents[$i][2] = array('td' => 'align="left"',
|
$this->info_box_contents[$i][2] = array('td' => 'align="left" width="16"',
|
||||||
'text' => dol_trunc($objp->nom,20),
|
'logo' => 'company',
|
||||||
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
||||||
|
|
||||||
$this->info_box_contents[$i][3] = array('td' => 'align="left"',
|
$this->info_box_contents[$i][3] = array('td' => 'align="left"',
|
||||||
|
'text' => dol_trunc($objp->nom,12),
|
||||||
|
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
||||||
|
|
||||||
|
$this->info_box_contents[$i][4] = array('td' => 'align="left" nowrap="nowrap"',
|
||||||
'text' => dol_print_date($datelimite, "dayhour"));
|
'text' => dol_print_date($datelimite, "dayhour"));
|
||||||
|
|
||||||
$this->info_box_contents[$i][4] = array('td' => 'align="right"',
|
$this->info_box_contents[$i][5] = array('td' => 'align="right"',
|
||||||
'text' => $objp->percentage. "%");
|
'text' => $objp->percentage. "%");
|
||||||
|
|
||||||
$this->info_box_contents[$i][5] = array('td' => 'align="right" width="18"',
|
$this->info_box_contents[$i][6] = array('td' => 'align="right" width="18"',
|
||||||
'text' => $actionstatic->LibStatut($objp->percentage,3));
|
'text' => $actionstatic->LibStatut($objp->percentage,3));
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
|
|||||||
@ -104,15 +104,19 @@ class box_commandes extends ModeleBoxes {
|
|||||||
'text' => $objp->ref,
|
'text' => $objp->ref,
|
||||||
'url' => DOL_URL_ROOT."/commande/fiche.php?id=".$objp->rowid);
|
'url' => DOL_URL_ROOT."/commande/fiche.php?id=".$objp->rowid);
|
||||||
|
|
||||||
$this->info_box_contents[$i][2] = array('td' => 'align="left"',
|
$this->info_box_contents[$i][2] = array('td' => 'align="left" width="16"',
|
||||||
|
'logo' => 'company',
|
||||||
|
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
||||||
|
|
||||||
|
$this->info_box_contents[$i][3] = array('td' => 'align="left"',
|
||||||
'text' => $objp->nom,
|
'text' => $objp->nom,
|
||||||
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
||||||
|
|
||||||
$this->info_box_contents[$i][3] = array('td' => 'align="right"',
|
$this->info_box_contents[$i][4] = array('td' => 'align="right"',
|
||||||
'text' => dol_print_date($datem,'day'),
|
'text' => dol_print_date($datem,'day'),
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->info_box_contents[$i][4] = array('td' => 'align="right" width="18"',
|
$this->info_box_contents[$i][5] = array('td' => 'align="right" width="18"',
|
||||||
'text' => $commandestatic->LibStatut($objp->fk_statut,$objp->facture,3));
|
'text' => $commandestatic->LibStatut($objp->fk_statut,$objp->facture,3));
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
|
|||||||
@ -116,16 +116,20 @@ class box_factures extends ModeleBoxes {
|
|||||||
'text2'=> $late,
|
'text2'=> $late,
|
||||||
'url' => DOL_URL_ROOT."/compta/facture.php?facid=".$objp->facid);
|
'url' => DOL_URL_ROOT."/compta/facture.php?facid=".$objp->facid);
|
||||||
|
|
||||||
$this->info_box_contents[$i][2] = array('td' => 'align="left"',
|
$this->info_box_contents[$i][2] = array('td' => 'align="left" width="16"',
|
||||||
|
'logo' => 'company',
|
||||||
|
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
||||||
|
|
||||||
|
$this->info_box_contents[$i][3] = array('td' => 'align="left"',
|
||||||
'text' => $objp->nom,
|
'text' => $objp->nom,
|
||||||
'maxlength'=>40,
|
'maxlength'=>40,
|
||||||
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
||||||
|
|
||||||
$this->info_box_contents[$i][3] = array('td' => 'align="right"',
|
$this->info_box_contents[$i][4] = array('td' => 'align="right"',
|
||||||
'text' => dol_print_date($datec,'day'),
|
'text' => dol_print_date($datec,'day'),
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->info_box_contents[$i][4] = array('td' => 'align="right" width="18"',
|
$this->info_box_contents[$i][5] = array('td' => 'align="right" width="18"',
|
||||||
'text' => $facturestatic->LibStatut($objp->paye,$objp->fk_statut,3));
|
'text' => $facturestatic->LibStatut($objp->paye,$objp->fk_statut,3));
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
|
|||||||
@ -113,17 +113,21 @@ class box_factures_fourn extends ModeleBoxes {
|
|||||||
'text2'=> $late,
|
'text2'=> $late,
|
||||||
'url' => DOL_URL_ROOT."/fourn/facture/fiche.php?facid=".$objp->facid);
|
'url' => DOL_URL_ROOT."/fourn/facture/fiche.php?facid=".$objp->facid);
|
||||||
|
|
||||||
$this->info_box_contents[$i][2] = array('td' => 'align="left"',
|
$this->info_box_contents[$i][2] = array('td' => 'align="left" width="16"',
|
||||||
|
'logo' => 'company',
|
||||||
|
'url' => DOL_URL_ROOT."/fourn/fiche.php?socid=".$objp->socid);
|
||||||
|
|
||||||
|
$this->info_box_contents[$i][3] = array('td' => 'align="left"',
|
||||||
'text' => $objp->nom,
|
'text' => $objp->nom,
|
||||||
'url' => DOL_URL_ROOT."/fourn/fiche.php?socid=".$objp->socid);
|
'url' => DOL_URL_ROOT."/fourn/fiche.php?socid=".$objp->socid);
|
||||||
|
|
||||||
$this->info_box_contents[$i][3] = array('td' => 'align="right"',
|
$this->info_box_contents[$i][4] = array('td' => 'align="right"',
|
||||||
'text' => dol_print_date($datec,'day'));
|
'text' => dol_print_date($datec,'day'));
|
||||||
|
|
||||||
$fac = new FactureFournisseur($db);
|
$fac = new FactureFournisseur($db);
|
||||||
$fac->fetch($objp->facid);
|
$fac->fetch($objp->facid);
|
||||||
$alreadypaid=$fac->getSommePaiement();
|
$alreadypaid=$fac->getSommePaiement();
|
||||||
$this->info_box_contents[$i][4] = array('td' => 'align="right" width="18"',
|
$this->info_box_contents[$i][5] = array('td' => 'align="right" width="18"',
|
||||||
'text' => $facturestatic->LibStatut($objp->paye,$objp->fk_statut,3,$alreadypaid,$objp->type));
|
'text' => $facturestatic->LibStatut($objp->paye,$objp->fk_statut,3,$alreadypaid,$objp->type));
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
|
|||||||
@ -110,17 +110,21 @@ class box_factures_fourn_imp extends ModeleBoxes {
|
|||||||
'text2'=> $late,
|
'text2'=> $late,
|
||||||
'url' => DOL_URL_ROOT."/fourn/facture/fiche.php?facid=".$objp->facid);
|
'url' => DOL_URL_ROOT."/fourn/facture/fiche.php?facid=".$objp->facid);
|
||||||
|
|
||||||
$this->info_box_contents[$i][2] = array('td' => 'align="left"',
|
$this->info_box_contents[$i][2] = array('td' => 'align="left" width="16"',
|
||||||
|
'logo' => 'company',
|
||||||
|
'url' => DOL_URL_ROOT."/fourn/fiche.php?socid=".$objp->socid);
|
||||||
|
|
||||||
|
$this->info_box_contents[$i][3] = array('td' => 'align="left"',
|
||||||
'text' => $objp->nom,
|
'text' => $objp->nom,
|
||||||
'url' => DOL_URL_ROOT."/fourn/fiche.php?socid=".$objp->socid);
|
'url' => DOL_URL_ROOT."/fourn/fiche.php?socid=".$objp->socid);
|
||||||
|
|
||||||
$this->info_box_contents[$i][3] = array('td' => 'align="right"',
|
$this->info_box_contents[$i][4] = array('td' => 'align="right"',
|
||||||
'text' => dol_print_date($datelimite,'day'));
|
'text' => dol_print_date($datelimite,'day'));
|
||||||
|
|
||||||
$fac = new FactureFournisseur($db);
|
$fac = new FactureFournisseur($db);
|
||||||
$fac->fetch($objp->facid);
|
$fac->fetch($objp->facid);
|
||||||
$alreadypaid=$fac->getSommePaiement();
|
$alreadypaid=$fac->getSommePaiement();
|
||||||
$this->info_box_contents[$i][4] = array('td' => 'align="right" width="18"',
|
$this->info_box_contents[$i][5] = array('td' => 'align="right" width="18"',
|
||||||
'text' => $facturestatic->LibStatut($objp->paye,$objp->fk_statut,3,$alreadypaid,$objp->type));
|
'text' => $facturestatic->LibStatut($objp->paye,$objp->fk_statut,3,$alreadypaid,$objp->type));
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
|
|||||||
@ -113,16 +113,20 @@ class box_factures_imp extends ModeleBoxes {
|
|||||||
'text2'=> $late,
|
'text2'=> $late,
|
||||||
'url' => DOL_URL_ROOT."/compta/facture.php?facid=".$objp->facid);
|
'url' => DOL_URL_ROOT."/compta/facture.php?facid=".$objp->facid);
|
||||||
|
|
||||||
$this->info_box_contents[$i][2] = array('td' => 'align="left"',
|
$this->info_box_contents[$i][2] = array('td' => 'align="left" width="16"',
|
||||||
|
'logo' => 'company',
|
||||||
|
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
||||||
|
|
||||||
|
$this->info_box_contents[$i][3] = array('td' => 'align="left"',
|
||||||
'text' => $objp->nom,
|
'text' => $objp->nom,
|
||||||
'maxlength'=>44,
|
'maxlength'=>44,
|
||||||
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
||||||
|
|
||||||
$this->info_box_contents[$i][3] = array('td' => 'align="right"',
|
$this->info_box_contents[$i][4] = array('td' => 'align="right"',
|
||||||
'text' => dol_print_date($datelimite,'day'),
|
'text' => dol_print_date($datelimite,'day'),
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->info_box_contents[$i][4] = array('td' => 'align="right" width="18"',
|
$this->info_box_contents[$i][5] = array('td' => 'align="right" width="18"',
|
||||||
'text' => $facturestatic->LibStatut($objp->paye,$objp->fk_statut,3));
|
'text' => $facturestatic->LibStatut($objp->paye,$objp->fk_statut,3));
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
|
|||||||
@ -110,14 +110,18 @@ class box_propales extends ModeleBoxes {
|
|||||||
'text2'=> $late,
|
'text2'=> $late,
|
||||||
'url' => DOL_URL_ROOT."/comm/propal.php?propalid=".$objp->rowid);
|
'url' => DOL_URL_ROOT."/comm/propal.php?propalid=".$objp->rowid);
|
||||||
|
|
||||||
$this->info_box_contents[$i][2] = array('td' => 'align="left"',
|
$this->info_box_contents[$i][2] = array('td' => 'align="left" width="16"',
|
||||||
|
'logo' => 'company',
|
||||||
|
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
||||||
|
|
||||||
|
$this->info_box_contents[$i][3] = array('td' => 'align="left"',
|
||||||
'text' => dol_trunc($objp->nom,40),
|
'text' => dol_trunc($objp->nom,40),
|
||||||
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
||||||
|
|
||||||
$this->info_box_contents[$i][3] = array('td' => 'align="right"',
|
$this->info_box_contents[$i][4] = array('td' => 'align="right"',
|
||||||
'text' => dol_print_date($datec,'day'));
|
'text' => dol_print_date($datec,'day'));
|
||||||
|
|
||||||
$this->info_box_contents[$i][4] = array('td' => 'align="right" width="18"',
|
$this->info_box_contents[$i][5] = array('td' => 'align="right" width="18"',
|
||||||
'text' => $propalstatic->LibStatut($objp->fk_statut,3));
|
'text' => $propalstatic->LibStatut($objp->fk_statut,3));
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
|
|||||||
@ -133,15 +133,19 @@ class box_services_vendus extends ModeleBoxes {
|
|||||||
'maxlength' => 16,
|
'maxlength' => 16,
|
||||||
'url' => DOL_URL_ROOT."/contrat/fiche.php?id=".$objp->rowid);
|
'url' => DOL_URL_ROOT."/contrat/fiche.php?id=".$objp->rowid);
|
||||||
|
|
||||||
$this->info_box_contents[$i][2] = array('td' => 'align="left"',
|
$this->info_box_contents[$i][2] = array('td' => 'align="left" width="16"',
|
||||||
|
'logo' => 'company',
|
||||||
|
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
||||||
|
|
||||||
|
$this->info_box_contents[$i][3] = array('td' => 'align="left"',
|
||||||
'text' => $objp->nom,
|
'text' => $objp->nom,
|
||||||
'maxlength' => 28,
|
'maxlength' => 28,
|
||||||
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->socid);
|
||||||
|
|
||||||
$this->info_box_contents[$i][3] = array('td' => 'align="right"',
|
$this->info_box_contents[$i][4] = array('td' => 'align="right"',
|
||||||
'text' => dol_print_date($datem,'day'));
|
'text' => dol_print_date($datem,'day'));
|
||||||
|
|
||||||
$this->info_box_contents[$i][4] = array('td' => 'align="right" width="18"',
|
$this->info_box_contents[$i][5] = array('td' => 'align="right" width="18"',
|
||||||
'text' => $contratlignestatic->LibStatut($objp->statut,3)
|
'text' => $contratlignestatic->LibStatut($objp->statut,3)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user