Skip to content

Commit 0b9ebeb

Browse files
Merge pull request #123 from Yodata/master
merge from main
2 parents 558dbbd + 51bdf34 commit 0b9ebeb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/components/Reports/Reports.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ const Reports = (props) => {
253253
</TableCell>
254254
</TableRow>
255255
<TableRow>
256-
<TableCell style={{ display: 'flex' }}>
256+
<TableCell style={{ display: 'flex', alignItems: 'center'}}>
257257
<Button
258258
variant="text"
259259
disabled
@@ -272,7 +272,7 @@ const Reports = (props) => {
272272
input: classes.resize,
273273
},
274274
}}
275-
onChange={(e) => setAgentFranchiseeId(e.target.value)}
275+
onChange={(e) => setAgentFranchiseeId(e.target.value.toUpperCase())}
276276
value={agentFranchiseeId}
277277
/>
278278
</TableCell>
@@ -291,6 +291,7 @@ const Reports = (props) => {
291291
<Button
292292
variant="text"
293293
disableRipple
294+
disabled={agentFranchiseeId === ''}
294295
className={classes.new}
295296
onClick={() => donwloadReport('agent', "Agent Data Sharing Details.xlsx")}
296297
>

0 commit comments

Comments
 (0)