phpcs
This commit is contained in:
parent
a1c20ceb87
commit
118ff2d8d0
@ -1,7 +1,6 @@
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2001-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2001-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2004-2017 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2018 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2017 Pierre-Henry Favre <support@atm-consulting.fr>
|
* Copyright (C) 2017 Pierre-Henry Favre <support@atm-consulting.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
|
||||||
@ -18,9 +17,9 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* \file htdocs/compta/recap-compta.php
|
* \file htdocs/compta/compta-files.php
|
||||||
* \ingroup compta
|
* \ingroup compta
|
||||||
* \brief Page de fiche recap customer
|
* \brief Page to show portoflio and files of a thirdparty and download it
|
||||||
*/
|
*/
|
||||||
require '../main.inc.php';
|
require '../main.inc.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
|
||||||
@ -30,7 +29,9 @@ require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
|
|||||||
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
|
||||||
|
|
||||||
restrictedArea($user,'banque');
|
restrictedArea($user,'banque');
|
||||||
|
|
||||||
$langs->load("companies");
|
$langs->load("companies");
|
||||||
if (! empty($conf->facture->enabled)) $langs->load("bills");
|
if (! empty($conf->facture->enabled)) $langs->load("bills");
|
||||||
$date_start =GETPOST('date_start','alpha');
|
$date_start =GETPOST('date_start','alpha');
|
||||||
@ -67,15 +68,22 @@ $arrayfields=array(
|
|||||||
'date'=>array('label'=>"Date", 'checked'=>1),
|
'date'=>array('label'=>"Date", 'checked'=>1),
|
||||||
//...
|
//...
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Actions
|
* Actions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//$parameters = array('socid' => $id);
|
//$parameters = array('socid' => $id);
|
||||||
//$reshook = $hookmanager->executeHooks('doActions', $parameters, $object); // Note that $object may have been modified by some hooks
|
//$reshook = $hookmanager->executeHooks('doActions', $parameters, $object); // Note that $object may have been modified by some hooks
|
||||||
//if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
//if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Fetch the lines/files from db /
|
* View
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$filesarray=array();
|
$filesarray=array();
|
||||||
$result=false;
|
$result=false;
|
||||||
if(($action=="searchfiles"||$action=="dl" ) && $date_start && $date_stop){
|
if(($action=="searchfiles"||$action=="dl" ) && $date_start && $date_stop){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user