Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 4e45f975 authored by 65160270's avatar 65160270
Browse files

update-edit

parent 5d094fac
Branches
No related tags found
No related merge requests found
......@@ -435,3 +435,19 @@ footer {
.search-form button:hover {
background-color: #3d38b1;
}
.edit-order-btn {
background-color: #ffc107;
color: black;
padding: 5px 10px;
text-decoration: none;
border-radius: 5px;
display: inline-block;
margin-left: 5px;
border: 1px solid #ffc107;
}
.edit-order-btn:hover {
background-color: #e0a800;
border-color: #e0a800;
}
\ No newline at end of file
......@@ -22,6 +22,11 @@
<p class="order-total">Total: ฿<%= order.total_amount.toLocaleString() %></p>
<a href="/order/detail/<%= order.id %>" class="view-detail-btn">View Details</a>
</div>
<div class="order-footer">
<p class="order-total">Total: ฿<%= order.total_amount.toLocaleString() %></p>
<a href="/order/detail/<%= order.id %>" class="view-detail-btn">View Details</a>
<a href="/" class="edit-order-btn">Edit</a> <!-- ปุ่ม Edit -->
</div>
</div>
<% }); %>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment