2
I have this "Receive" button, and this checkbox that when it is marked, means that the account is paid:
I need that when he clicks the Receive button, and the checkbox is already checked, that he tells you that the account has already been received, and not redirect the page, This is the Receive button code:
<a asp-page="Recebimento" asp-route-id="@item.Id" class="btn btn-sm btn-warning">Receber</a>
How can I make an if inside the button ?
It does not recognize this command on the button
– Mariana