Esempio n. 1
0
                                <select id="idConta" name="idConta" class="col-xs-10 col-sm-5">                                    
                                    <?php 
$cb = new ContaBanco(Conf::pegCnxPadrao());
Utilitarios::preencheComboDB($cb->getCadastradas());
?>
                                </select>
                            </div>
                        </div>                        
                        
                        <div class="form-group">
                            <label for="idPlanoConta" class="col-sm-2 control-label no-padding-right"><strong>Plano de contas:</strong></label>
                            <div class="col-sm-9">
                                <select id="idPlanoConta" name="idPlanoConta" class="col-xs-10 col-sm-5">                                    
                                    <?php 
$pc = new PlanoDeConta(Conf::pegCnxPadrao());
Utilitarios::preencheComboDB($pc->getCadastrados());
?>
                                </select>
                            </div>
                        </div>                                               
                        
                        <div class="form-group">
                            <label for="historico" class="col-sm-2 control-label no-padding-right" style="font-weight: bold;">Histórico:</label>
                            <div class="col-sm-9">                                      
                                <textarea id="historico" class="col-xs-10 col-sm-5" name="historico" rows="6" ></textarea>
                            </div>
                        </div>
                                                
                        <hr />
                        <div id="divButoes"><br />
                            
Esempio n. 2
0
                                <select id="idConta" name="idConta" class="col-xs-10 col-sm-5">                                    
                                    <?php 
$cb = new ContaBanco(Conf::pegCnxPadrao());
Utilitarios::preencheComboDB($cb->getCadastradas(), $cr->getIdPlanoConta());
?>
                                </select>
                            </div>
                        </div>                        
                        
                        <div class="form-group">
                            <label for="idPlanoConta" class="col-sm-2 control-label no-padding-right"><strong>Plano de contas:</strong></label>
                            <div class="col-sm-9">
                                <select id="idPlanoConta" name="idPlanoConta" class="col-xs-10 col-sm-5">                                    
                                    <?php 
$pc = new PlanoDeConta(Conf::pegCnxPadrao());
Utilitarios::preencheComboDB($pc->getCadastrados(), $cr->getIdPlanoConta());
?>
                                </select>
                            </div>
                        </div>
                        
                        <div class="form-group">
                            <label for="dataVencimento" class="col-sm-2 control-label no-padding-right" style="font-weight: bold;">Vencimento:</label>
                            <div class="col-sm-9">
                                <input type="text" id="dataVencimento" class="col-xs-10 col-sm-5 data" name="dataVencimento" value="<?php 
echo $cr->getDataVencimento();
?>
" maxlength="200" title="Plano de Conta"/>
                            </div>
                        </div>