Cambio a post
This commit is contained in:
@@ -4,7 +4,7 @@ $fecha = date('d_m_Y');
|
|||||||
require_once '../class/c_login.php';
|
require_once '../class/c_login.php';
|
||||||
if (!isset($_SESSION['user'])){
|
if (!isset($_SESSION['user'])){
|
||||||
die(header('Location: index.php'));
|
die(header('Location: index.php'));
|
||||||
}/*
|
}
|
||||||
header("Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
header("Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
||||||
header("Content-Disposition: attachment;filename=solicitudes_$fecha.xlsx");
|
header("Content-Disposition: attachment;filename=solicitudes_$fecha.xlsx");
|
||||||
header("Cache-Control: max-age=0");
|
header("Cache-Control: max-age=0");
|
||||||
@@ -17,13 +17,11 @@ use PhpOffice\PhpSpreadsheet\Style\Color;
|
|||||||
use PhpOffice\PhpSpreadsheet\Style\Fill;
|
use PhpOffice\PhpSpreadsheet\Style\Fill;
|
||||||
use PhpOffice\PhpSpreadsheet\Style\Alignment;
|
use PhpOffice\PhpSpreadsheet\Style\Alignment;
|
||||||
use PhpOffice\PhpSpreadsheet\IOFactory;
|
use PhpOffice\PhpSpreadsheet\IOFactory;
|
||||||
*/
|
|
||||||
|
|
||||||
$fecha_ini = $_POST["fecha_inicial"];
|
$fecha_ini = $_POST["fecha_inicial"];
|
||||||
$fecha_fin = $_POST["fecha_final"];
|
$fecha_fin = $_POST["fecha_final"];
|
||||||
|
|
||||||
exit();
|
|
||||||
|
|
||||||
//Reposiciones
|
//Reposiciones
|
||||||
$repEdo_rs = $db->query('SELECT * FROM fs_estado_reposicion' );
|
$repEdo_rs = $db->query('SELECT * FROM fs_estado_reposicion' );
|
||||||
|
|
||||||
|
|||||||
@@ -195,8 +195,8 @@ if($user->periodo_id!= ""){
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<form action="./export/solicitudes_excel.php" target="_blank" >
|
<form action="./export/solicitudes_excel.php" target="_blank" method="post" >
|
||||||
<input type="hidden" name="fecha_inicial" value="<?php echo $fecha_ini;?>">
|
<input type="hidden" name="fecha_inicial" value="<?php echo $fecha_ini;?>">
|
||||||
<input type="hidden" name="fecha_final" value="<?php echo $fecha_fin;?>">
|
<input type="hidden" name="fecha_final" value="<?php echo $fecha_fin;?>">
|
||||||
<p class="text-right">
|
<p class="text-right">
|
||||||
|
|||||||
Reference in New Issue
Block a user