diff options
Diffstat (limited to 'python/Dawn/templates/counterparties.html')
| -rw-r--r-- | python/Dawn/templates/counterparties.html | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/python/Dawn/templates/counterparties.html b/python/Dawn/templates/counterparties.html new file mode 100644 index 00000000..f0b0f60a --- /dev/null +++ b/python/Dawn/templates/counterparties.html @@ -0,0 +1,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> |
