<?php use_helper( 'UrlFunctions' ); ?>
<?php use_helper( 'IncludePartial' ); ?>
<?php use_helper( 'UtilFunctions' ); ?>

<div class="shadow-sm p-3 mb-2 bg-white rounded card card-body">
    <div class="row">
        <div class="col mb-1">
            <h4 class="text-info text-nowrap mb-0"><?=$s_Titulo?></h4>
        </div>
    </div>
</div>

    <form id="form1" name="form1" method="POST" onsubmit="return false;"  enctype="multipart/form-data">
        <input type="hidden" name="s_TipoProc" id="s_TipoProc" value="<?=$s_TipoProc?>">
        <input type="hidden" name="TypeSub" id="TypeSub" value="0">
        
                                            <?php include_partial(
                                                "addedit",
                                                array(
                                                        "o_MST_PersonaMastBN" => $o_MST_PersonaMastBN,
                                                        "a_DptMST_Ubigeo" => $a_DptMST_Ubigeo,
                                                        "a_PrvMST_Ubigeo" => $a_PrvMST_Ubigeo,
                                                        "a_DstMST_Ubigeo" => $a_DstMST_Ubigeo,
                                                        "s_TipoProc" => $s_TipoProc
                                               )
                                             ); ?>
                                                                 
                                                                 
          	<div class="form-row mx-0">
                <div class="col-md-6 mb-1">
                    <button type="button" class="btn btn-danger btn-lg btn-block" onclick="location.href='<?php echo buildUrl( 'persona/list', 'block=001' ) ?>'">CANCELAR</button>
                </div>
                <div class="col-md-6 mb-1">
                    <button type="submit" class="btn btn-primary btn-lg btn-block" onclick="$( '#TypeSub' ).val( '1' );">GRABAR Y SALIR</button>
                </div>
    		</div>
            <div id="s_ImagenLoad" style="display: none;"><img src="<?=Constantes::ROOT_DIR_IMG?>progress.gif" border="0"/>&nbsp;<label class="laber req">Grabando...</label></div>                                                       
                                        
    </form>

<br><br><br>