GESTION -> CUST, MANAGER, ADM ... esthetic move the name of the tiers

to the right
This commit is contained in:
Dany De Bontridder 2017-07-12 22:51:51 +02:00
parent cb1af78c2a
commit 04fec6916f
4 changed files with 24 additions and 4 deletions

View file

@ -2214,7 +2214,19 @@ td.selectedmenu {
*/
#summary_op1,#summary_op2
{
position:float;
float:left;
padding-left: 150px;
}
/*
* Name of the tiers in GESTION
*/
#gestion_title {
float:right;
margin-right: 5%;
font-size:150%;
color :white;
font-variant: small-caps;
background-color: #5D90CD;
padding: 3px 20px 3px 20px;
margin-top:20px;
}

View file

@ -2149,3 +2149,10 @@ td.selectedmenu {
position:float;
float:left;
}
/*
* Name of the tiers in GESTION
*/
#gestion_title {
float:right;
margin-right: 25px;
}

View file

@ -64,7 +64,8 @@ switch ($ss_action)
$def=1;
$ss_action='dc';
}
$f=new Fiche($cn, $_REQUEST['f_id']);
$f_id=$http->request('f_id',"number");
$f=new Fiche($cn, $f_id);
echo '<div class="content">';
echo $f->get_gestion_title();
@ -77,7 +78,7 @@ $menu=array(
array('href'=>$root.'&sc=balag', 'label'=>_('Balance âgée'), 'alt'=>_('Balance âgée du tiers')),
array('href'=>$root.'&sc=let', 'label'=>_('Lettrage'), 'alt'=>_('Opérations & Lettrages'))
);
echo '<ul class="tabs">';
echo '<ul class="tabs" style="padding-top:0px">';
for ($i=0; $i<count($menu); $i++)
{
$style=($def==($i+1))?"tabs_selected":"tabs";

View file

@ -1985,7 +1985,7 @@ class Fiche
function get_gestion_title()
{
$r = "<h2>" . h($this->getName()) . " " . h($this->getAttribut(ATTR_DEF_FIRST_NAME)) . '[' . $this->get_quick_code() . ']</h2>';
$r = "<h2 id=\"gestion_title\">" . h($this->getName()) . " " . h($this->getAttribut(ATTR_DEF_FIRST_NAME)) . '[' . $this->get_quick_code() . ']</h2>';
return $r;
}
function get_all_account()