Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% extends "layouts/pdf_base.html" %}
- {% block content %}
- <p align="right">
- Cotización Nro.: <strong>{{ object.code }}</strong><br>
- Fecha de solicitud: <strong>{{ object.requested_at|date }}</strong><br>
- Válida hasta el: <strong>{{ object.expired_at|date }}</strong>
- </p>
- <p>Estimado(a),<br>
- <strong>{{ object.customer }}</strong><br>
- Presente.-
- </p>
- <p>La presente es para hacerle llegar la siguiente <strong>COTIZACIÓN</strong> relacionada al proyecto <strong>{{ object.project_name|upper }} - {{ object.title|upper }}</strong> la cual consta con los siguientes requerimientos:</p>
- <center><h2>Lista de Requerimientos</h2></center>
- <table border="1" cellpadding="5">
- <thead>
- <tr>
- <th colspan="5">Requerimiento</th>
- <th colspan="2">Estimaciones</th>
- </tr>
- <tr>
- <th width="100">Codigo</th>
- <th width="200">Título</th>
- <th width="400">Descripción</th>
- <th width="150">Categoría</th>
- <th width="100">Nivel de dificultad</th>
- <th width="70">Tiempo<br>(Hora(s))</th>
- <th width="70">Costo<br>({{ object.currency.symbol }})</th>
- </tr>
- </thead>
- <tbody>
- {% for item in object.budget_requirements.all %}
- <tr>
- <td align="center" width="100">{{ item.code }}</td>
- <td align="center" width="200">{{ item.title }}</td>
- <td align="justify" width="400">{{ item.description }}</td>
- <td align="center" width="150">{{ item.category }}</td>
- <td align="center" width="100">{{ item.dificulty_level }}</td>
- <td align="center" width="70">{{ item.max_hours_estimated }}</td>
- <td align="right" width="70">{{ item.max_amount }}</td>
- </tr>
- {% endfor %}
- {% for item in object.budget_requirements.all %}
- <tr>
- <td align="center" width="100">{{ item.code }}</td>
- <td align="center" width="200">{{ item.title }}</td>
- <td align="justify" width="400">{{ item.description }}</td>
- <td align="center" width="150">{{ item.category }}</td>
- <td align="center" width="100">{{ item.dificulty_level }}</td>
- <td align="center" width="70">{{ item.max_hours_estimated }}</td>
- <td align="right" width="70">{{ item.max_amount }}</td>
- </tr>
- {% endfor %}
- {% for item in object.budget_requirements.all %}
- <tr>
- <td align="center" width="100">{{ item.code }}</td>
- <td align="center" width="200">{{ item.title }}</td>
- <td align="justify" width="400">{{ item.description }}</td>
- <td align="center" width="150">{{ item.category }}</td>
- <td align="center" width="100">{{ item.dificulty_level }}</td>
- <td align="center" width="70">{{ item.max_hours_estimated }}</td>
- <td align="right" width="70">{{ item.max_amount }}</td>
- </tr>
- {% endfor %}
- {% for item in object.budget_requirements.all %}
- <tr>
- <td align="center" width="100">{{ item.code }}</td>
- <td align="center" width="200">{{ item.title }}</td>
- <td align="justify" width="400">{{ item.description }}</td>
- <td align="center" width="150">{{ item.category }}</td>
- <td align="center" width="100">{{ item.dificulty_level }}</td>
- <td align="center" width="70">{{ item.max_hours_estimated }}</td>
- <td align="right" width="70">{{ item.max_amount }}</td>
- </tr>
- {% endfor %}
- {% for item in object.budget_requirements.all %}
- <tr>
- <td align="center" width="100">{{ item.code }}</td>
- <td align="center" width="200">{{ item.title }}</td>
- <td align="justify" width="400">{{ item.description }}</td>
- <td align="center" width="150">{{ item.category }}</td>
- <td align="center" width="100">{{ item.dificulty_level }}</td>
- <td align="center" width="70">{{ item.max_hours_estimated }}</td>
- <td align="right" width="70">{{ item.max_amount }}</td>
- </tr>
- {% endfor %}
- {% for item in object.budget_requirements.all %}
- <tr>
- <td align="center" width="100">{{ item.code }}</td>
- <td align="center" width="200">{{ item.title }}</td>
- <td align="justify" width="400">{{ item.description }}</td>
- <td align="center" width="150">{{ item.category }}</td>
- <td align="center" width="100">{{ item.dificulty_level }}</td>
- <td align="center" width="70">{{ item.max_hours_estimated }}</td>
- <td align="right" width="70">{{ item.max_amount }}</td>
- </tr>
- {% endfor %}
- {% for item in object.budget_requirements.all %}
- <tr>
- <td align="center" width="100">{{ item.code }}</td>
- <td align="center" width="200">{{ item.title }}</td>
- <td align="justify" width="400">{{ item.description }}</td>
- <td align="center" width="150">{{ item.category }}</td>
- <td align="center" width="100">{{ item.dificulty_level }}</td>
- <td align="center" width="70">{{ item.max_hours_estimated }}</td>
- <td align="right" width="70">{{ item.max_amount }}</td>
- </tr>
- {% endfor %}
- {% for item in object.budget_requirements.all %}
- <tr>
- <td align="center" width="100">{{ item.code }}</td>
- <td align="center" width="200">{{ item.title }}</td>
- <td align="justify" width="400">{{ item.description }}</td>
- <td align="center" width="150">{{ item.category }}</td>
- <td align="center" width="100">{{ item.dificulty_level }}</td>
- <td align="center" width="70">{{ item.max_hours_estimated }}</td>
- <td align="right" width="70">{{ item.max_amount }}</td>
- </tr>
- {% endfor %}
- {% for item in object.budget_requirements.all %}
- <tr>
- <td align="center" width="100">{{ item.code }}</td>
- <td align="center" width="200">{{ item.title }}</td>
- <td align="justify" width="400">{{ item.description }}</td>
- <td align="center" width="150">{{ item.category }}</td>
- <td align="center" width="100">{{ item.dificulty_level }}</td>
- <td align="center" width="70">{{ item.max_hours_estimated }}</td>
- <td align="right" width="70">{{ item.max_amount }}</td>
- </tr>
- {% endfor %}
- {% for item in object.budget_requirements.all %}
- <tr>
- <td align="center" width="100">{{ item.code }}</td>
- <td align="center" width="200">{{ item.title }}</td>
- <td align="justify" width="400">{{ item.description }}</td>
- <td align="center" width="150">{{ item.category }}</td>
- <td align="center" width="100">{{ item.dificulty_level }}</td>
- <td align="center" width="70">{{ item.max_hours_estimated }}</td>
- <td align="right" width="70">{{ item.max_amount }}</td>
- </tr>
- {% endfor %}
- {% for item in object.budget_requirements.all %}
- <tr>
- <td align="center" width="100">{{ item.code }}</td>
- <td align="center" width="200">{{ item.title }}</td>
- <td align="justify" width="400">{{ item.description }}</td>
- <td align="center" width="150">{{ item.category }}</td>
- <td align="center" width="100">{{ item.dificulty_level }}</td>
- <td align="center" width="70">{{ item.max_hours_estimated }}</td>
- <td align="right" width="70">{{ item.max_amount }}</td>
- </tr>
- {% endfor %}
- {% for item in object.budget_requirements.all %}
- <tr>
- <td align="center" width="100">{{ item.code }}</td>
- <td align="center" width="200">{{ item.title }}</td>
- <td align="justify" width="400">{{ item.description }}</td>
- <td align="center" width="150">{{ item.category }}</td>
- <td align="center" width="100">{{ item.dificulty_level }}</td>
- <td align="center" width="70">{{ item.max_hours_estimated }}</td>
- <td align="right" width="70">{{ item.max_amount }}</td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement