<?php
include 'header.php';
include 'erpc_movimentacao_toolbar.php';
?>

<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
  <li role="presentation" class="active"><a id="mform1" href="#form1" aria-controls="form1" role="tab" data-toggle="tab">Cadastro</a></li>
  <li role="presentation"><a id="mform2" href="#form2" aria-controls="form2" role="tab" data-toggle="tab">Produto(s)</a></li>
</ul>

<form id=validate_custom method=POST action="erpc_movimentacao_ws.php" >
<!-- Tab panes -->
<div class="tab-content">
  <div role="tabpanel" class="tab-pane fade in active" id="form1">
    <?php
    include 'erpc_movimentacao1_add.php';
    ?>
  </div>
  <div role="tabpanel" class="tab-pane fade" id="form2" hidden>
    <?php
    include 'erpc_movimentacao2_add.php';
    ?>
  </div>

  <!--<div role="tabpanel" class="tab-pane fade" id="form4">
    <div class=block>
      <div class="content controls">
      <p>form #4 aqui, etc, pegou a ideia</p>
      </div>
    </div>
  </div>-->
</div>

  <div class=footer>
    <div class="side pull-right">
      <div class=btn-group>
        <button class="btn btn-default" type="button" onClick="window.history.go(-1)" value="Voltar">Voltar</button>
        <button class="btn btn-success" type="submit" value="adicionar" onClick="$('#validate_custom').validationEngine('hide');" name="adicionar">Adicionar</button>
      </div>
    </div>
  </div>
</form>

<?php include 'footer.php'; ?>
<script type="text/javascript" src="js/acme.js"></script>
<script type="text/javascript" src="js/edit_fantasma.js"></script>
