Created
January 19, 2023 15:38
-
-
Save ederrafo/d47cc65914bdd38977ec1341ac9bfea9 to your computer and use it in GitHub Desktop.
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
<form method="POST" th:action="@{/expenses/plannings/update}" | |
th:object="${planBranchReport}"> | |
<input type="hidden" name="id" th:value="${ planBranchReport.id }"> | |
<input type="hidden" name="status" value="V"> | |
<input type="hidden" name="branch" th:value="${planBranchReport.branch}"> | |
<input type="hidden" name="name" th:value="${officeName}"> | |
<button th:if="${planBranchReport.status == 'O'}" type="submit" | |
class="btn btn-success" onclick="if (confirm('Esta Usted seguro?')) { | |
return true; | |
} else { return false; }"> Anular</button> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment