updated naming convention meta and pdf fixes

This commit is contained in:
2024-05-20 12:42:53 +01:00
parent 206d08fa5e
commit d829213a6a
16 changed files with 254 additions and 143 deletions
+2
View File
@@ -11,6 +11,7 @@ import ReactPDF, {
import { createElement } from "react";
import Html from "react-pdf-html";
import { getFormCollectionByID } from "../../components/utils";
import useTranslation from "next-translate/useTranslation";
const styles = StyleSheet.create({
page: {
@@ -88,6 +89,7 @@ const styles = StyleSheet.create({
});
export const other_pdf = ({ docProps }) => {
let { t } = useTranslation();
//console.log("----", docProps);
function formatDates(dateObj) {
var dateObj = new Date(dateObj);