Skip to content

Commit

Permalink
Merge branch 'develop' into feature/scrapped_asset_modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Luphia authored Sep 26, 2024
2 parents 4879d69 + 0e31478 commit b51aba6
Show file tree
Hide file tree
Showing 58 changed files with 2,512 additions and 1,639 deletions.
103 changes: 103 additions & 0 deletions public/elements/siri.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions src/components/ai_analyzer/ai_analyzer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import Image from 'next/image';

interface AIAnalyzerProps {}

const AIAnalyzer: React.FC<AIAnalyzerProps> = () => {
return (
<div className="mt-4 flex items-center justify-between overflow-hidden rounded-md bg-surface-brand-primary-moderate px-4 py-2">
<div className="relative h-20 w-20">
<Image
src="/elements/siri.svg"
alt="AI"
width={180}
height={190}
className="absolute left-1/2 top-14 max-w-180px -translate-x-1/2 -translate-y-1/2 object-cover"
/>
</div>
<p className="text-lg font-medium">
Please select the certificates for AI to generate the voucher for you
</p>
</div>
);
};

export default AIAnalyzer;
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ const BalanceSheetReportBodyAll = ({ reportId }: IBalanceSheetReportBodyAllProps
<section className="mx-1 text-text-neutral-secondary">
<div className="relative z-1 mb-16px flex justify-between font-semibold text-surface-brand-secondary">
<p>一、項目彙總格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
<table className="relative z-1 w-full border-collapse bg-white">
<thead>
Expand Down Expand Up @@ -682,7 +682,7 @@ const BalanceSheetReportBodyAll = ({ reportId }: IBalanceSheetReportBodyAllProps
<section className="mx-1 text-text-neutral-secondary">
<div className="mb-16px mt-32px flex justify-between font-semibold text-surface-brand-secondary">
<p>一、項目彙總格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
<table className="w-full border-collapse bg-white">
<thead>
Expand Down Expand Up @@ -728,7 +728,7 @@ const BalanceSheetReportBodyAll = ({ reportId }: IBalanceSheetReportBodyAllProps

<div className="mb-16px mt-32px flex justify-between font-semibold text-surface-brand-secondary">
<p>二、細項分類格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
<table className="w-full border-collapse bg-white">
<thead>
Expand Down Expand Up @@ -785,7 +785,7 @@ const BalanceSheetReportBodyAll = ({ reportId }: IBalanceSheetReportBodyAllProps
<section className="mx-1 text-text-neutral-secondary">
<div className="mb-16px mt-32px flex justify-between font-semibold text-surface-brand-secondary">
<p>二、細項分類格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
<table className="w-full border-collapse bg-white">
<thead>
Expand Down Expand Up @@ -842,7 +842,7 @@ const BalanceSheetReportBodyAll = ({ reportId }: IBalanceSheetReportBodyAllProps
<section className="mx-1 text-text-neutral-secondary">
<div className="mb-16px mt-32px flex justify-between font-semibold text-surface-brand-secondary">
<p>二、細項分類格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
<table className="w-full border-collapse bg-white">
<thead>
Expand Down Expand Up @@ -899,7 +899,7 @@ const BalanceSheetReportBodyAll = ({ reportId }: IBalanceSheetReportBodyAllProps
<section className="mx-1 text-text-neutral-secondary">
<div className="mb-16px mt-32px flex justify-between font-semibold text-surface-brand-secondary">
<p>二、細項分類格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
<table className="w-full border-collapse bg-white">
<thead>
Expand Down Expand Up @@ -956,7 +956,7 @@ const BalanceSheetReportBodyAll = ({ reportId }: IBalanceSheetReportBodyAllProps
<section className="mx-1 text-text-neutral-secondary">
<div className="mb-16px mt-32px flex justify-between font-semibold text-surface-brand-secondary">
<p>二、細項分類格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
<table className="w-full border-collapse bg-white">
<thead>
Expand Down Expand Up @@ -1013,7 +1013,7 @@ const BalanceSheetReportBodyAll = ({ reportId }: IBalanceSheetReportBodyAllProps
<section className="mx-1 text-text-neutral-secondary">
<div className="mb-16px mt-32px flex justify-between font-semibold text-surface-brand-secondary">
<p>二、細項分類格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
<table className="w-full border-collapse bg-white">
<thead>
Expand Down Expand Up @@ -1070,7 +1070,7 @@ const BalanceSheetReportBodyAll = ({ reportId }: IBalanceSheetReportBodyAllProps
<section className="mx-1 text-text-neutral-secondary">
<div className="mb-16px mt-32px flex justify-between font-semibold text-surface-brand-secondary">
<p>二、細項分類格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
<table className="w-full border-collapse bg-white">
<thead>
Expand Down Expand Up @@ -1127,7 +1127,7 @@ const BalanceSheetReportBodyAll = ({ reportId }: IBalanceSheetReportBodyAllProps
<section className="mx-1 text-text-neutral-secondary">
<div className="mb-16px mt-32px flex justify-between font-semibold text-surface-brand-secondary">
<p>二、細項分類格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
<table className="w-full border-collapse bg-white">
<thead>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ const CashFlowStatementReportBodyAll = ({ reportId }: ICashFlowStatementReportBo
<section className="relative mx-1 text-text-neutral-secondary">
<div className="mb-16px flex justify-between text-xs font-semibold text-surface-brand-secondary">
<p>一、項目彙總格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
{reportFinancial && reportFinancial.general && renderTable(reportFinancial.general, 0, 10)}
</section>
Expand All @@ -345,7 +345,7 @@ const CashFlowStatementReportBodyAll = ({ reportId }: ICashFlowStatementReportBo
<section className="relative mx-1 text-text-neutral-secondary">
<div className="mb-1 mt-8 flex justify-between text-xs font-semibold text-surface-brand-secondary">
<p>一、項目彙總格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
{reportFinancial && reportFinancial.general && renderTable(reportFinancial.general, 10, 19)}
<div className="relative -z-10">
Expand All @@ -360,7 +360,7 @@ const CashFlowStatementReportBodyAll = ({ reportId }: ICashFlowStatementReportBo

<div className="mb-1 mt-8 flex justify-between text-xs font-semibold text-surface-brand-secondary">
<p>二、細項分類格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
{reportFinancial && reportFinancial.details && renderTable(reportFinancial.details, 0, 3)}

Expand Down Expand Up @@ -394,7 +394,7 @@ const CashFlowStatementReportBodyAll = ({ reportId }: ICashFlowStatementReportBo
<section className="relative mx-1 text-text-neutral-secondary">
<div className="mb-1 mt-8 flex justify-between text-xs font-semibold text-surface-brand-secondary">
<p>二、細項分類格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
{reportFinancial && reportFinancial.details && renderTable(reportFinancial.details, 0, 13)}

Expand Down Expand Up @@ -428,7 +428,7 @@ const CashFlowStatementReportBodyAll = ({ reportId }: ICashFlowStatementReportBo
<section className="relative mx-1 text-text-neutral-secondary">
<div className="mb-1 mt-8 flex justify-between text-xs font-semibold text-surface-brand-secondary">
<p>二、細項分類格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
{reportFinancial && reportFinancial.details && renderTable(reportFinancial.details, 13, 26)}

Expand Down Expand Up @@ -462,7 +462,7 @@ const CashFlowStatementReportBodyAll = ({ reportId }: ICashFlowStatementReportBo
<section className="relative mx-1 text-text-neutral-secondary">
<div className="mb-1 mt-8 flex justify-between text-xs font-semibold text-surface-brand-secondary">
<p>二、細項分類格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
{reportFinancial && reportFinancial.details && renderTable(reportFinancial.details, 26, 41)}

Expand Down Expand Up @@ -496,7 +496,7 @@ const CashFlowStatementReportBodyAll = ({ reportId }: ICashFlowStatementReportBo
<section className="relative mx-1 text-text-neutral-secondary">
<div className="mb-1 mt-8 flex justify-between text-xs font-semibold text-surface-brand-secondary">
<p>二、細項分類格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
{reportFinancial && reportFinancial.details && renderTable(reportFinancial.details, 41, 55)}

Expand Down Expand Up @@ -530,7 +530,7 @@ const CashFlowStatementReportBodyAll = ({ reportId }: ICashFlowStatementReportBo
<section className="relative mx-1 text-text-neutral-secondary">
<div className="mb-1 mt-8 flex justify-between text-xs font-semibold text-surface-brand-secondary">
<p>一、項目彙總格式</p>
<p>單位:新台幣仟元</p>
<p>單位:新台幣元</p>
</div>
{reportFinancial && reportFinancial.details && renderTable(reportFinancial.details, 55, 70)}

Expand Down
Loading

0 comments on commit b51aba6

Please sign in to comment.