Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
52 righe
1.7 KiB
52 righe
1.7 KiB
<? |
|
if (!empty($partecipanti)) { |
|
?> |
|
<div class="table-responsive m-0 p-0"> |
|
<table class="table table-striped"> |
|
<thead> |
|
<tr> |
|
<th style="width:10%"><?= __("Codice fiscale") ?></th> |
|
<th style="width:80%"><?= __("Denominazione") ?></th> |
|
<th style="width:10%"><?= __("Ruolo") ?></th> |
|
</tr> |
|
</thead> |
|
<? |
|
$i = 0; |
|
foreach($partecipanti AS $partecipante) { |
|
$raggruppamento = []; |
|
if (!empty($obj) && method_exists($obj,"getRaggruppamento")) { |
|
$raggruppamento = $obj->getRaggruppamento($partecipante["codice"]); |
|
} |
|
if (!empty($raggruppamento)) { |
|
?> |
|
<tr> |
|
<td colspan="3" class="bg-light"></td> |
|
</tr> |
|
<? |
|
} |
|
?> |
|
<tr> |
|
<td class="text-center"><?= $partecipante["codice_fiscale"] ?></td> |
|
<td><?= $partecipante["ragione_sociale"] ?></td> |
|
<td class="text-center"><?= (!empty($raggruppamento)) ? __("Capogruppo") : "" ?></td> |
|
</tr> |
|
<? |
|
if (!empty($raggruppamento)) { |
|
foreach($raggruppamento AS $partecipante) { ?> |
|
<tr> |
|
<td class="text-center"><?= $partecipante["codice_fiscale_impresa"] ?></td> |
|
<td><?= $partecipante["ragione_sociale"] ?></td> |
|
<td class="text-center"><?= ucfirst(strtolower(explode("-",$partecipante["ruolo"])[1])) ?></td> |
|
</tr> |
|
<? } ?> |
|
<tr> |
|
<td colspan="3" class="bg-light"></td> |
|
</tr> |
|
<? } |
|
} |
|
?> |
|
</table> |
|
</div> |
|
<? |
|
} |
|
?>
|