Debug v18
This commit is contained in:
parent
f5d7ac2bc1
commit
359ebb9a7f
@ -408,7 +408,7 @@ if ((isModEnabled('fournisseur') && empty($conf->global->MAIN_USE_NEW_SUPPLIERMO
|
|||||||
|
|
||||||
|
|
||||||
// Latest donations
|
// Latest donations
|
||||||
if (isModEnabled('don') && !empty($user->rights->don->lire)) {
|
if (isModEnabled('don') && $user->hasRight('don', 'lire')) {
|
||||||
include_once DOL_DOCUMENT_ROOT.'/don/class/don.class.php';
|
include_once DOL_DOCUMENT_ROOT.'/don/class/don.class.php';
|
||||||
|
|
||||||
$langs->load("boxes");
|
$langs->load("boxes");
|
||||||
@ -441,6 +441,7 @@ if (isModEnabled('don') && !empty($user->rights->don->lire)) {
|
|||||||
print '<th class="right">'.$langs->trans("DateModificationShort").'</th>';
|
print '<th class="right">'.$langs->trans("DateModificationShort").'</th>';
|
||||||
print '<th width="16"> </th>';
|
print '<th width="16"> </th>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
if ($num) {
|
if ($num) {
|
||||||
$total_ttc = $totalam = $total_ht = 0;
|
$total_ttc = $totalam = $total_ht = 0;
|
||||||
|
|
||||||
|
|||||||
@ -667,6 +667,8 @@ if ($id > 0) {
|
|||||||
print '</div>';
|
print '</div>';
|
||||||
print '<div class="fichehalfright">';
|
print '<div class="fichehalfright">';
|
||||||
|
|
||||||
|
print '<div class="underbanner clearboth"></div>';
|
||||||
|
|
||||||
$nbcols = 3;
|
$nbcols = 3;
|
||||||
if (isModEnabled("banque")) {
|
if (isModEnabled("banque")) {
|
||||||
$nbcols++;
|
$nbcols++;
|
||||||
|
|||||||
@ -30,6 +30,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/class/commonobject.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/class/commonobject.class.php';
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/core/class/commonpeople.class.php';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -37,6 +38,8 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/commonobject.class.php';
|
|||||||
*/
|
*/
|
||||||
class Don extends CommonObject
|
class Don extends CommonObject
|
||||||
{
|
{
|
||||||
|
use CommonPeople;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string ID to identify managed object
|
* @var string ID to identify managed object
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user