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'
|
import jsPDF from 'jspdf'
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import jspdfBarcode from 'jspdf-barcode'
|
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 PESO = import.meta.env.VITE_PESO
|
||||||
const OPTN = 'M25-000123'
|
const API = import.meta.env.VITE_API
|
||||||
const APPLICATION = '25-000123'
|
|
||||||
const DATE = 'October 8, 2025'
|
const OPTN = _optn.get()
|
||||||
const NAME = 'BRUCE WAYNE'
|
const APPLICATION = _applicationNo.get()
|
||||||
const LOCATION = 'DAVAO CITY'
|
const DATE = _date.get()
|
||||||
const TYPE = 'RESIDENTIAL - NEW INSTALLATION'
|
const NAME = _name.get()
|
||||||
|
const LOCATION = _location.get()
|
||||||
|
const TYPE = _type.get()
|
||||||
const CODE = '40201010-5-3'
|
const CODE = '40201010-5-3'
|
||||||
const AMOUNT = 100
|
const AMOUNT = 100
|
||||||
const ASSESSOR = 'ENGR. BATMAN'
|
|
||||||
const APPROVER = 'AR. KHASHAYAR L. TOGHYANI'
|
|
||||||
|
|
||||||
|
|
||||||
const init = async () => {
|
// const ASSESSOR = 'ENGR. BATMAN'
|
||||||
// console.log('yeah')
|
// const APPROVER = 'AR. KHASHAYAR L. TOGHYANI'
|
||||||
console.log(PESO)
|
|
||||||
}
|
|
||||||
|
|
||||||
init()
|
|
||||||
|
|
||||||
const doc = new jsPDF({
|
const doc = new jsPDF({
|
||||||
orientation: 'l',
|
orientation: 'l',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue