Advertisement
Guest User

Untitled

a guest
Jul 30th, 2017
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 7.49 KB | None | 0 0
  1. {% extends "layouts/pdf_base.html" %}
  2. {% block content %}
  3.     <p align="right">
  4.         Cotización Nro.:&nbsp;<strong>{{ object.code }}</strong><br>
  5.         Fecha de solicitud:&nbsp;<strong>{{ object.requested_at|date }}</strong><br>
  6.         Válida hasta el:&nbsp;<strong>{{ object.expired_at|date }}</strong>
  7.     </p>
  8.     <p>Estimado(a),<br>
  9.     <strong>{{ object.customer }}</strong><br>
  10.     Presente.-
  11.     </p>
  12.     <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>
  13.     <center><h2>Lista de Requerimientos</h2></center>
  14.     <table border="1" cellpadding="5">
  15.         <thead>
  16.             <tr>
  17.                 <th colspan="5">Requerimiento</th>
  18.                 <th colspan="2">Estimaciones</th>
  19.             </tr>
  20.             <tr>
  21.                 <th width="100">Codigo</th>
  22.                 <th width="200">Título</th>
  23.                 <th width="400">Descripción</th>
  24.                 <th width="150">Categoría</th>
  25.                 <th width="100">Nivel de dificultad</th>
  26.                 <th width="70">Tiempo<br>(Hora(s))</th>
  27.                 <th width="70">Costo<br>({{ object.currency.symbol }})</th>
  28.             </tr>
  29.         </thead>
  30.         <tbody>
  31.             {% for item in object.budget_requirements.all %}
  32.                 <tr>
  33.                     <td align="center" width="100">{{ item.code }}</td>
  34.                     <td align="center" width="200">{{ item.title }}</td>
  35.                     <td align="justify" width="400">{{ item.description }}</td>
  36.                     <td align="center" width="150">{{ item.category }}</td>
  37.                     <td align="center" width="100">{{ item.dificulty_level }}</td>
  38.                     <td align="center" width="70">{{ item.max_hours_estimated }}</td>
  39.                     <td align="right" width="70">{{ item.max_amount }}</td>
  40.                 </tr>
  41.             {% endfor %}
  42.             {% for item in object.budget_requirements.all %}
  43.                 <tr>
  44.                     <td align="center" width="100">{{ item.code }}</td>
  45.                     <td align="center" width="200">{{ item.title }}</td>
  46.                     <td align="justify" width="400">{{ item.description }}</td>
  47.                     <td align="center" width="150">{{ item.category }}</td>
  48.                     <td align="center" width="100">{{ item.dificulty_level }}</td>
  49.                     <td align="center" width="70">{{ item.max_hours_estimated }}</td>
  50.                     <td align="right" width="70">{{ item.max_amount }}</td>
  51.                 </tr>
  52.             {% endfor %}
  53.             {% for item in object.budget_requirements.all %}
  54.                 <tr>
  55.                     <td align="center" width="100">{{ item.code }}</td>
  56.                     <td align="center" width="200">{{ item.title }}</td>
  57.                     <td align="justify" width="400">{{ item.description }}</td>
  58.                     <td align="center" width="150">{{ item.category }}</td>
  59.                     <td align="center" width="100">{{ item.dificulty_level }}</td>
  60.                     <td align="center" width="70">{{ item.max_hours_estimated }}</td>
  61.                     <td align="right" width="70">{{ item.max_amount }}</td>
  62.                 </tr>
  63.             {% endfor %}
  64.             {% for item in object.budget_requirements.all %}
  65.                 <tr>
  66.                     <td align="center" width="100">{{ item.code }}</td>
  67.                     <td align="center" width="200">{{ item.title }}</td>
  68.                     <td align="justify" width="400">{{ item.description }}</td>
  69.                     <td align="center" width="150">{{ item.category }}</td>
  70.                     <td align="center" width="100">{{ item.dificulty_level }}</td>
  71.                     <td align="center" width="70">{{ item.max_hours_estimated }}</td>
  72.                     <td align="right" width="70">{{ item.max_amount }}</td>
  73.                 </tr>
  74.             {% endfor %}
  75.             {% for item in object.budget_requirements.all %}
  76.                 <tr>
  77.                     <td align="center" width="100">{{ item.code }}</td>
  78.                     <td align="center" width="200">{{ item.title }}</td>
  79.                     <td align="justify" width="400">{{ item.description }}</td>
  80.                     <td align="center" width="150">{{ item.category }}</td>
  81.                     <td align="center" width="100">{{ item.dificulty_level }}</td>
  82.                     <td align="center" width="70">{{ item.max_hours_estimated }}</td>
  83.                     <td align="right" width="70">{{ item.max_amount }}</td>
  84.                 </tr>
  85.             {% endfor %}
  86.             {% for item in object.budget_requirements.all %}
  87.                 <tr>
  88.                     <td align="center" width="100">{{ item.code }}</td>
  89.                     <td align="center" width="200">{{ item.title }}</td>
  90.                     <td align="justify" width="400">{{ item.description }}</td>
  91.                     <td align="center" width="150">{{ item.category }}</td>
  92.                     <td align="center" width="100">{{ item.dificulty_level }}</td>
  93.                     <td align="center" width="70">{{ item.max_hours_estimated }}</td>
  94.                     <td align="right" width="70">{{ item.max_amount }}</td>
  95.                 </tr>
  96.             {% endfor %}
  97.             {% for item in object.budget_requirements.all %}
  98.                 <tr>
  99.                     <td align="center" width="100">{{ item.code }}</td>
  100.                     <td align="center" width="200">{{ item.title }}</td>
  101.                     <td align="justify" width="400">{{ item.description }}</td>
  102.                     <td align="center" width="150">{{ item.category }}</td>
  103.                     <td align="center" width="100">{{ item.dificulty_level }}</td>
  104.                     <td align="center" width="70">{{ item.max_hours_estimated }}</td>
  105.                     <td align="right" width="70">{{ item.max_amount }}</td>
  106.                 </tr>
  107.             {% endfor %}
  108.             {% for item in object.budget_requirements.all %}
  109.                 <tr>
  110.                     <td align="center" width="100">{{ item.code }}</td>
  111.                     <td align="center" width="200">{{ item.title }}</td>
  112.                     <td align="justify" width="400">{{ item.description }}</td>
  113.                     <td align="center" width="150">{{ item.category }}</td>
  114.                     <td align="center" width="100">{{ item.dificulty_level }}</td>
  115.                     <td align="center" width="70">{{ item.max_hours_estimated }}</td>
  116.                     <td align="right" width="70">{{ item.max_amount }}</td>
  117.                 </tr>
  118.             {% endfor %}
  119.             {% for item in object.budget_requirements.all %}
  120.                 <tr>
  121.                     <td align="center" width="100">{{ item.code }}</td>
  122.                     <td align="center" width="200">{{ item.title }}</td>
  123.                     <td align="justify" width="400">{{ item.description }}</td>
  124.                     <td align="center" width="150">{{ item.category }}</td>
  125.                     <td align="center" width="100">{{ item.dificulty_level }}</td>
  126.                     <td align="center" width="70">{{ item.max_hours_estimated }}</td>
  127.                     <td align="right" width="70">{{ item.max_amount }}</td>
  128.                 </tr>
  129.             {% endfor %}
  130.             {% for item in object.budget_requirements.all %}
  131.                 <tr>
  132.                     <td align="center" width="100">{{ item.code }}</td>
  133.                     <td align="center" width="200">{{ item.title }}</td>
  134.                     <td align="justify" width="400">{{ item.description }}</td>
  135.                     <td align="center" width="150">{{ item.category }}</td>
  136.                     <td align="center" width="100">{{ item.dificulty_level }}</td>
  137.                     <td align="center" width="70">{{ item.max_hours_estimated }}</td>
  138.                     <td align="right" width="70">{{ item.max_amount }}</td>
  139.                 </tr>
  140.             {% endfor %}
  141.             {% for item in object.budget_requirements.all %}
  142.                 <tr>
  143.                     <td align="center" width="100">{{ item.code }}</td>
  144.                     <td align="center" width="200">{{ item.title }}</td>
  145.                     <td align="justify" width="400">{{ item.description }}</td>
  146.                     <td align="center" width="150">{{ item.category }}</td>
  147.                     <td align="center" width="100">{{ item.dificulty_level }}</td>
  148.                     <td align="center" width="70">{{ item.max_hours_estimated }}</td>
  149.                     <td align="right" width="70">{{ item.max_amount }}</td>
  150.                 </tr>
  151.             {% endfor %}
  152.             {% for item in object.budget_requirements.all %}
  153.                 <tr>
  154.                     <td align="center" width="100">{{ item.code }}</td>
  155.                     <td align="center" width="200">{{ item.title }}</td>
  156.                     <td align="justify" width="400">{{ item.description }}</td>
  157.                     <td align="center" width="150">{{ item.category }}</td>
  158.                     <td align="center" width="100">{{ item.dificulty_level }}</td>
  159.                     <td align="center" width="70">{{ item.max_hours_estimated }}</td>
  160.                     <td align="right" width="70">{{ item.max_amount }}</td>
  161.                 </tr>
  162.             {% endfor %}
  163.         </tbody>
  164.     </table>
  165. {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement