Updated assessor page
This commit is contained in:
parent
87218df558
commit
b482c23f6a
1 changed files with 7 additions and 3 deletions
|
|
@ -196,7 +196,11 @@ export default () => {
|
|||
// if (division === 'occupancy') op = await getApiMulti('get-opdetails-occupancy', applicationNo)
|
||||
// if (division === 'electrical') op = await getApiMulti('get-opdetails-electrical', applicationNo)
|
||||
|
||||
const additionalResult = await getApi('check-bldgadditional-printing', applicationNo)
|
||||
let additionalResult
|
||||
if (selectedType() === 'Print') {
|
||||
additionalResult = await getApi('check-bldgadditional-printing', applicationNo)
|
||||
} else additionalResult = await getApi('check-bldgadditional-reprinting', applicationNo)
|
||||
|
||||
bldgadditional = additionalResult > 0
|
||||
|
||||
const op = await getApiMulti(`get-opdetails-${division}`, applicationNo)
|
||||
|
|
@ -579,7 +583,7 @@ export default () => {
|
|||
<Row content="split">
|
||||
<Input value={filter()} onChange={setFilter} placeholder="Filter Application Number" />
|
||||
<Row>
|
||||
<Combobox options={listType} value={selectedType()} onChange={setSelectedType} placeholder="Select Type" />
|
||||
<Combobox options={listType} value={selectedType()} onChange={setSelectedType} placeholder="Select Type" width='200px' />
|
||||
<Button label="Refresh Data" edges="curved" design="bo-primary" icon={VsRefresh} onClick={refresh}></Button>
|
||||
</Row>
|
||||
</Row>
|
||||
|
|
@ -673,7 +677,7 @@ export default () => {
|
|||
<Row content="split">
|
||||
<Input value={filter()} onChange={setFilter} placeholder="Filter Application Number" />
|
||||
<Row>
|
||||
<Combobox options={listType} value={selectedType()} onChange={setSelectedType} placeholder="Select Type" />
|
||||
<Combobox options={listType} value={selectedType()} onChange={setSelectedType} placeholder="Select Type" width='200px' />
|
||||
<Button label="Refresh Data" edges="curved" design="bo-primary" icon={VsRefresh} onClick={refresh}></Button>
|
||||
</Row>
|
||||
</Row>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue