BOD-34 Basics of print center => redux setup, container/base component.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
query EMAIL_APPOINTMENT_CONFIRMATION($id: uuid!) {
|
||||
appointments_by_pk(id: $id) {
|
||||
start
|
||||
title
|
||||
job {
|
||||
ownr_fn
|
||||
ownr_ln
|
||||
ownr_ea
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
<div style="font-family: Arial, Helvetica, sans-serif;">
|
||||
<p style="text-align: center;">Hello {{appointments_by_pk.job.ownr_fn}},</p>
|
||||
<p style="text-align: center;">
|
||||
This is a reminder that you have an appointment at
|
||||
{{appointments_by_pk.start}} to bring your car in for repair. Please email
|
||||
us at {{bodyshop.email}} if you can't make it.
|
||||
</p>
|
||||
</div>
|
||||
@@ -0,0 +1,29 @@
|
||||
query REPORT_QUERY_PARTS_ORDER_BY_PK($id: uuid!) {
|
||||
parts_orders_by_pk(id: $id) {
|
||||
job {
|
||||
id
|
||||
vehicle {
|
||||
id
|
||||
v_model_desc
|
||||
v_make_desc
|
||||
v_model_yr
|
||||
v_vin
|
||||
}
|
||||
ro_number
|
||||
est_number
|
||||
}
|
||||
id
|
||||
deliver_by
|
||||
parts_order_lines {
|
||||
id
|
||||
db_price
|
||||
act_price
|
||||
line_desc
|
||||
line_remarks
|
||||
oem_partno
|
||||
status
|
||||
}
|
||||
status
|
||||
user_email
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,122 @@
|
||||
<div style="font-family: Arial, Helvetica, sans-serif;">
|
||||
<p style="text-align: center;">
|
||||
<span><strong>Deliver By: {{parts_orders_by_pk.deliver_by}}</strong></span>
|
||||
</p>
|
||||
<table
|
||||
style="
|
||||
border-collapse: collapse;
|
||||
width: 85%;
|
||||
height: 86px;
|
||||
border-color: initial;
|
||||
border-style: solid;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
"
|
||||
>
|
||||
<tbody>
|
||||
<tr style="height: 22px;">
|
||||
<td
|
||||
style="
|
||||
width: 33.7389%;
|
||||
text-align: center;
|
||||
padding: 7px;
|
||||
height: 22px;
|
||||
"
|
||||
>
|
||||
<strong>Line Description</strong>
|
||||
</td>
|
||||
<td
|
||||
style="
|
||||
width: 22.0208%;
|
||||
text-align: center;
|
||||
padding-top: 7px;
|
||||
padding-right: 7px;
|
||||
padding-bottom: 7px;
|
||||
height: 22px;
|
||||
"
|
||||
>
|
||||
<strong>Part #</strong>
|
||||
</td>
|
||||
<td
|
||||
style="
|
||||
width: 12.1897%;
|
||||
text-align: center;
|
||||
padding: 7px;
|
||||
height: 22px;
|
||||
"
|
||||
>
|
||||
<strong>Price</strong>
|
||||
</td>
|
||||
<td
|
||||
style="
|
||||
width: 32.0506%;
|
||||
text-align: center;
|
||||
padding: 7px;
|
||||
height: 22px;
|
||||
"
|
||||
>
|
||||
<strong>Line Remarks</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="height: 21px; display: none;">
|
||||
<td style="height: 21px; display: none; width: 33.7389%;">
|
||||
<span>{{#each parts_orders_by_pk.parts_order_lines}}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="height: 22px;">
|
||||
<td
|
||||
style="
|
||||
width: 33.7389%;
|
||||
text-align: center;
|
||||
padding: 7px;
|
||||
height: 22px;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
"
|
||||
>
|
||||
<span>{{this.line_desc}}</span>
|
||||
</td>
|
||||
<td
|
||||
style="
|
||||
width: 22.0208%;
|
||||
text-align: center;
|
||||
padding: 7px;
|
||||
height: 22px;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
"
|
||||
>
|
||||
<span>{{this.oem_partno}}</span>
|
||||
</td>
|
||||
<td
|
||||
style="
|
||||
width: 12.1897%;
|
||||
text-align: center;
|
||||
padding: 7px;
|
||||
height: 22px;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
"
|
||||
>
|
||||
<span>${{this.act_price}}</span>
|
||||
</td>
|
||||
<td
|
||||
style="
|
||||
width: 32.0506%;
|
||||
text-align: center;
|
||||
padding: 7px;
|
||||
height: 22px;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
"
|
||||
>
|
||||
<span>{{this.line_remarks}}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="height: 21px; display: none;">
|
||||
<td style="height: 21px; width: 33.7389%;"><span>{{/each}}</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Order Placed by {{parts_orders_by_pk.user_email}}.</p>
|
||||
</div>
|
||||
Reference in New Issue
Block a user