templates/movimientos/orden_compra/pdf.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta name="viewport" content="width=device-width, initial-scale=1">
  6.             <link rel="preconnect" href="https://fonts.googleapis.com">
  7.             <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  8.             <link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
  9.             
  10.             <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" 
  11.                   integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
  12.             <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
  13.             <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.2/font/bootstrap-icons.min.css">
  14.             <link href="https://cdn.jsdelivr.net/npm/fastbootstrap@2.2.0/dist/css/fastbootstrap.min.css" rel="stylesheet" integrity="sha256-V6lu+OdYNKTKTsVFBuQsyIlDiRWiOmtC8VQ8Lzdm2i4=" crossorigin="anonymous">
  15.      </head>
  16.      <body class="container">
  17.                     <div class="row">
  18.                     <div class="col-lg-4">
  19.                         MIRALEJOS S.A.C.I.F.I. y A.
  20.                     </div>
  21.                 </div>
  22.                 <div class="row">
  23.                     <div class="col-lg-4">
  24.                         Orden de Compra Nº {{  "%06d"|format(orden_compra.numero) }}
  25.                     </div>
  26.                     <div class="col-lg-4">
  27.                         Fecha: {{ orden_compra.fecha ? orden_compra.fecha|date('d/m/Y') : '' }}
  28.                     </div>
  29.                 </div>
  30.                 <br>
  31.                 <table class="table table-bordered table-striped">
  32.                     <thead>
  33.                         <tr>
  34.                             <th>Descripción</th>
  35.                             <th>Cant</th>
  36.                             <th>Observaciones</th>
  37.                         </tr>
  38.                     </thead>
  39.                     <tbody>
  40.                     {% for item in orden_compra.items %}
  41.                         <tr>
  42.                             <td>{{ item.articulo }}</td>
  43.                             <td>{{ item.cantidad }}</td>
  44.                             <td></td>
  45.                         </tr>
  46.                     {% endfor %}
  47.                     </tbody>
  48.                 </table>
  49.     </body>
  50. </html>