noalyss  Version-9
result_cat_card_summary.php
Go to the documentation of this file.
1 <?php
2 //This file is part of NOALYSS and is under GPL
3 //see licence.txt
4 ?><div class="content">
5 <?php echo _("Cherche")?> :
6  <?php
7  $col="";$sp="";
8  for ($e=0;$e<count($aHeading);$e++) {$col.=$sp.$e; $sp=",";}
9  echo HtmlInput::filter_table("fiche_tb_id", $col, '1');
10  ?>
11 <table id="fiche_tb_id" class="sortable">
12 <tr>
13 <?php
14  echo th(_('Détail'));
15 for ($i=0;$i<count($aHeading);$i++) :
16  $span="";$sort="";
17  if ($i==0)
18  {
19  $sort= 'class="sorttable_sorted"';
20  }
21  echo '<th '.$sort.'>'.$aHeading[$i]->ad_text.'</th>';
23 ?>
24 </tr>
25 <?php
26 $e=0;
28  echo HtmlInput::hidden("card_gdossier",Dossier::id());
29 foreach ($array as $row ) :
30  $e++;
31  if ($e%2==0)
32  printf('<tr id="row_card%s" class="odd">',$row['f_id']);
33  else
34  printf('<tr id="row_card%s" class="even">',$row['f_id']);
35 
36  $fiche->id=$row['f_id'];
37  $detail=Icon_Action::modify("mod".$fiche->id, sprintf("modify_card('%s')",$fiche->id)).
38  "&nbsp;".
39  Icon_Action::trash("del".$fiche->id, sprintf("delete_card_id('%s')",$fiche->id));
40 echo td($detail);
41 $fiche->display_row();
42 
43  echo '</tr>';
45 
46 ?>
47 </table>
48 
49 
50 
51 </div>
$detail
$detail
Definition: ajax_display_letter.php:65
$e
$e
Definition: result_cat_card_summary.php:26
$fiche
$fiche
Definition: result_cat_card_summary.php:27
tr
tr($p_string, $p_extra='')
Definition: ac_common.php:88
endforeach
if(isset( $tot[ 'tva'][ $a]))($tot['tva'][$a])?></td ><?php else endforeach
Definition: acc_ledger_history_purchase_detail.php:182
Icon_Action\trash
static trash($p_id, $p_javascript)
Display the icon of a trashbin.
Definition: icon_action.class.php:261
$sp
$sp
Definition: result_cat_card_summary.php:7
$array
$array
Definition: ajax_add_concerned_card.php:115
HtmlInput\filter_table
static filter_table($p_table_id, $p_col, $start_row)
filter the rows in a table and keep the colored row in alternance
Definition: html_input.class.php:1001
$i
$i
Definition: action_document_type_mtable_input.php:83
$sort
for($i=0;$i< count($aHeading);$i++) $sort
Definition: result_cat_card_summary.php:16
Icon_Action\modify
static modify($p_id, $p_javascript)
Display the icon to modify a idem.
Definition: icon_action.class.php:272
Fiche
define Class fiche and fiche def, those class are using class attribut. When adding or modifing new c...
Definition: fiche.class.php:37
endfor
endfor
Definition: result_cat_card_summary.php:22
$cn
$cn
Definition: ajax_anc_accounting.php:30
Dossier\id
static id()
return the $_REQUEST['gDossier'] after a check
Definition: dossier.class.php:55
table
$all table
Definition: company.inc.php:138
$span
$span
Definition: impress_poste.inc.php:43
th
th($p_string, $p_extra='', $raw='')
Definition: ac_common.php:58
td
td($p_string='', $p_extra='')
surround the string with td
Definition: ac_common.php:83
HtmlInput\hidden
static hidden($p_name, $p_value, $p_id="")
Definition: html_input.class.php:218
$row
$row
Definition: ajax_anc_detail_operation.php:33