doc
This commit is contained in:
parent
4068b1db87
commit
78e3275fa9
@ -3,7 +3,7 @@
|
|||||||
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@inodbox.com>
|
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@inodbox.com>
|
||||||
* Copyright (C) 2006 Marc Barilley <marc@ocebo.com>
|
* Copyright (C) 2006 Marc Barilley <marc@ocebo.com>
|
||||||
* Copyright (C) 2011-2013 Philippe Grand <philippe.grand@atoo-net.com>
|
* Copyright (C) 2011-2013 Philippe Grand <philippe.grand@atoo-net.com>
|
||||||
* Copyright (C) 2022 Frédéric France <frederic.france@netlogic.fr>
|
* Copyright (C) 2022-2023 Frédéric France <frederic.france@netlogic.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -29,10 +29,10 @@
|
|||||||
/**
|
/**
|
||||||
* Prepare array with list of tabs
|
* Prepare array with list of tabs
|
||||||
*
|
*
|
||||||
* @param Object $object Object related to tabs
|
* @param FactureFournisseur $object Object related to tabs
|
||||||
* @return array Array of tabs to show
|
* @return array Array of tabs to show
|
||||||
*/
|
*/
|
||||||
function facturefourn_prepare_head($object)
|
function facturefourn_prepare_head(FactureFournisseur $object)
|
||||||
{
|
{
|
||||||
global $db, $langs, $conf;
|
global $db, $langs, $conf;
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ function facturefourn_prepare_head($object)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//if ($fac->mode_reglement_code == 'PRE')
|
//if ($fac->mode_reglement_code == 'PRE')
|
||||||
if (!empty($conf->paymentbybanktransfer->enabled)) {
|
if (isModEnabled('paymentbybanktransfer')) {
|
||||||
$nbStandingOrders = 0;
|
$nbStandingOrders = 0;
|
||||||
$sql = "SELECT COUNT(pfd.rowid) as nb";
|
$sql = "SELECT COUNT(pfd.rowid) as nb";
|
||||||
$sql .= " FROM ".MAIN_DB_PREFIX."prelevement_demande as pfd";
|
$sql .= " FROM ".MAIN_DB_PREFIX."prelevement_demande as pfd";
|
||||||
@ -132,8 +132,8 @@ function facturefourn_prepare_head($object)
|
|||||||
/**
|
/**
|
||||||
* Prepare array with list of tabs
|
* Prepare array with list of tabs
|
||||||
*
|
*
|
||||||
* @param Object $object Object related to tabs
|
* @param CommandeFournisseur $object Object related to tabs
|
||||||
* @return array Array of tabs to show
|
* @return array Array of tabs to show
|
||||||
*/
|
*/
|
||||||
function ordersupplier_prepare_head(CommandeFournisseur $object)
|
function ordersupplier_prepare_head(CommandeFournisseur $object)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user