Fix: modif esthtique
This commit is contained in:
parent
7dc522c946
commit
bc0ae67aa7
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
/* Copyright (C) 2003-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2007 Regis Houssin <regis.houssin@cap-networks.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -131,18 +132,16 @@ class box_actions extends ModeleBoxes {
|
||||
{
|
||||
if ($num==0 && $i==$num)
|
||||
{
|
||||
$this->info_box_contents[$i][1] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][0] = array('align' => 'center','text'=>$langs->trans("NoActionsToDo"));
|
||||
$this->info_box_contents[$i][1] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][2] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][1] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][1] = array('text'=>' ');
|
||||
} else {
|
||||
$this->info_box_contents[$i][0] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][1] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][2] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][1] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][1] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][3] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][4] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][5] = array('text'=>' ');
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2005-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
/* Copyright (C) 2003-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2007 Regis Houssin <regis.houssin@cap-networks.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
/* Copyright (C) 2003-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2007 Regis Houssin <regis.houssin@cap-networks.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -111,6 +112,23 @@ class box_commandes extends ModeleBoxes {
|
||||
|
||||
$i++;
|
||||
}
|
||||
|
||||
$i=$num;
|
||||
while ($i < $max)
|
||||
{
|
||||
if ($num==0 && $i==$num)
|
||||
{
|
||||
$this->info_box_contents[$i][0] = array('align' => 'center','text'=>$langs->trans("NoRecordedOrders"));
|
||||
$this->info_box_contents[$i][1] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][2] = array('text'=>' ');
|
||||
} else {
|
||||
$this->info_box_contents[$i][0] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][1] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][2] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][3] = array('text'=>' ');
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
else {
|
||||
dolibarr_print_error($db);
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
/* Copyright (C) 2003-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2007 Regis Houssin <regis.houssin@cap-networks.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -97,9 +98,9 @@ class box_factures extends ModeleBoxes {
|
||||
{
|
||||
$objp = $db->fetch_object($result);
|
||||
|
||||
$picto='bill';
|
||||
if ($objp->type == 1) $picto.='r';
|
||||
if ($objp->type == 2) $picto.='a';
|
||||
$picto='bill';
|
||||
if ($objp->type == 1) $picto.='r';
|
||||
if ($objp->type == 2) $picto.='a';
|
||||
|
||||
$this->info_box_contents[$i][0] = array('align' => 'left',
|
||||
'logo' => $picto,
|
||||
@ -117,6 +118,23 @@ class box_factures extends ModeleBoxes {
|
||||
|
||||
$i++;
|
||||
}
|
||||
|
||||
$i=$num;
|
||||
while ($i < $max)
|
||||
{
|
||||
if ($num==0 && $i==$num)
|
||||
{
|
||||
$this->info_box_contents[$i][0] = array('align' => 'center','text'=>$langs->trans("NoRecordedInvoices"));
|
||||
$this->info_box_contents[$i][1] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][2] = array('text'=>' ');
|
||||
} else {
|
||||
$this->info_box_contents[$i][0] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][1] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][2] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][3] = array('text'=>' ');
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2006 Regis Houssin <regis.houssin@cap-networks.com>
|
||||
/* Copyright (C) 2003-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2007 Regis Houssin <regis.houssin@cap-networks.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -118,6 +118,29 @@ class box_factures_imp extends ModeleBoxes {
|
||||
|
||||
$i++;
|
||||
}
|
||||
|
||||
$i=$num;
|
||||
while ($i < $max)
|
||||
{
|
||||
if ($num==0 && $i==$num)
|
||||
{
|
||||
$this->info_box_contents[$i][0] = array('align' => 'center','text'=>$langs->trans("NoUnpayedCustomerBills"));
|
||||
$this->info_box_contents[$i][1] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][2] = array('text'=>' ');
|
||||
} else {
|
||||
$this->info_box_contents[$i][0] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][1] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][2] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][3] = array('text'=>' ');
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->info_box_contents[0][0] = array( 'align' => 'left',
|
||||
'maxlength'=>500,
|
||||
'text' => ($db->error().' sql='.$sql));
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2005-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2006 Regis Houssin <regis.houssin@cap-networks.com>
|
||||
/* Copyright (C) 2003-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2007 Regis Houssin <regis.houssin@cap-networks.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -113,6 +113,23 @@ class box_propales extends ModeleBoxes {
|
||||
|
||||
$i++;
|
||||
}
|
||||
|
||||
$i=$num;
|
||||
while ($i < $max)
|
||||
{
|
||||
if ($num==0 && $i==$num)
|
||||
{
|
||||
$this->info_box_contents[$i][0] = array('align' => 'center','text'=>$langs->trans("NoRecordedProposals"));
|
||||
$this->info_box_contents[$i][1] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][2] = array('text'=>' ');
|
||||
} else {
|
||||
$this->info_box_contents[$i][0] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][1] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][2] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][2] = array('text'=>' ');
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
else {
|
||||
dolibarr_print_error($db);
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2005-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2006 Regis Houssin <regis.houssin@cap-networks.com>
|
||||
/* Copyright (C) 2003-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2007 Regis Houssin <regis.houssin@cap-networks.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -116,7 +116,6 @@ class box_prospect extends ModeleBoxes {
|
||||
$this->info_box_contents[$i][0] = array('align' => 'center','text'=>$langs->trans("NoRecordedProspects"));
|
||||
$this->info_box_contents[$i][1] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][2] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][3] = array('text'=>' ');
|
||||
} else {
|
||||
$this->info_box_contents[$i][0] = array('text'=>' ');
|
||||
$this->info_box_contents[$i][1] = array('text'=>' ');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user