Fixed submission on pops
This commit is contained in:
parent
4af2675566
commit
577066c9ea
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ import { VsRefresh } from 'solid-icons/vs'
|
|||
const API = import.meta.env.VITE_BACKEND
|
||||
const PESO = import.meta.env.VITE_PESO
|
||||
const ID = import.meta.env.VITE_HEADID
|
||||
const NAME = import.meta.env.VITE_HEAD
|
||||
// const NAME = import.meta.env.VITE_HEAD
|
||||
const PUBLICIP = import.meta.env.VITE_PUBLICIP
|
||||
|
||||
export default () => {
|
||||
|
|
@ -185,7 +185,7 @@ export default () => {
|
|||
for (let i = 0; i < response.result.length; i++) {
|
||||
await ofetch(API + 'post-pops', {
|
||||
method: 'POST',
|
||||
body: { data: application, data2: formattedDate, data3: customerid, data4: customerName, data5: location, data6: codeList[i], data7: amountList[i], data8: NAME, data9: formattedDatewithTime, data10: lguList[i], data11: dpwhList[i], data12: boList[i], data13: PUBLICIP },
|
||||
body: { data: application, data2: formattedDate, data3: customerid, data4: customerName, data5: location, data6: codeList[i], data7: amountList[i], data8: assessor(), data9: formattedDatewithTime, data10: lguList[i], data11: dpwhList[i], data12: boList[i], data13: PUBLICIP },
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue