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, paid: false,
attachment: null, attachment: null,
notes: null, notes: null,
payedAmount: null payedAmount: null,
barcodeImage: undefined,
} as Bill } as Bill
}) })
} as BillingLocation); } as BillingLocation);

View File

@@ -68,7 +68,7 @@
"bill-name-placeholder": "Bill name", "bill-name-placeholder": "Bill name",
"paid-checkbox": "Paid", "paid-checkbox": "Paid",
"payed-amount": "Amount", "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", "notes-placeholder": "Notes",
"save-button": "Save", "save-button": "Save",
"cancel-button": "Cancel", "cancel-button": "Cancel",

View File

@@ -68,7 +68,7 @@
"bill-name-placeholder": "Ime računa", "bill-name-placeholder": "Ime računa",
"paid-checkbox": "Plaćeno", "paid-checkbox": "Plaćeno",
"payed-amount": "Iznos", "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", "notes-placeholder": "Bilješke",
"save-button": "Spremi", "save-button": "Spremi",
"cancel-button": "Odbaci", "cancel-button": "Odbaci",

View File

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