Add link to warehouse and bank account in cashdesk page.

This commit is contained in:
Laurent Destailleur 2008-10-26 14:14:37 +00:00
parent 055c4411ff
commit 3e0608154f
5 changed files with 49 additions and 36 deletions

View File

@ -15,37 +15,41 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
include('../master.inc.php');
require ('include/environnement.php');
if ( $_SESSION['uid'] <= 0 ) {
header ('Location: index.php');
}
include('../master.inc.php');
require ('include/environnement.php');
if ( $_SESSION['uid'] <= 0 ) {
header ('Location: index.php');
exit;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Caisse</title>
<title>Caisse</title>
<meta name="robots" content="none" />
<meta name="robots" content="none" />
<meta name="author" content="Jérémie Ollivier - jeremie.o@laposte.net" />
<meta name="Generator" content="Kwrite, Gimp, Inkscape" />
<meta name="author" content="Jérémie Ollivier - jeremie.o@laposte.net" />
<meta name="Generator" content="Kwrite, Gimp, Inkscape" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
<meta http-equiv="Content-Language" content="fr" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
<meta http-equiv="Content-Language" content="fr" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
<!-- Import des fichiers nécessaires à JsCalendar -->
<style type="text/css">@import url(include/jscalendar/calendar-blue.css);</style>
<script type="text/javascript" src="include/jscalendar/calendar.js"></script>
<script type="text/javascript" src="include/jscalendar/lang/calendar-fr.js"></script>
<script type="text/javascript" src="include/jscalendar/calendar-setup.js"></script>
<!-- Import des fichiers nécessaires à JsCalendar -->
<style type="text/css">
@import url(include/jscalendar/calendar-blue.css);
</style>
<script type="text/javascript" src="include/jscalendar/calendar.js"></script>
<script type="text/javascript"
src="include/jscalendar/lang/calendar-fr.js"></script>
<script type="text/javascript"
src="include/jscalendar/calendar-setup.js"></script>
</head>
<body>
@ -54,23 +58,17 @@
<div class="conteneur_img_gauche">
<div class="conteneur_img_droite">
<h1 class="entete"><span>CAISSE</span></h1>
<h1 class="entete"><span>CAISSE</span></h1>
<div class="menu_principal">
<?php
include ('templates/menu.tpl.php');
?>
</div>
<div class="menu_principal"><?php
include ('templates/menu.tpl.php');
?></div>
<div class="contenu">
<?php
include ('affContenu.php');
?>
</div>
<div class="contenu"><?php
include ('affContenu.php');
?></div>
<?php include ('affPied.php'); ?>
</div>
<?php include ('affPied.php'); ?></div>
</div>
</div>

View File

@ -1,2 +1,5 @@
# Language file - en_US - cashdesk
CashDesk=Cash desk
CashDesk=Cash desk
CashDeskBank=Bank accountre
CashDeskWarehouse=Warehouse
CashDeskThirdParty=Third party

View File

@ -1,2 +1,5 @@
# Language file - fr_FR - cashdesk
CashDesk=Caisse
CashDeskBank=Compte bancaire
CashDeskWarehouse=Entrepôt
CashDeskThirdParty=Tiers

View File

@ -131,7 +131,6 @@ p {
color: #333;
text-decoration: none;
padding-right: 25px;
background: url('images/lock.png') no-repeat top right;
}
.menu_choix0 a:hover{

View File

@ -14,10 +14,20 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-->
<?php
$langs->load("@cashdesk");
$logout='<img class="login" border="0" src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/logout.png">';
?>
<div class="menu_bloc">
<ul class="menu">
<li class="menu_choix1"><a href="affIndex.php?menu=facturation&id=NOUV"><span>Nouvelle vente</span></a></li>
<li class="menu_choix2"><a href="<?php echo eregi_replace('/cashdesk','',$conf_url_racine); ?>/"><span>Gestion commerciale</span></a></li>
<li class="menu_choix0"><a href="deconnexion.php"><span title="Cliquez pour quitter la session">Utilisateur : <?php echo $_SESSION['prenom'].' '.$_SESSION['nom']; ?></span></a></li>
<li class="menu_choix0"><a href="deconnexion.php"><span title="Cliquez pour quitter la session">Utilisateur : <?php echo $_SESSION['prenom'].' '.$_SESSION['nom'].' '.$logout; ?></span></a>
<?php echo '<a href="'.DOL_URL_ROOT.'/soc.php?socid='.$conf->global->CASHDESK_ID_THIRDPARTY.'">'.$langs->trans("CashDeskThirdParty").' : '.$conf->global->CASHDESK_ID_THIRDPARTY.'</a>'; ?>
<?php echo '<a href="'.DOL_URL_ROOT.'/compta/bank/fiche.php?id='.$conf->global->CASHDESK_ID_BANKACCOUNT.'">'.$langs->trans("CashDeskBank").' : '.$conf->global->CASHDESK_ID_BANKACCOUNT.'</a>'; ?>
<?php echo '<a href="'.DOL_URL_ROOT.'/product/stock/fiche.php?id='.$conf->global->CASHDESK_ID_WAREHOUSE.'">'.$langs->trans("CashDeskWarehouse").' : '.$conf->global->CASHDESK_ID_WAREHOUSE.'</a>'; ?>
</li>
</ul>
</div>