Changes
This commit is contained in:
@@ -789,7 +789,7 @@ export const useCreatePdf = async (invoiceData,backgroundSourceBuffer) => {
|
||||
|
||||
|
||||
} else if (row.mode === 'title') {
|
||||
if(index === 0) {
|
||||
if(index === 0 ||pageIndex === 0) {
|
||||
rowHeight += 3
|
||||
}
|
||||
pages[pageCounter - 1].drawRectangle({
|
||||
|
||||
@@ -387,7 +387,7 @@ const onChangeTab = (index) => {
|
||||
const setPosNumbers = () => {
|
||||
let index = 1
|
||||
let rows = itemInfo.value.rows.map(row => {
|
||||
if(row.mode !== 'pagebreak') {
|
||||
if(row.mode !== 'pagebreak' && row.mode !== 'title') {
|
||||
row.pos = index
|
||||
index += 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user