Skip to content
Snippets Groups Projects

Resolve "Simple Approve/Reject Workflow for Raise Requests"

Merged Danae Savvidi requested to merge 137-simple-approve-reject-workflow-for-raise-requests into dev
Files
4
@@ -53,6 +53,11 @@
th:text="#{payscale.import}"
data-dialog="import-overlay"></button>
</div>
<script th:inline="javascript">
/*<![CDATA[*/
let requests = /*[[${raiseRequests.getContent()}]]*/ [];
/*]]>*/
</script>
<table class="table" data-style="surface">
<tr class="table__header">
@@ -82,31 +87,6 @@
th:text="#{raiseRequest.view}"
class="button p-min"></button>
</td>
<td>
<div class="flex gap-3 justify-end">
<form
th:action="@{|/raise-request/approve/${request.id}|}"
method="post">
<button
type="submit"
class="button p-min"
data-style="outlined"
th:aria-label="#{general.approve}"
th:text="#{general.approve}"></button>
</form>
<form
th:action="@{|/raise-request/reject/${request.id}|}"
method="post">
<button
type="submit"
class="button p-min"
data-style="outlined"
data-type="error"
th:aria-label="#{general.reject}"
th:text="#{general.reject}"></button>
</form>
</div>
</td>
</tr>
<tr th:if="${raiseRequests.getTotalElements() == 0}">
<td data-empty="true" colspan="6" th:text="#{payscale.empty}"></td>
Loading