Skip to content
Snippets Groups Projects
Commit 0ee2a53f authored by clement's avatar clement
Browse files

Merge branch 'master' of gitlab.utc.fr:nf17-camp-p14/clivi

parents ddb05081 90def5fd
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ class PhoneField extends Field
// Todo, if isset($_POST[$this->name]) && !$this->validate() => Show a error msg explanation for this line.
$html = '<div class="form-group">
<label for="form'.$this->name.'">'.$this->label.'</label>
<input type="tel" name="'.$this->name.'" value="'.$this->value.'">
<input type="tel" class="form-control" name="'.$this->name.'" value="'.$this->value.'">
</div>';
return $html;
}
......
......@@ -12,7 +12,7 @@
<tbody>
<tr>
<td>Nombre moyen d'animal par client : </td>
<td><?php $tmp = $stats->nbAnimalMoyClient(); echo $tmp["value"]; ?></td>
<td><?php $tmp = $stats->nbAnimalMoyClient(); $nb_formated = number_format($tmp, 2, ',', ' '); echo $nb_formated["value"]; ?></td>
</tr>
</tbody>
</table>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment