Re-enable occupancy approval

This commit is contained in:
Patrick Alvin Alcala 2025-11-12 12:20:20 +08:00
parent a5a49e478f
commit 46f47ce2dd

View file

@ -448,7 +448,7 @@ export default () => {
</Padding>
<Row>
<table class="table__disabled">
<table class="table">
<thead>
<tr>
<th>Application Number</th>
@ -463,15 +463,15 @@ export default () => {
<td>{nameListOccupancy()[index]}</td>
<td>
<Button
// class="modal"
<ModalButton
class="modal"
label="Show Details"
design="bo-link"
background="#121e2acc"
color="#ffffffec"
onClick={async () => {
setApology(true)
setErrorMessage('Modification of Occupancy Printing has not yet finished')
function={async () => {
// setApology(true)
// setErrorMessage('Modification of Occupancy Printing has not yet finished')
await getopdetails('occupancy', item)
}}
>
@ -517,7 +517,7 @@ export default () => {
<span class="modal__cancel">Click anywhere to cancel</span>
</Row>
</Padding>
</Button>
</ModalButton>
</td>
</tr>
))}