<?php

include_once "../controller/cExpediente.php";
$xpend = new cExpediente();
$cliente = $xpend->getExpediente($_POST['id']);
$pert = $xpend->getDetallesPerfilTrans($_POST['id']);
$domicilio = $xpend->getDetallesDomClte($_POST['id']);
$con = new Database();
$id = $_POST['id'];
$r = $con->Query("select m.id,t.id_tipo_expedientes as subtipo from main_tipos_expedientes as m, clientes_todos as cl, tipo_expedientes as t where t.id_main = m.id and cl.tipo_exp = t.id_tipo_expedientes and cl.id_cliente = {$id}");
?>
<div class="row">
	<form id="commentForm" >
		<input type="hidden" id="tipoExp" name="tipoExp" value="<?php 
echo $r['subtipo'];
?>
" />
		<div id="rootwizard" class="col-md-12">
			<div class="form-wizard-steps">
				<ul class="wizard-steps">
					<li class="" data-target="#step1" id="wizard_uno">
						<a href="#tab1" data-toggle="tab"> <span class="step">1</span> <span class="title">Información General</span> </a>
					</li>
					<li data-target="#step2" class=""id="wizard_dos">
						<a href="#tab2" data-toggle="tab"> <span class="step">2</span> <span class="title">Domicilio Fiscal</span> </a>
					</li>
					<li data-target="#step3" class="" id="wizard_tres">
						<a href="#tab3" data-toggle="tab"> <span class="step">3</span> <span class="title">Adjuntar Documentos</span> </a>
					</li>
					<li data-target="#step4" class=""id="wizard_cuatro">
						<a href="#tab4" data-toggle="tab"> <span class="step">4</span> <span class="title">Finalizar