
<?php
 
/* CADASTROS RECENTES */
$select_db->ExeRead("*",  'fid_parametrizacao', "", "");
$valor = $select_db->getResult()[0]['par_valor'];

if($valor == ''){
	
	$valor = '0.10';
	
}

?>	
        <div class="col-md-12">
<div class="row" style="background-color: #e8e8e8; margin-bottom: 15px">
            <div class="col-md-9">
                <h3 style="margin: 0">
                   <i class="fa fa-cog" aria-hidden="true"></i>

                     Parametrização 
                </h3>
            </div>
            	<div class="col-md-3" style="margin-top:10px">
			<button type="button" class="simple-btn" onclick="TerminalAdmin.dashboard();">Voltar para Dashboard</button>
		</div>
     </div>
</div>
        
        

<div class="widgets-holder">
        <div class="row">
            <div class="masonary" style="position: relative; height: 121.8px;">
               
                 <form action="" id="formPontos">
                  <div class="col-md-5">

                <label>Valor por ponto</label>
                    <input name="par_valor" id="par_valor" value="<?php echo $valor; ?>" class="form-control" type="text">
                </div>
					 <div class="col-md-1"></div>
               
                <div class="col-md-4" style="margin-top: 25px">

                    <strong>Equivalente há 1 Ponto</strong>
                    
                </div>

                
      <input type="hidden" name="cadastrar-pontos" />
      
       </form>
       
        
                <div class="col-md-12" style="margin-top: 30px">

                    <button type="button" class="btn btn-success btn-lg" onclick="TerminalAdmin.parametrizar();">
                        <i class="fa fa-plus"></i> Alterar parametrização
                    </button>

                </div>

            </div><!-- Masonary -->
        </div>
    </div>
    

  