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.
34 righe
1.4 KiB
34 righe
1.4 KiB
<? |
|
if (empty($root)) { |
|
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; |
|
include_once($configPath); |
|
$id_modulo = "rendicontazione"; |
|
$cmd_info = gara::getInfoModulo($id_modulo); |
|
$error = true; |
|
if (!empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($cmd_info["modulo_riferimento"]) && $_SESSION["utente"]->permission($radice,$_GET["codice_gara"],$id_modulo)) { |
|
$versamento = ["importo"=>0,"note"=>"","data"=>""]; |
|
$id = $_POST["id"]; |
|
} |
|
} |
|
if (isset($versamento)) { |
|
$error = false; |
|
?> |
|
<tr> |
|
<td width="150" class="form-group"> |
|
<input type="text" class="form-control datepick" rel="S;10;10;D" value="<?= $versamento["data"] ?>" name="versamento[<?= $id ?>][data]" title="<?= __("Data") ?>"> |
|
</td> |
|
<td width="150"> |
|
<input type="text" class="form-control" rel="S;0;0;2D" value="<?= number_format($versamento["importo"],2,".","") ?>" name="versamento[<?= $id ?>][importo]" title="<?= __("Importo") ?>"> |
|
</td> |
|
<td> |
|
<input type="text" class="form-control" rel="N;0;0;A" value="<?= $versamento["note"] ?>" name="versamento[<?= $id ?>][note]" title="<?= __("Note") ?>"> |
|
</td> |
|
<td width="10"> |
|
<button type="button" class="btn btn-danger btn-sm" onclick="$(this).parent().parent().remove();" title="<?= __("Elimina") ?>"> |
|
<span class="fa fa-times"></span> |
|
</button> |
|
</td> |
|
</tr> |
|
<? |
|
} |
|
?>
|