mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-18 04:20:50 +01:00
Miglioramenti consuntivo contratto
This commit is contained in:
parent
3ded7f2ff9
commit
8e721ae142
@ -284,43 +284,54 @@ echo '
|
|||||||
</big>
|
</big>
|
||||||
<br><br>';
|
<br><br>';
|
||||||
|
|
||||||
if (!empty($totale_ore_contratto)) {
|
|
||||||
echo '
|
echo '
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<big class="col-md-4 col-md-offset-4 text-center">
|
<big class="col-md-4 col-md-offset-4 text-center">
|
||||||
<table class="table text-left table-striped table-bordered">
|
<table class="table text-left table-striped table-bordered">';
|
||||||
|
if (!empty($totale_ore_contratto)) {
|
||||||
|
echo '
|
||||||
<tr>
|
<tr>
|
||||||
<td>'.tr('Ore a contratto').':</td>
|
<td>'.tr('Ore a contratto').':</td>
|
||||||
<td class="text-right">'.Translator::numberToLocale($totale_ore_contratto).'</td>
|
<td class="text-right">'.Translator::numberToLocale($totale_ore_contratto).'</td>
|
||||||
</tr>
|
</tr>';
|
||||||
|
}
|
||||||
|
echo '
|
||||||
<tr>
|
<tr>
|
||||||
<td>'.tr('Ore erogate totali').':</td>
|
<td>'.tr('Ore erogate totali').':</td>
|
||||||
<td class="text-right">'.Translator::numberToLocale($totale_ore).'</td>
|
<td class="text-right">'.Translator::numberToLocale($totale_ore).'</td>
|
||||||
</tr>
|
</tr>';
|
||||||
|
if (!empty($totale_ore_contratto)) {
|
||||||
|
echo '
|
||||||
<tr>
|
<tr>
|
||||||
<td>'.tr('Ore residue totali').':</td>
|
<td>'.tr('Ore residue totali').':</td>
|
||||||
<td class="text-right">'.Translator::numberToLocale(floatval($totale_ore_contratto) - floatval($totale_ore)).'</td>
|
<td class="text-right">'.Translator::numberToLocale(floatval($totale_ore_contratto) - floatval($totale_ore)).'</td>
|
||||||
</tr>
|
</tr>';
|
||||||
|
}
|
||||||
|
echo '
|
||||||
<tr>
|
<tr>
|
||||||
<td>'.tr('Ore erogate concluse').':</td>
|
<td>'.tr('Ore erogate concluse').':</td>
|
||||||
<td class="text-right">'.Translator::numberToLocale($totale_ore_completate).'</td>
|
<td class="text-right">'.Translator::numberToLocale($totale_ore_completate).'</td>
|
||||||
</tr>
|
</tr>';
|
||||||
|
if (!empty($totale_ore_contratto)) {
|
||||||
|
echo '
|
||||||
<tr>
|
<tr>
|
||||||
<td>'.tr('Ore residue concluse').':</td>
|
<td>'.tr('Ore residue concluse').':</td>
|
||||||
<td class="text-right">'.Translator::numberToLocale(floatval($totale_ore_contratto) - floatval($totale_ore_completate)).'</td>
|
<td class="text-right">'.Translator::numberToLocale(floatval($totale_ore_contratto) - floatval($totale_ore_completate)).'</td>
|
||||||
</tr>
|
</tr>';
|
||||||
|
}
|
||||||
|
echo '
|
||||||
</table>
|
</table>
|
||||||
</big>
|
</big>
|
||||||
</div>';
|
</div>';
|
||||||
} else {
|
|
||||||
|
if (empty($totale_ore_contratto)) {
|
||||||
echo '
|
echo '
|
||||||
<div class="alert alert-info">
|
<div class="alert alert-info">
|
||||||
<p>'.tr('Per monitorare il consumo ore, inserisci almeno una riga con unità di misura "ore"').'.</p>
|
<p>'.tr('Per monitorare il consumo ore, inserisci almeno una riga con unità di misura "ore"').'.</p>
|
||||||
</div>';
|
</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
</div>';
|
</div>';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user