Merge branch 'feature/fixing-bugs' into develop

This commit is contained in:
2024-02-29 08:55:44 +01:00
4 changed files with 6 additions and 4 deletions

View File

@@ -52,7 +52,8 @@ export const addMonth = withUser(async (user:AuthenticatedUser, { year, month }:
paid: false,
attachment: null,
notes: null,
payedAmount: null
payedAmount: null,
barcodeImage: undefined,
} as Bill
})
} as BillingLocation);

View File

@@ -68,7 +68,7 @@
"bill-name-placeholder": "Bill name",
"paid-checkbox": "Paid",
"payed-amount": "Amount",
"barcode-disclaimer": "After scanning the code make sure the information is correct.<br/>We are not liable in case of an incorrect payment.",
"barcode-disclaimer": "After scanning the code make sure the information is correct.<br></br>We are not liable in case of an incorrect payment.",
"notes-placeholder": "Notes",
"save-button": "Save",
"cancel-button": "Cancel",

View File

@@ -68,7 +68,7 @@
"bill-name-placeholder": "Ime računa",
"paid-checkbox": "Plaćeno",
"payed-amount": "Iznos",
"barcode-disclaimer": "Nakon skeniranja bar koda obavezni provjeri jesu li svi podaci ispravni.<br/>Ne snosimo odgovornost za slučaj pogrešno provedene uplate.",
"barcode-disclaimer": "Nakon skeniranja bar koda obavezni provjeri jesu li svi podaci ispravni.<br></br>Ne snosimo odgovornost za slučaj pogrešno provedene uplate.",
"notes-placeholder": "Bilješke",
"save-button": "Spremi",
"cancel-button": "Odbaci",

View File

@@ -43,7 +43,8 @@ export default async function middleware(req: NextRequest) {
export const config = {
// for these paths middleware will not be called
// `pdf.worker.min.mjs` is a web worker code used by pdf.js
matcher: [
'/((?!api|_next/static|_next/image|.*\\.png$|.*\\.webm$).*)',
'/((?!api|_next/static|_next/image|.*\\.png$|pdf.worker.min.mjs$|.*\\.webm$).*)',
],
};