mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Merge branch 'mod/presupuestos_pdf_2' into 'main'
Modificaciones en tabla de totales y optimización del tiempo de generacion del pdf See merge request jjimenez/safekat!137
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="<?= site_url('themes/vuexy/css/font-pdf.css') ?>">
|
||||
<link rel="stylesheet" href="<?= site_url('themes/vuexy/css/all.css') ?>">
|
||||
<!-- <link rel="stylesheet" href="--><?php //= site_url('themes/vuexy/css/all.css') ?><!--">-->
|
||||
<link rel="stylesheet" href="<?= site_url('themes/vuexy/css/pdf.presupuesto.css') ?>">
|
||||
<style>
|
||||
@page {
|
||||
@ -255,8 +255,6 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Tirada</th>
|
||||
<th>U.Impresión 4%</th>
|
||||
<th>U.Envío 21%</th>
|
||||
<th>Precio**</th>
|
||||
<th>Precio UD.</th>
|
||||
<th>TOTAL CON IVA</th>
|
||||
@ -265,22 +263,14 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="tirada"><?= $presupuesto->tirada ?> uds.</td>
|
||||
<td class="precio">TBD €</td>
|
||||
<td class="precio">TBD €</td>
|
||||
<td class="precio">TBD €</td>
|
||||
<td class="precio">TBD €</td>
|
||||
<td class="precio">TBD €</td>
|
||||
<td class="precio"><?= $presupuesto->total_presupuesto ?> €</td>
|
||||
<td class="precio"><?= $presupuesto->total_precio_unidad ?> €</td>
|
||||
<td class="precio"><?= $presupuesto->total_presupuesto * 1.04 ?> €</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td class="iva" colspan="5">Estos precios no incluyen I.V.A.</td>
|
||||
<td class="iva"></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
<?php if (isset($presupuesto->comentarios_pdf)) { ?>
|
||||
<?php if (!empty($presupuesto->comentarios_pdf)) { ?>
|
||||
<div class="observaciones">
|
||||
<h6 class="observaciones">OBSERVACIONES</h6>
|
||||
<div class="comentarios">
|
||||
@ -290,7 +280,8 @@
|
||||
<?php } ?>
|
||||
|
||||
<div class="footer">
|
||||
<p class="texto-info">Por la grave crisis de papel que está sufriendo el sector, este presupuesto deberá ser confirmado con su
|
||||
<p class="texto-info">Por la grave crisis de papel que está sufriendo el sector, este presupuesto deberá ser
|
||||
confirmado con su
|
||||
comercial el día que se oficialice el pedido, dado que pueda darse la situación de que no haya stock
|
||||
disponible o que su precio haya variado considerablemente, para así poder ofrecerle alternativas.
|
||||
</p>
|
||||
|
||||
@ -1,16 +1,40 @@
|
||||
/* Presupuesto Safekat */
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 1.42857143;
|
||||
color: #333;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
table {
|
||||
border-spacing: 0;
|
||||
background-color: transparent;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body table.logo {
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
color: black;
|
||||
}
|
||||
|
||||
body table.logo td.logo img {
|
||||
width: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
body table.presupuesto-data {
|
||||
@ -84,8 +108,6 @@ body table.presupuesto-data td.autor {
|
||||
body table.impresion {
|
||||
width: 100%;
|
||||
font-size: 11px;
|
||||
// IMN margin-bottom: 9px;
|
||||
// IMN margin-top: 8px;
|
||||
}
|
||||
|
||||
body table.impresion th {
|
||||
@ -139,7 +161,6 @@ body table.cubierta {
|
||||
width: 100%;
|
||||
font-size: 11px;
|
||||
margin-top: -2px;
|
||||
// IMN margin-bottom: 9px;
|
||||
}
|
||||
|
||||
body table.cubierta th {
|
||||
@ -188,7 +209,6 @@ body table.encuadernacion {
|
||||
width: 100%;
|
||||
font-size: 11px;
|
||||
margin-top: -2px;
|
||||
// IMN margin-bottom: 9px;
|
||||
}
|
||||
|
||||
body table.encuadernacion th {
|
||||
@ -221,7 +241,7 @@ body table.encuadernacion td.v-first {
|
||||
border-right: 1px dotted black;
|
||||
}
|
||||
|
||||
body table.encuadernacion tdv.second {
|
||||
body table.encuadernacion td.v.second {
|
||||
width: 8%;
|
||||
border-left: 1px dotted black;
|
||||
border-right: 1px dotted black;
|
||||
@ -244,7 +264,6 @@ body table.extras {
|
||||
width: 100%;
|
||||
font-size: 11px;
|
||||
margin-top: -2px;
|
||||
// IMN margin-bottom: 9px;
|
||||
}
|
||||
|
||||
body table.extras th {
|
||||
@ -335,9 +354,8 @@ body table.envio td.t-first {
|
||||
body table.totales {
|
||||
margin-left: auto;
|
||||
margin-right: 0;
|
||||
width: 75%;
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
body table.totales th {
|
||||
@ -367,19 +385,6 @@ body table.totales td.precio {
|
||||
|
||||
}
|
||||
|
||||
body table.totales td.precio_iva {
|
||||
|
||||
}
|
||||
|
||||
body table.totales td.iva {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
border-bottom: none;
|
||||
text-align: right;
|
||||
font-size: 10px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
|
||||
/* Presupuesto Manual */
|
||||
|
||||
@ -551,215 +556,3 @@ table.pedido-maquetacion-totales td.iva_right {
|
||||
font-size: 10px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
#tablacentral {
|
||||
border-top-width: 0;
|
||||
border-left-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 0;
|
||||
text-align: center;
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
||||
#tablanoborde {
|
||||
border-top-width: 0;
|
||||
border-left-width: 0;
|
||||
border-right-width: 0;
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
|
||||
#tabla {
|
||||
border-style: solid;
|
||||
border-top-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 1px;
|
||||
font-size: 7pt;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#tabladato {
|
||||
font-size: 9pt;
|
||||
font-weight: normal;
|
||||
float: center;
|
||||
}
|
||||
|
||||
#tablaesquina {
|
||||
border-style: solid;
|
||||
border-top-width: 0;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 0;
|
||||
}
|
||||
|
||||
#tdinteriorabajo {
|
||||
border-top: none;
|
||||
border-bottom: 1px solid;
|
||||
border-left: 1px solid;
|
||||
border-right: 1px solid;
|
||||
text-align: center;
|
||||
font-size: 10px;
|
||||
height: -40px;
|
||||
}
|
||||
|
||||
#tdinteriorarriba {
|
||||
border-bottom: none;
|
||||
border-top: 1px solid;
|
||||
border-left: 1px solid;
|
||||
border-right: 1px solid;
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
height: -40px;
|
||||
padding-left: 2px;
|
||||
padding-top: 1px;
|
||||
}
|
||||
|
||||
#tdinteriorarribacliente {
|
||||
border-top: 1px solid;
|
||||
border-left: 1px solid;
|
||||
border-bottom: 1px solid;
|
||||
border-right: none;
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
height: -40px;
|
||||
padding-left: 2px;
|
||||
padding-top: 1px;
|
||||
}
|
||||
|
||||
#tdinteriorarribaclientedato {
|
||||
border-top: 1px solid;
|
||||
border-left: none;
|
||||
border-bottom: 1px solid;
|
||||
border-right: 1px solid;
|
||||
font-size: 12px;
|
||||
height: -40px;
|
||||
padding-left: 2px;
|
||||
padding-top: 1px;
|
||||
}
|
||||
|
||||
#tdniarribaniabajo {
|
||||
border-bottom: none;
|
||||
border-top: none;
|
||||
border-left: 1px solid;
|
||||
border-right: 1px solid;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#tdniarribaniabajoopciones {
|
||||
border-bottom: none;
|
||||
border-top: none;
|
||||
border-left: 1px solid;
|
||||
border-right: 1px solid;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
#tdniarribaniabajo2 {
|
||||
border-bottom: none;
|
||||
border-top: 1px solid;
|
||||
border-left: 1px solid;
|
||||
border-right: 1px solid;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#tdniarribaniabajo3 {
|
||||
border-bottom: 1px solid;
|
||||
border-top: none;
|
||||
border-left: 1px solid;
|
||||
border-right: 1px solid;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#subtdabajocentro {
|
||||
border-bottom: 1px solid;
|
||||
border-top: none;
|
||||
border-left: 1px solid;
|
||||
border-right: 1px solid;
|
||||
text-align: center;
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
||||
#subtd {
|
||||
border-top: none;
|
||||
border-bottom: 1px solid;
|
||||
border-left: 1px solid;
|
||||
border-right: 1px solid;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#subtdcen {
|
||||
border-top: none;
|
||||
border-bottom: 1px solid #919191;
|
||||
border-left: 1px solid #919191;
|
||||
border-right: 1px solid #919191;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
background-color: #77B2D0;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#subtdizq {
|
||||
border-top: none;
|
||||
border-bottom: 1px solid #919191;
|
||||
border-right: 1px solid #919191;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
color: white;
|
||||
background-color: #77B2D0;
|
||||
}
|
||||
|
||||
#subtdder {
|
||||
border-top: none;
|
||||
border-bottom: 1px solid #919191;
|
||||
border-left: 1px solid #919191;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
color: white;
|
||||
background-color: #77B2D0;
|
||||
}
|
||||
|
||||
#tdarriba {
|
||||
border-bottom: none;
|
||||
border-top: 1px solid;
|
||||
border-left: 1px solid;
|
||||
border-right: 1px solid;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#tdarribaopciones {
|
||||
border-bottom: none;
|
||||
border-top: 1px solid;
|
||||
border-left: 1px solid;
|
||||
border-right: 1px solid;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
#tdabajo {
|
||||
border-bottom: 1px solid;
|
||||
border-top: none;
|
||||
border-left: 1px solid;
|
||||
border-right: 1px solid;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#dato {
|
||||
text-align: center;
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
||||
#subrayado {
|
||||
font-size: 9pt;
|
||||
border-bottom: 1px solid;
|
||||
}
|
||||
|
||||
#td {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#tdopciones {
|
||||
font-size: 10px;
|
||||
}
|
||||
Reference in New Issue
Block a user