updated scanned_documents titles to claims

This commit is contained in:
Flatlogic Bot 2025-07-11 20:02:56 +00:00
parent 7cbaa6cecc
commit 575d9f7c22
9 changed files with 26 additions and 18 deletions

11
SECURITY.md Normal file
View File

@ -0,0 +1,11 @@
# Security Policy
## Supported Versions
| Version | Supported |
| ------- | ------------------ |
| MVP.1.x | :white_check_mark: |
## Reporting a Vulnerability
Report any issues with the "Issues" section here in the GitHub repository, and be sure to mark it with a "Security" label in addition to any other labels that may help categorieze (bug, enhancement etc.)

File diff suppressed because one or more lines are too long

View File

@ -32,7 +32,7 @@ const menuAside: MenuAsideItem[] = [
},
{
href: '/scanned_documents/scanned_documents-list',
label: 'Scanned documents',
label: 'Claims',
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
icon:

View File

@ -288,7 +288,7 @@ const Dashboard = () => {
<div className='flex justify-between align-center'>
<div>
<div className='text-lg leading-tight text-gray-500 dark:text-gray-400'>
Scanned documents
Claims
</div>
<div className='text-3xl leading-tight font-semibold'>
{scanned_documents}

View File

@ -83,12 +83,12 @@ const EditScanned_documentsPage = () => {
return (
<>
<Head>
<title>{getPageTitle('Edit scanned_documents')}</title>
<title>{getPageTitle('Edit Claim')}</title>
</Head>
<SectionMain>
<SectionTitleLineWithButton
icon={mdiChartTimelineVariant}
title={'Edit scanned_documents'}
title='Edit Claim'
main
>
{''}

View File

@ -86,12 +86,12 @@ const Scanned_documentsTablesPage = () => {
return (
<>
<Head>
<title>{getPageTitle('Scanned_documents')}</title>
<title>{getPageTitle('Claims')}</title>
</Head>
<SectionMain>
<SectionTitleLineWithButton
icon={mdiChartTimelineVariant}
title='Scanned_documents'
title='Claims'
main
>
{''}

View File

@ -53,12 +53,12 @@ const Scanned_documentsNew = () => {
return (
<>
<Head>
<title>{getPageTitle('New Item')}</title>
<title>{getPageTitle('New Claim')}</title>
</Head>
<SectionMain>
<SectionTitleLineWithButton
icon={mdiChartTimelineVariant}
title='New Item'
title='New Claim'
main
>
{''}

View File

@ -86,12 +86,12 @@ const Scanned_documentsTablesPage = () => {
return (
<>
<Head>
<title>{getPageTitle('Scanned_documents')}</title>
<title>{getPageTitle('Claims')}</title>
</Head>
<SectionMain>
<SectionTitleLineWithButton
icon={mdiChartTimelineVariant}
title='Scanned_documents'
title='Claims'
main
>
{''}
@ -102,7 +102,7 @@ const Scanned_documentsTablesPage = () => {
className={'mr-3'}
href={'/scanned_documents/scanned_documents-new'}
color='info'
label='New Item'
label='New Claim'
/>
)}

View File

@ -29,10 +29,6 @@ const Scanned_documentsView = () => {
const { id } = router.query;
function removeLastCharacter(str) {
console.log(str, `str`);
return str.slice(0, -1);
}
useEffect(() => {
dispatch(fetch({ id }));
@ -41,7 +37,7 @@ const Scanned_documentsView = () => {
return (
<>
<Head>
<title>{getPageTitle('View scanned_documents')}</title>
<title>{getPageTitle('Claim Details')}</title>
</Head>
<SectionMain>
<SectionTitleLineWithButton
@ -50,7 +46,7 @@ const Scanned_documentsView = () => {
main
>
<BaseButton
color='info'
title='Claim Details'
label='Edit'
href={`/scanned_documents/scanned_documents-edit/?id=${id}`}
/>