Updated pdf
This commit is contained in:
parent
afa20dbc94
commit
c8eab94bf9
1 changed files with 14 additions and 16 deletions
|
|
@ -1,27 +1,25 @@
|
|||
import jsPDF from 'jspdf'
|
||||
// @ts-ignore
|
||||
import jspdfBarcode from 'jspdf-barcode'
|
||||
// import { ofetch } from 'ofetch'
|
||||
// import dayjs from 'dayjs'
|
||||
import { _optn, _applicationNo, _date, _name, _type, _location } from '../../stores/pdfinfo'
|
||||
|
||||
export default () => {
|
||||
export default async () => {
|
||||
const PESO = import.meta.env.VITE_PESO
|
||||
const OPTN = 'M25-000123'
|
||||
const APPLICATION = '25-000123'
|
||||
const DATE = 'October 8, 2025'
|
||||
const NAME = 'BRUCE WAYNE'
|
||||
const LOCATION = 'DAVAO CITY'
|
||||
const TYPE = 'RESIDENTIAL - NEW INSTALLATION'
|
||||
const API = import.meta.env.VITE_API
|
||||
|
||||
const OPTN = _optn.get()
|
||||
const APPLICATION = _applicationNo.get()
|
||||
const DATE = _date.get()
|
||||
const NAME = _name.get()
|
||||
const LOCATION = _location.get()
|
||||
const TYPE = _type.get()
|
||||
const CODE = '40201010-5-3'
|
||||
const AMOUNT = 100
|
||||
const ASSESSOR = 'ENGR. BATMAN'
|
||||
const APPROVER = 'AR. KHASHAYAR L. TOGHYANI'
|
||||
|
||||
|
||||
const init = async () => {
|
||||
// console.log('yeah')
|
||||
console.log(PESO)
|
||||
}
|
||||
|
||||
init()
|
||||
// const ASSESSOR = 'ENGR. BATMAN'
|
||||
// const APPROVER = 'AR. KHASHAYAR L. TOGHYANI'
|
||||
|
||||
const doc = new jsPDF({
|
||||
orientation: 'l',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue