From 04fec6916f49251a9ae084afa418d1404aff39e9 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Wed, 12 Jul 2017 22:51:51 +0200 Subject: [PATCH] GESTION -> CUST, MANAGER, ADM ... esthetic move the name of the tiers to the right --- html/style-classic.css | 14 +++++++++++++- html/style-light.css | 7 +++++++ include/category_card.inc.php | 5 +++-- include/class/fiche.class.php | 2 +- 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/html/style-classic.css b/html/style-classic.css index 05142c8ba..65cf67f7b 100644 --- a/html/style-classic.css +++ b/html/style-classic.css @@ -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; +} \ No newline at end of file diff --git a/html/style-light.css b/html/style-light.css index 83f729f3a..b6a4ac590 100644 --- a/html/style-light.css +++ b/html/style-light.css @@ -2149,3 +2149,10 @@ td.selectedmenu { position:float; float:left; } +/* + * Name of the tiers in GESTION + */ +#gestion_title { + float:right; + margin-right: 25px; +} \ No newline at end of file diff --git a/include/category_card.inc.php b/include/category_card.inc.php index 101b00f09..c0357e423 100644 --- a/include/category_card.inc.php +++ b/include/category_card.inc.php @@ -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 '
'; 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 '