
<div id="content_alert" style=""></div>

<div class="card">
    <div class="container">
        <div class="form-row mx-0">
            <div class="col-md-6 mb-1">
                <label class="col-form-label" for="IdBanco">Banco</label>
                <select class="form-control form-control-sm custom-select my-0 mr-sm-2" id="IdBanco" name="IdBanco" required>
                    <option value=""> - Seleccione - </option>
                    <?php foreach ( GSS_BancoFN::selectActivos() as $o_GSS_BancoBN ){ ?>
                    <option value="<?=$o_GSS_BancoBN->getIdBanco()?>" <?php if( $o_GSS_BancoBN->getIdBanco()==$o_DefaultBN->getIdBanco() ){ echo "SELECTED"; } ?>> <?=$o_GSS_BancoBN->getDescripcionLocal()?> </option>
                    <?php } ?>
                </select>
            </div>
            <div class="col-md-6 mb-1">
                <label class="col-form-label" for="IdMoneda">Moneda</label>
                <select class="form-control form-control-sm custom-select my-0 mr-sm-2" id="IdMoneda" name="IdMoneda" required>
                    <option value=""> - Seleccione - </option>
                    <?php foreach ( GSS_MonedaMastFN::selectAll() as $o_GSS_MonedaMastBN ){ ?>
                    <option value="<?=$o_GSS_MonedaMastBN->getIdMoneda()?>" <?php if( $o_GSS_MonedaMastBN->getIdMoneda()==$o_DefaultBN->getIdMoneda() ){ echo "SELECTED"; } ?>> <?=$o_GSS_MonedaMastBN->getDescripcion()?> </option>
                    <?php } ?>
                </select>
            </div>
        </div>
        <div class="form-row mx-0">
            <div class="col-md-6 mb-1">
                <label class="col-form-label" for="NumeroCuenta">Numero de Cuenta</label>
                <input type="text" class="form-control" name="NumeroCuenta" id="NumeroCuenta" placeholder="" value="<?=$o_DefaultBN->getNumeroCuenta();?>" onblur="this.value=this.value.toUpperCase();" >
            </div>
            <div class="col-md-6 mb-1">
                <label class="col-form-label" for="NumeroCuentaCCI">Nro Cuenta Interbancario</label>
                <input type="text" class="form-control" name="NumeroCuentaCCI" id="NumeroCuentaCCI" placeholder="" value="<?=$o_DefaultBN->getNumeroCuentaCCI();?>" onblur="this.value=this.value.toUpperCase();" >
            </div>
        </div>
        <div class="form-row mx-0">
            <div class="col-md-6 mb-1">
                <label class="col-form-label" for="Estado">Estado</label>
                <select class="form-control form-control-sm custom-select my-0 mr-sm-2" name="Estado" id="Estado" required>
                    <option value=""> - Seleccione - </option>
                    <option value="A" <?php if( $o_DefaultBN->getEstado()=="A" ){ echo "SELECTED"; } ?>> ACTIVO </option>
                    <option value="I" <?php if( $o_DefaultBN->getEstado()=="I" ){ echo "SELECTED"; } ?>> INACTIVO </option>
                </select>
            </div>
            <div class="col-md-6 mb-1">
                <label class="col-form-label" for="IdUbigeo">Sucursal</label>
                <select class="form-control form-control-sm custom-select my-0 mr-sm-2" id="IdUbigeo" name="IdUbigeo" required>
                    <option value=""> - Seleccione - </option>
                    <?php foreach ( MST_UbigeoFN::selectDepartamentoActivos() as $o_MST_UbigeoBN ){ ?>
                    <option value="<?=$o_MST_UbigeoBN->getIdUbigeo()?>" <?php if( $o_MST_UbigeoBN->getIdUbigeo()==$o_DefaultBN->getIdUbigeo() ){ echo "SELECTED"; } ?>> <?=$o_MST_UbigeoBN->getDescripcion()?> </option>
                    <?php } ?>
                </select>
            </div>
        </div>
        
        <div class="dropdown-divider"></div>
        
        <div class="form-row mx-0">
            <div class="col-md-6 mb-1">
                <div class="col-auto my-1">
                    <div class="custom-control custom-checkbox mr-sm-2">
                        <input type="checkbox" class="custom-control-input" id="FlagDetraccion" name="FlagDetraccion" value="1" <?php if( $o_DefaultBN->getFlagDetraccion() ){ echo "CHECKED"; } ?> >
                        <label class="custom-control-label" for="FlagDetraccion">Es Cuenta Detracci&oacute;n</label>
                    </div>
                </div>
            </div>
            <div class="col-md-6 mb-1">
                <div class="col-auto my-1">
                    <div class="custom-control custom-checkbox mr-sm-2">
                        <input type="checkbox" class="custom-control-input" id="FlagMostrarCuenta" name="FlagMostrarCuenta" value="1" <?php if( $o_DefaultBN->getFlagMostrarCuenta() ){ echo "CHECKED"; } ?>>
                        <label class="custom-control-label" for="FlagMostrarCuenta">Visible en PDF</label>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>