Update Template
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 4m10s

This commit is contained in:
Leandro Hernan Rojas 2025-05-16 18:27:15 -03:00
parent 5ec19044f2
commit b401941fe1

View File

@ -14,7 +14,7 @@
<style> <style>
body { body {
font-family: 'Liberation Sans', Arial, sans-serif; font-family: 'Liberation Sans', Arial, sans-serif;
font-size: 12px; font-size: 11px;
color: #000; color: #000;
margin: 30px; margin: 30px;
padding: 20px; padding: 20px;
@ -22,6 +22,24 @@
border: 1px solid #000; border: 1px solid #000;
} }
.row {
display: flex;
justify-content: space-between;
gap: 20px;
}
.col {
flex: 1;
}
.izquierda {
flex-basis: 50%; /* fácil de cambiar a 40%, 30%, etc. */
}
.derecha {
flex-basis: 50%;
}
h1, h2, h3 { h1, h2, h3 {
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -72,8 +90,9 @@
<h2>Presupuesto Nº @Model.Quotenumber</h2> <h2>Presupuesto Nº @Model.Quotenumber</h2>
<p>Fecha de emisión: @Model.IssueDate.ToString("dd/MM/yyyy")</p> <p>Fecha de emisión: @Model.IssueDate.ToString("dd/MM/yyyy")</p>
</div> </div>
<div class="row">
<div class="section"> <div class="col izquierda">
<!-- Datos del Cliente -->
<h3>Datos del Cliente</h3> <h3>Datos del Cliente</h3>
<p><strong>Nombre:</strong> @Model.Customer.Name</p> <p><strong>Nombre:</strong> @Model.Customer.Name</p>
<p><strong>Domicilio:</strong> @Model.Customer.Address</p> <p><strong>Domicilio:</strong> @Model.Customer.Address</p>
@ -93,14 +112,15 @@
<p>— Sin documentos —</p> <p>— Sin documentos —</p>
} }
</div> </div>
<div class="col derecha">
<div class="section"> <!-- Datos del Paciente y Atención -->
<h3>Datos del Paciente y Atención</h3> <h3>Datos del Paciente y Atención</h3>
<p><strong>Paciente:</strong> @Model.PatientName</p> <p><strong>Paciente:</strong> @Model.PatientName</p>
<p><strong>Médico:</strong> @Model.ProfessionalName</p> <p><strong>Médico:</strong> @Model.ProfessionalName</p>
<p><strong>Institución:</strong> @Model.InstitutionName</p> <p><strong>Institución:</strong> @Model.InstitutionName</p>
<p><strong>Fecha estimada:</strong> @(Model.EstimatedDate?.ToString("dd/MM/yyyy") ?? "—")</p> <p><strong>Fecha estimada:</strong> @(Model.EstimatedDate?.ToString("dd/MM/yyyy") ?? "—")</p>
</div> </div>
</div>
<div class="section"> <div class="section">
<h3>Productos Cotizados</h3> <h3>Productos Cotizados</h3>