Fixed DATEV Export #39
This commit is contained in:
@@ -32,8 +32,8 @@ dayjs.extend(isBetween);
|
|||||||
|
|
||||||
const getCreatedDocumentTotal = (item: any) => {
|
const getCreatedDocumentTotal = (item: any) => {
|
||||||
let totalNet = 0;
|
let totalNet = 0;
|
||||||
let total19 = 0;
|
let total19:number = 0;
|
||||||
let total7 = 0;
|
let total7:number = 0;
|
||||||
const rows = Array.isArray(item.rows) ? item.rows : [];
|
const rows = Array.isArray(item.rows) ? item.rows : [];
|
||||||
rows.forEach((row: any) => {
|
rows.forEach((row: any) => {
|
||||||
if (!['pagebreak', 'title', 'text'].includes(row.mode)) {
|
if (!['pagebreak', 'title', 'text'].includes(row.mode)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user