For deployment

This commit is contained in:
Patrick Alvin Alcala 2025-10-15 09:03:35 +08:00
parent da6188dc33
commit cc6e4e6cb0
2 changed files with 23 additions and 25 deletions

View file

@ -48,8 +48,6 @@ export default () => {
const [employeeId, setEmployeeId] = createSignal(0)
const [employeeName, setEmployeeName] = createSignal('')
const [sign, setSign] = createSignal('')
// const [docApplicationNo, setDocApplicationNo] = createSignal('')
// const [docDate, setDocDate] = createSignal('')
// const [docLocation, setDocLocation] = createSignal('')
@ -202,19 +200,19 @@ export default () => {
return
}
// signed = await setNewStatus('ELECTRICAL ORDER OF PAYMENT PRINTED', '171', 'ELECOPPRINTED')
// if (!signed) return
signed = await setNewStatus('ELECTRICAL ORDER OF PAYMENT PRINTED', '171', 'ELECOPPRINTED')
if (!signed) return
// forprinting = await setNewStatus('FOR ELECTRICAL OFFICIAL RECEIPT VALIDATION', '98', 'ELECORVALIDATE')
// if (!forprinting) return
forprinting = await setNewStatus('FOR ELECTRICAL OFFICIAL RECEIPT VALIDATION', '98', 'ELECORVALIDATE')
if (!forprinting) return
// updateOrderofpayment = await updateOp()
updateOrderofpayment = await updateOp()
// if (updateOrderofpayment) {
// setPrintedApplication(application)
// setPrinted(true)
createPdf()
// }
if (updateOrderofpayment) {
setPrintedApplication(application)
setPrinted(true)
createPdf()
}
}
const updateOp = async () => {