Add link to warehouse and bank account in cashdesk page.
This commit is contained in:
parent
055c4411ff
commit
3e0608154f
@ -15,37 +15,41 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
include('../master.inc.php');
|
|
||||||
require ('include/environnement.php');
|
|
||||||
if ( $_SESSION['uid'] <= 0 ) {
|
|
||||||
|
|
||||||
|
include('../master.inc.php');
|
||||||
|
require ('include/environnement.php');
|
||||||
|
if ( $_SESSION['uid'] <= 0 ) {
|
||||||
header ('Location: index.php');
|
header ('Location: index.php');
|
||||||
|
exit;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<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="author" content="Jérémie Ollivier - jeremie.o@laposte.net" />
|
||||||
<meta name="Generator" content="Kwrite, Gimp, Inkscape" />
|
<meta name="Generator" content="Kwrite, Gimp, Inkscape" />
|
||||||
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
|
||||||
<meta http-equiv="Content-Language" content="fr" />
|
<meta http-equiv="Content-Language" content="fr" />
|
||||||
|
|
||||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||||
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
|
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
|
||||||
|
|
||||||
<!-- Import des fichiers nécessaires à JsCalendar -->
|
<!-- Import des fichiers nécessaires à JsCalendar -->
|
||||||
<style type="text/css">@import url(include/jscalendar/calendar-blue.css);</style>
|
<style type="text/css">
|
||||||
<script type="text/javascript" src="include/jscalendar/calendar.js"></script>
|
@import url(include/jscalendar/calendar-blue.css);
|
||||||
<script type="text/javascript" src="include/jscalendar/lang/calendar-fr.js"></script>
|
</style>
|
||||||
<script type="text/javascript" src="include/jscalendar/calendar-setup.js"></script>
|
<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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -54,23 +58,17 @@
|
|||||||
<div class="conteneur_img_gauche">
|
<div class="conteneur_img_gauche">
|
||||||
<div class="conteneur_img_droite">
|
<div class="conteneur_img_droite">
|
||||||
|
|
||||||
<h1 class="entete"><span>CAISSE</span></h1>
|
<h1 class="entete"><span>CAISSE</span></h1>
|
||||||
|
|
||||||
<div class="menu_principal">
|
<div class="menu_principal"><?php
|
||||||
<?php
|
include ('templates/menu.tpl.php');
|
||||||
include ('templates/menu.tpl.php');
|
?></div>
|
||||||
?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="contenu">
|
<div class="contenu"><?php
|
||||||
<?php
|
include ('affContenu.php');
|
||||||
include ('affContenu.php');
|
?></div>
|
||||||
?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php include ('affPied.php'); ?>
|
<?php include ('affPied.php'); ?></div>
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -1,2 +1,5 @@
|
|||||||
# Language file - en_US - cashdesk
|
# Language file - en_US - cashdesk
|
||||||
CashDesk=Cash desk
|
CashDesk=Cash desk
|
||||||
|
CashDeskBank=Bank accountre
|
||||||
|
CashDeskWarehouse=Warehouse
|
||||||
|
CashDeskThirdParty=Third party
|
||||||
@ -1,2 +1,5 @@
|
|||||||
# Language file - fr_FR - cashdesk
|
# Language file - fr_FR - cashdesk
|
||||||
CashDesk=Caisse
|
CashDesk=Caisse
|
||||||
|
CashDeskBank=Compte bancaire
|
||||||
|
CashDeskWarehouse=Entrepôt
|
||||||
|
CashDeskThirdParty=Tiers
|
||||||
@ -131,7 +131,6 @@ p {
|
|||||||
color: #333;
|
color: #333;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
padding-right: 25px;
|
padding-right: 25px;
|
||||||
background: url('images/lock.png') no-repeat top right;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu_choix0 a:hover{
|
.menu_choix0 a:hover{
|
||||||
|
|||||||
@ -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
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
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">
|
<div class="menu_bloc">
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
<li class="menu_choix1"><a href="affIndex.php?menu=facturation&id=NOUV"><span>Nouvelle vente</span></a></li>
|
<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_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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user