noalyss
Version-9
include
template
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>'
;
22
endfor
;
23
?>
24
</
tr
>
25
<?php
26
$e
=0;
27
$fiche
=
new
Fiche
(
$cn
);
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
" "
.
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>'
;
44
endforeach
;
45
46
?>
47
</
table
>
48
49
50
51
</div>
th
th($p_string, $p_extra='', $raw='')
Definition:
ac_common.php:58
tr
tr($p_string, $p_extra='')
Definition:
ac_common.php:88
td
td($p_string='', $p_extra='')
surround the string with td
Definition:
ac_common.php:83
endforeach
if(isset($tot['tva'][$a]))($tot['tva'][$a])?></td ><?php else endforeach
Definition:
acc_ledger_history_purchase_detail.php:183
$i
$i
Definition:
action_document_type_mtable_input.php:83
$array
$array
Definition:
ajax_add_concerned_card.php:115
$cn
$cn
Definition:
ajax_anc_accounting.php:30
$row
$row
Definition:
ajax_anc_detail_operation.php:33
$detail
$detail
Definition:
ajax_display_letter.php:65
Dossier\id
static id()
return the 'gDossier' value after a check
Definition:
dossier.class.php:61
Fiche
define Class fiche and fiche def, those class are using class attribut. When adding or modifing new c...
Definition:
fiche.class.php:38
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:1039
HtmlInput\hidden
static hidden($p_name, $p_value, $p_id="")
Definition:
html_input.class.php:230
Icon_Action\modify
static modify($p_id, $p_javascript)
Display the icon to modify a idem.
Definition:
icon_action.class.php:272
Icon_Action\trash
static trash($p_id, $p_javascript)
Display the icon of a trashbin.
Definition:
icon_action.class.php:261
table
$all table
Definition:
company.inc.php:142
$span
$span
Definition:
impress_poste.inc.php:43
$sp
$sp
Definition:
result_cat_card_summary.php:7
$sort
for($i=0;$i< count($aHeading);$i++) $sort
Definition:
result_cat_card_summary.php:16
$fiche
$fiche
Definition:
result_cat_card_summary.php:27
$e
$e
Definition:
result_cat_card_summary.php:26
endfor
endfor
Definition:
result_cat_card_summary.php:22