-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrfq_simple.html
91 lines (81 loc) · 2.23 KB
/
rfq_simple.html
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{% extends "report/inventree_report_base.html" %}
{% load i18n %}
{% load report %}
{% load inventree_extras %}
{% block page_content %}
<h1>{{ build_plugin.customer_company.name }}</h1>
<p>{{ build_plugin.customer_company.primary_address.line1 }}<br/>
{{ build_plugin.customer_company.primary_address.postal_code }} {{ build_plugin.customer_company.primary_address.postal_city }}<br>
{{ build_plugin.customer_company.email }} <br>
{% now "jS F Y " %}</p>
<h3>To:</h3>
<p>
{{ build_plugin.build_data.ems_company.name }}<br/>
{{ build_plugin.build_data.ems_contact.name}}<br/>
{{ build_plugin.build_data.ems_company.primary_address.line1 }} <br>
{{ build_plugin.build_data.ems_company.primary_address.postal_code }} {{ build_plugin.ems_company.primary_address.postal_city }}<br>
</p>
<h3>Request for Quotation</h3>
<p>Dear Mr. {{ build_plugin.build_data.ems_contact.name }}, </p>
<p>
We like to have printend circuits boards assembled. Here are the key parameters:
</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Data</th>
</tr>
</thead>
<tbody>
<tr>
<td>Build number</td>
<td>{{ build.reference }}</td>
</tr>
<tr>
<td>Scheduled build date</td>
<td>{{ build.target_date }}</td>
</tr>
<tr>
<td>Assembled PCB Name</td>
<td>{{ build.part.name }}</td>
</tr>
<tr>
<td>Bare PCB Name</td>
<td>{{build_plugin.build_data.pcb_name}}</td>
</tr>
<tr>
<td>Number of boards</td>
<td>{{ build.quantity }}</td>
</tr>
<tr>
<td>Board size</td>
<td> {{ build_plugin.build_data.PARAMETER_WIDTH }} x {{ build_plugin.build_data.PARAMETER_LENGTH }} </td>
</tr>
<tr>
<td>Number of layers in board</td>
<td> {{ build_plugin.build_data.PARAMETER_LAYNO }} </td>
</tr>
<tr>
<td>Material provisioning </td>
<td> {{ build.metadata.material_provisioning }} </td>
</tr>
<tr>
<td>Number of components on board</td>
<td>{% decimal build_plugin.build_data.total_components %}</td>
</tr>
<tr>
<td>Number of codes in BOM</td>
<td> {{ build.part.bom_items.count }} </td>
</tr>
<tr>
<td>Contact for technical questions</td>
<td>
{{ build_plugin.build_data.customer_contact.name }}<br>
{{ build_plugin.build_data.customer_contact.phone }}<br>
{{ build_plugin.build_data.customer_contact.email }}
</td>
</tr>
</tbody>
</table>
{% endblock %}