2019-07-15 16:53:18 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// Altri dati gestionali
|
|
|
|
echo '
|
2019-07-16 09:50:43 +02:00
|
|
|
<tbody>
|
|
|
|
<tr class="fourth-level">
|
2019-07-15 18:34:59 +02:00
|
|
|
<th colspan="2">
|
2019-07-15 16:53:18 +02:00
|
|
|
'.str_repeat($space, 3).'2.2.1.16 AltriDatiGestionali - '.tr('Riga _NUM_', [
|
|
|
|
'_NUM_' => $key,
|
|
|
|
]);
|
|
|
|
|
|
|
|
if ($key == 1) {
|
|
|
|
echo '
|
|
|
|
<button type="button" class="btn btn-xs btn-info pull-right" onclick="add_altri_dati(this)" id="add-altri_dati">
|
|
|
|
<i class="fa fa-plus"></i> '.tr('Aggiungi').'
|
|
|
|
</button>';
|
|
|
|
}
|
|
|
|
|
|
|
|
echo '
|
2019-07-15 18:34:59 +02:00
|
|
|
</th>
|
2019-07-15 16:53:18 +02:00
|
|
|
</tr>';
|
|
|
|
|
|
|
|
// Tipo Dato
|
|
|
|
echo '
|
2019-07-16 09:50:43 +02:00
|
|
|
<tr class="fifth-level">
|
2019-07-15 16:53:18 +02:00
|
|
|
<td style="vertical-align: middle;">'.str_repeat($space, 4).'2.2.1.16.1 TipoDato</td>
|
|
|
|
<td>
|
2019-07-15 18:34:59 +02:00
|
|
|
{[ "type": "text", "name": "altri_dati['.$key.'][tipo_dato]", "value": "'.$dato['tipo_dato'].'", "maxlength": 10 ]}
|
2019-07-15 16:53:18 +02:00
|
|
|
</td>
|
|
|
|
</tr>';
|
|
|
|
|
|
|
|
// Riferimento Testo
|
|
|
|
echo '
|
2019-07-16 09:50:43 +02:00
|
|
|
<tr class="fifth-level">
|
2019-07-15 16:53:18 +02:00
|
|
|
<td style="vertical-align: middle;">'.str_repeat($space, 4).'2.2.1.16.2 RiferimentoTesto</td>
|
|
|
|
<td>
|
2019-07-15 18:34:59 +02:00
|
|
|
{[ "type": "text", "name": "altri_dati['.$key.'][riferimento_testo]", "value": "'.$dato['riferimento_testo'].'", "maxlength": 60 ]}
|
2019-07-15 16:53:18 +02:00
|
|
|
</td>
|
|
|
|
</tr>';
|
|
|
|
|
|
|
|
// Riferimento Numero
|
|
|
|
echo '
|
2019-07-16 09:50:43 +02:00
|
|
|
<tr class="fifth-level">
|
2019-07-15 16:53:18 +02:00
|
|
|
<td style="vertical-align: middle;">'.str_repeat($space, 4).'2.2.1.16.3 RiferimentoNumero</td>
|
|
|
|
<td>
|
2019-07-16 10:01:16 +02:00
|
|
|
{[ "type": "number", "name": "altri_dati['.$key.'][riferimento_numero]", "value": "'.$dato['riferimento_numero'].'" ]}
|
2019-07-15 16:53:18 +02:00
|
|
|
</td>
|
|
|
|
</tr>';
|
|
|
|
|
|
|
|
// Riferimento Data
|
|
|
|
echo '
|
2019-07-16 09:50:43 +02:00
|
|
|
<tr class="fifth-level" id="last-altri_dati-'.$key.'">
|
2019-07-15 16:53:18 +02:00
|
|
|
<td style="vertical-align: middle;">'.str_repeat($space, 4).'2.2.1.16.4 RiferimentoData</td>
|
|
|
|
<td>
|
2019-07-16 10:01:16 +02:00
|
|
|
{[ "type": "date", "name": "altri_dati['.$key.'][riferimento_data]", "value": "'.$dato['riferimento_data'].'"]}
|
2019-07-15 16:53:18 +02:00
|
|
|
</td>
|
2019-07-16 09:50:43 +02:00
|
|
|
</tr>
|
|
|
|
</tbody>';
|