Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusdandrade committed Jun 11, 2024
2 parents 7f21210 + 957ca9e commit 299294a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app_client/templates/RequestOrder/vieworder.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@
<div>
<i data-lucide="dollar-sign"></i>
</div>

{% if comma %}
<span>R$ {{ order.budget }}</span>
{% else %}
<span>R$ {{ order.budget }},00</span>
{% endif %}
</div>
{% endif %}

Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/solicitationManagement.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ const oneMonthFromToday = formatDate(new Date(today.getFullYear(), today.getMont
cy.get('.content > form > button').click()
cy.get('.budgetContainer > input').type('54000')
cy.get('.content > form > button').click()
cy.get('span').invoke('text').should('have.string', "O orçamento máximo é R$50.000!")
cy.get('span').invoke('text').should('have.string', "O orçamento máximo é R$50.000,00!")
})
})

0 comments on commit 299294a

Please sign in to comment.