-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🥔✨
Marketplace
: Show Tax
on Order
- #1137 The entire `Marketplace::Order` page is potato-tier, but at least it exists!
- Loading branch information
Showing
5 changed files
with
38 additions
and
27 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
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
13 changes: 3 additions & 10 deletions
13
app/furniture/marketplace/ordered_products/_ordered_product.html.erb
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,15 +1,8 @@ | ||
<tr id="<%=dom_id(ordered_product)%>"> | ||
<td class="w-full max-w-0 py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:w-auto sm:max-w-none sm:pl-6"> | ||
<td class="py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:w-auto sm:max-w-none sm:pl-6"> | ||
<%= ordered_product.name %> | ||
<dl class="font-normal lg:hidden"> | ||
<dt class="sr-only"><%= ordered_product.class.human_attribute_name(:description) %></dt> | ||
<dd class="mt-1 truncate text-gray-700"><%= ordered_product.description %></dd> | ||
</dl> | ||
</td> | ||
<td class="hidden px-3 py-4 text-sm text-gray-500 lg:table-cell"> | ||
<%= ordered_product.description %> | ||
</td> | ||
<td class="hidden px-3 py-4 text-sm text-gray-500 sm:table-cell"> | ||
<%= humanized_money_with_symbol(ordered_product.price) %> | ||
<td class="px-3 py-4 text-sm text-gray-500"> | ||
<%= humanized_money_with_symbol(ordered_product.price) %> x (<%=ordered_product.quantity%>) | ||
</td> | ||
</tr> |
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