Separated global function
This commit is contained in:
parent
4d42433e07
commit
2aaf87b8d3
1 changed files with 0 additions and 15 deletions
|
|
@ -65,7 +65,6 @@ export default () => {
|
|||
setLocation(op.result5[0])
|
||||
setType(op.result6[0])
|
||||
setDateOp(dayjs(op.result10[0]).format('MMMM DD, YYYY'))
|
||||
// setClient(displayFullname(op.result2[0], op.result3[0], op.result4[0]))
|
||||
setApplicationId(op.result11[0])
|
||||
setAssessorId(op.result12[0])
|
||||
setTotalOp(calculateTotal(op.result9))
|
||||
|
|
@ -81,20 +80,6 @@ export default () => {
|
|||
return total
|
||||
}
|
||||
|
||||
// const displayFullname = (firstname: string, middleinitial: string, lastname: string) => {
|
||||
// let result
|
||||
// if (firstname.length > 0) {
|
||||
// if (middleinitial.length > 0) {
|
||||
// result = `${firstname} ${middleinitial}. ${lastname}`
|
||||
// } else {
|
||||
// result = `${firstname} ${lastname}`
|
||||
// }
|
||||
// } else {
|
||||
// result = lastname
|
||||
// }
|
||||
// return result
|
||||
// }
|
||||
|
||||
const approveHandler = async (application: string) => {
|
||||
let signed: boolean = false
|
||||
let forprinting: boolean = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue