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