<?php 
session_start();
include_once '../../conexao/index.php';

/*Variaveis do Sistema*/
/*********************************************/
$userID = $_SESSION['idUsuario'];
$userNOME = $_SESSION['nomeUsuario'];
$userCATE = $_SESSION['categoriaUsuario'];
/*********************************************/
$sql = "SELECT fechoperiodo FROM periodo WHERE diaperiodo = 'Aberto'";
$rs = mysqli_query($db, $sql);
while ($dados = mysqli_fetch_array($rs)) {
    $epa = $dados['fechoperiodo'];
?>
<div class="form-group a">
	<label>Valor em caixa</label>
	<input class="form-control" type="number" step="0.01" value="<?php echo ''.number_format($epa,2,'.',','); ?>" readonly>
</div>
<?php
}
?>
<style type="text/css">
	.a label{
		font-size: 12pt;
	}

	.a input{
		width: 45%;
		padding: 20px 20px;
		font-size: 18pt;
		border: 1px solid #ccc;
	}

	.a{
		display: flex;
		flex-direction: column;
		align-items: center;
	}
</style>