This commit is contained in:
Dany wm 2024-09-18 22:35:07 +02:00 committed by sparkyx
parent 3dafbd2d69
commit cf4711dd55
7 changed files with 14 additions and 6 deletions

View file

@ -2071,6 +2071,9 @@ margin-left: 2px;
li.tabs_selected { li.tabs_selected {
padding: 12px 15px 15px 15px; padding: 12px 15px 15px 15px;
} }
li.tabs-width11 {
min-width: 7rem;
}
} }
.inner_box li.tabs { .inner_box li.tabs {
@ -2092,6 +2095,7 @@ ul.tabs a:hover {
display:inline; display:inline;
background-color: lightblue; background-color: lightblue;
} }
/* /*
* ???? * ????
*/ */

View file

@ -89,7 +89,7 @@ echo '<ul class="tabs noprint" style="padding-top:0px">';
for ($i=0; $i<count($menu); $i++) for ($i=0; $i<count($menu); $i++)
{ {
$style=($def==($i+1))?"tabs_selected":"tabs"; $style=($def==($i+1))?"tabs_selected":"tabs";
echo '<li class="'.$style.'">'; echo '<li class="tabs-width11 '.$style.'">';
echo '<a href="'.$menu[$i]['href'].'" title="'.$menu[$i]['alt'].'">'; echo '<a href="'.$menu[$i]['href'].'" title="'.$menu[$i]['alt'].'">';
echo h($menu[$i]['label']); echo h($menu[$i]['label']);
echo '</a>'; echo '</a>';

View file

@ -34,7 +34,7 @@ class Balance_Age
{ {
private $cn; private $cn;
public $afiche;
function __construct($p_cn) function __construct($p_cn)
{ {
$this->cn=$p_cn; $this->cn=$p_cn;

View file

@ -47,6 +47,8 @@ class Fiche
private $display_mode ; /*!< how the card is displaid */ private $display_mode ; /*!< how the card is displaid */
var $tot_cred; var $tot_cred;
var $tot_deb; var $tot_deb;
var $ledger_name; ///!< this variable is a mistake, it shouldn't exist, need code rewrite
var $ledger_description; ///!< this variable is a mistake, it shouldn't exist, need code rewrite
function __construct($p_cn,$p_id=0) function __construct($p_cn,$p_id=0)
{ {

View file

@ -48,7 +48,8 @@ class Lettering
var $start; var $start;
var $end; var $end;
var $sql_ledger; var $sql_ledger;
var $object_type;
var $content;
/** /**
* constructor * constructor
* @param $p_init resource to database * @param $p_init resource to database
@ -483,7 +484,7 @@ class Lettering
*/ */
class Lettering_Account extends Lettering class Lettering_Account extends Lettering
{ {
var $account;
function __construct($p_init, $p_account=null) function __construct($p_init, $p_account=null)
{ {
parent::__construct($p_init); parent::__construct($p_init);
@ -673,6 +674,7 @@ class Lettering_Card extends Lettering
* @param $p_init db resource * @param $p_init db resource
* @param $p_qcode quick_code of the jrnx.j_id * @param $p_qcode quick_code of the jrnx.j_id
*/ */
public $quick_code;
function __construct($p_init, $p_qcode=null) function __construct($p_init, $p_qcode=null)
{ {
parent::__construct($p_init); parent::__construct($p_init);

View file

@ -548,7 +548,7 @@ catch(exception) { alert('<?php echo j(_('Je ne peux pas ajouter de fichier'))?>
<?php if (($p_view != 'READ' && $str_select_doc != '' )|| ! empty ($aAttachedFile)) : ?> <?php if (($p_view != 'READ' && $str_select_doc != '' )|| ! empty ($aAttachedFile)) : ?>
<div id="div_action_attached_doc"> <div id="div_action_attached_doc">
<h2> <h2 class="h-section">
<?php <?php
echo _('Pièces attachées'); echo _('Pièces attachées');
printf("(%s)",count($aAttachedFile)); printf("(%s)",count($aAttachedFile));

View file

@ -42,7 +42,7 @@ $menu=new Default_Menu();
?> ?>
<div id="follow_up_detail"> <div id="follow_up_detail">
<?php echo h2(_("Détail opération")) ?> <?php echo h2(_("Détail opération"),'class="h-section"') ?>
<?php echo HtmlInput::hidden("nb_item", $article_count); ?> <?php echo HtmlInput::hidden("nb_item", $article_count); ?>
<table style="width:100%" id="sold_item"> <table style="width:100%" id="sold_item">