-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df6400d
commit c9c405e
Showing
13 changed files
with
147 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
extends ./../layouts/main.pug | ||
block title | ||
p(class="warn") Your order has been cancelled! | ||
block description | ||
p(class="warn") Here are the items that were in your order | ||
table(class="list" border="1") | ||
for item in order.items | ||
tr | ||
td | ||
p #{item.title} | ||
td | ||
img(src=item.thumbnail) | ||
td | ||
p #{item.unit_price / 100} #{order.currency_code === 'usd' ? '$' : order.currency_code} | ||
tr | ||
td(colspan="2") | ||
p(class="align-right bold") Total | ||
td | ||
p(class="bold") #{total_value} #{order.currency_code === 'usd' ? '$' : order.currency_code} | ||
p(class="small") Order ID: #{order.id} | ||
//- | ||
//- block actions | ||
//- a(href=link, target="_blank" class="button") Visit our website |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
= `Event ${event} emitted` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
extends ./../layouts/main.pug | ||
block title | ||
p(class="success") Your order has been completed! | ||
block description | ||
p Thanks for your purchase! | ||
p(class="small") Order ID: #{order.id} | ||
//- | ||
//- block actions | ||
//- a(href=link, target="_blank" class="button") Visit our website |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
= `Event ${event} emitted` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,23 @@ | ||
extends ./../layouts/main.pug | ||
block title | ||
p Your order ##{event} has been received | ||
p Your order has been received! | ||
block description | ||
p Rest of information about #{ event } | ||
p #{JSON.stringify(data)} | ||
for item in orderItems | ||
li= #{JSON.stringify(item)} | ||
block actions | ||
a(href=website, target="_blank" class="button") Visit our website | ||
p Here are the items you ordered | ||
table(class="list" border="1") | ||
for item in order.items | ||
tr | ||
td | ||
p #{item.title} | ||
td | ||
img(src=item.thumbnail) | ||
td | ||
p #{item.unit_price / 100} #{order.currency_code === 'usd' ? '$' : order.currency_code} | ||
tr | ||
td(colspan="2") | ||
p(class="align-right bold") Total | ||
td | ||
p(class="bold") #{total_value} #{order.currency_code === 'usd' ? '$' : order.currency_code} | ||
p(class="small") Order ID: #{order.id} | ||
//- | ||
//- block actions | ||
//- a(href=link, target="_blank" class="button") Visit our website |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
extends ./../layouts/main.pug | ||
block title | ||
p(class="success") Your order refund is on your way! | ||
block description | ||
p We're sending back your <span class="bold">#{total_value} #{order.currency_code === 'usd' ? '$' : order.currency_code}</span> | ||
p(class="small") Order ID: #{order.id} | ||
//- | ||
//- block actions | ||
//- a(href=link, target="_blank" class="button") Visit our website |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
= `Event ${event} emitted` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
extends ./../layouts/main.pug | ||
block title | ||
p(class="success") Your order has been shipped! | ||
block description | ||
p Thanks for your purchase! | ||
p(class="small") Order ID: #{order.id} | ||
//- | ||
//- block actions | ||
//- a(href=link, target="_blank" class="button") Visit our website |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
= `Event ${event} emitted` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters