aboutsummaryrefslogtreecommitdiffstats
path: root/python/Dawn/templates/counterparties.html
blob: f0b0f60a6b9ad4eefde2010ff344cc7cb661ae63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
    </head>
  <body style="max-width:1800px; margin:0 auto">
    <table class="table table-striped">
      <thead>
        <tr>
          <td>CODE</td>
          <td>Firm</td>
          <td>Location</td>
          <td>DTC Number</td>
          <td>Sales Contact</td>
          <td>Sales Phone</td>
          <td>Valuation Contact1</td>
          <td>Valuation Contact2</td>
          <td>Valuation Contact3</td>
          <td>Valuation Contact4</td>
          <td>Valuation Note</td>
        </tr>
      </thead>
      {% for cp in counterparties %}
      <tr>
         <td><a href="{{url_for('edit_counterparty',cpcode=cp.code)}}">{{cp.code}}</td>
         <td>{{cp.name}}</td>
         <td>{{cp.city}}, {{cp.state}}</td>
         <td>{{cp.dtc_number if cp.dtc_number}}</td>
         <td><a href="mailto:{{cp.sales_email}}">{{cp.sales_contact if cp.sales_contact}}</a></td>
         <td>{{cp.sales_phone if cp.sales_phone}}</td>
         <td>{% if cp.valuation_contact1 %}
           <a href="mailto:{{cp.valuation_email1}}">
            {{cp.valuation_contact1}}</a>{% endif %}</td>
         <td>{% if cp.valuation_contact2 %}
           <a href="mailto:{{cp.valuation_email2}}">{{cp.valuation_contact2}}</a>{% endif %}</td>
         <td>{% if cp.valuation_contact3 %}
           <a href="mailto:{{cp.valuation_email3}}">{{cp.valuation_contact3}}</a>{% endif %}</td>
         <td>{% if cp.valuation_contact4 %}
           <a href="mailto:{{cp.valuation_email4}}">{{cp.valuation_contact4}}</a>{% endif %}</td>
         <td>{{cp.notes if cp.notes}}</td>
         <td>
      </tr>
      {% endfor %}
    </table>
  </body>
</html>