Skip to content

Commit a9c651f

Browse files
committed
Tratamento de erros na finalização do pedido
1 parent 23323fc commit a9c651f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@
4848
- [X] Carrinho
4949
- [x] API Gateway / BFF - Compras
5050
- [X] Aplicação de Voucher
51-
- [ ] Pedidos
51+
- [X] Pedidos
5252
- [ ] Pagamentos

src/web/JSE.WebApp.MVC/Views/Catalogo/Index.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3">
1212
@{
13-
foreach (var produto in Model.OrderBy(p => p.Nome))
13+
foreach (var produto in Model.Where(p => p.Ativo).OrderBy(p => p.Nome))
1414
{
1515

1616
<div class="col">

0 commit comments

Comments
 (0)