From 420b80e45a93fd6f5357f76b512f93d5164f874e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Mon, 2 Mar 2026 19:27:36 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20[ai-quotation]=20=EA=B2=AC=EC=A0=81?= =?UTF-8?q?=EC=84=9C=205=EC=A2=85=20=ED=85=9C=ED=94=8C=EB=A6=BF=20?= =?UTF-8?q?=EC=84=A0=ED=83=9D=20=EC=8B=9C=EC=8A=A4=ED=85=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - classic(클래식), modern(모던), blue(블루), dark(다크), colorful(컬러풀) 5종 - 문서 상단 미리보기 카드 클릭으로 즉시 디자인 전환 - URL 쿼리 파라미터 ?template=xxx 방식, 기본값 classic - 인쇄/PDF 시 선택 UI 자동 숨김 (no-print) - 기존 디자인은 classic 템플릿으로 100% 보존 --- app/Http/Controllers/RdController.php | 10 +- .../document-templates/blue.blade.php | 156 ++++++++++ .../document-templates/classic.blade.php | 142 +++++++++ .../document-templates/colorful.blade.php | 133 +++++++++ .../document-templates/dark.blade.php | 147 ++++++++++ .../document-templates/modern.blade.php | 124 ++++++++ .../views/rd/ai-quotation/document.blade.php | 272 ++++++------------ 7 files changed, 793 insertions(+), 191 deletions(-) create mode 100644 resources/views/rd/ai-quotation/document-templates/blue.blade.php create mode 100644 resources/views/rd/ai-quotation/document-templates/classic.blade.php create mode 100644 resources/views/rd/ai-quotation/document-templates/colorful.blade.php create mode 100644 resources/views/rd/ai-quotation/document-templates/dark.blade.php create mode 100644 resources/views/rd/ai-quotation/document-templates/modern.blade.php diff --git a/app/Http/Controllers/RdController.php b/app/Http/Controllers/RdController.php index c19c33c0..be9c34a0 100644 --- a/app/Http/Controllers/RdController.php +++ b/app/Http/Controllers/RdController.php @@ -57,7 +57,7 @@ public function createQuotation(Request $request): View|\Illuminate\Http\Respons /** * AI 견적 문서 (인쇄용 견적서) */ - public function documentQuotation(int $id): View + public function documentQuotation(Request $request, int $id): View { $quotation = $this->quotationService->getById($id); @@ -65,7 +65,13 @@ public function documentQuotation(int $id): View abort(404, '완료된 견적만 문서로 조회할 수 있습니다.'); } - return view('rd.ai-quotation.document', compact('quotation')); + $template = $request->query('template', 'classic'); + $allowed = ['classic', 'modern', 'blue', 'dark', 'colorful']; + if (! in_array($template, $allowed)) { + $template = 'classic'; + } + + return view('rd.ai-quotation.document', compact('quotation', 'template')); } /** diff --git a/resources/views/rd/ai-quotation/document-templates/blue.blade.php b/resources/views/rd/ai-quotation/document-templates/blue.blade.php new file mode 100644 index 00000000..49bbf858 --- /dev/null +++ b/resources/views/rd/ai-quotation/document-templates/blue.blade.php @@ -0,0 +1,156 @@ +{{-- 블루 프로페셔널 견적서 템플릿 --}} + + +
+ + {{-- 블루 헤더 바 --}} +
+
+

견 적 서

+

QUOTATION

+
+
+

{{ $quotationNo }}

+

{{ $quotation->created_at->format('Y. m. d') }}

+
+
+ + {{-- 견적 정보 --}} +
+

유효기간: 견적일로부터 30일

+
+ + {{-- 수신 / 공급자 --}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
수 신공 급 자
귀사명{{ $quotation->title }}상 호(주)코드브릿지엑스
업 종{{ $company['industry'] ?? '-' }}대 표이의찬
규 모{{ $company['scale'] ?? '-' }}주 소인천 남동구 남동대로 215번길 30
현재시스템{{ !empty($company['current_systems']) ? implode(', ', $company['current_systems']) : '-' }}연락처032-123-4567
+ + {{-- 합계 --}} +
+

아래와 같이 견적합니다.

+

+ 합계금액: 금 {{ $devTotalKorean }}원정 + (₩{{ number_format($devSubtotal) }}) +

+

※ 부가가치세 별도 / 월 구독료 {{ number_format($monthlySubtotal) }}원 별도

+
+ + {{-- 품목 --}} + + + + + + + + + + + + @foreach($sortedItems as $index => $item) + + + + + + + + + @endforeach + + + + + + + + + + + + + + + + + + +
No구분품 목설 명개발비 (원)월 구독료 (원)
{{ $index + 1 }} + + {{ $item->is_required ? '필수' : '선택' }} + + {{ $item->module_name }}{{ Str::limit($item->reason, 80) }}{{ number_format((int) $item->dev_cost) }}{{ number_format((int) $item->monthly_fee) }}
소 계{{ number_format($devSubtotal) }}{{ number_format($monthlySubtotal) }}
부가세 (10%){{ number_format($devVat) }}{{ number_format($monthlyVat) }}
합 계{{ number_format($devTotal) }}{{ number_format($monthlyTotal) }}
+ + {{-- 비고 --}} +
+ + + + + + + +
비 고
+
    +
  1. 상기 금액은 부가가치세 별도입니다.
  2. +
  3. 개발비 납부 조건: 계약 시 50%, 완료 시 50% 분할 납부
  4. +
  5. 월 구독료: 서비스 오픈일부터 과금 (월 {{ number_format($monthlyTotal) }}원, VAT 포함)
  6. + @if($estimatedMonths) +
  7. 예상 구축 기간: {{ $estimatedMonths }}개월
  8. + @endif +
  9. 본 견적서의 유효기간은 견적일로부터 30일입니다.
  10. +
  11. 세부 사항은 별도 협의를 통해 조정될 수 있습니다.
  12. +
+
+
+ + {{-- 서명 --}} +
+
+

(주)코드브릿지엑스

+

대표이사 이 의 찬

+
+
(인)
+
+ +
diff --git a/resources/views/rd/ai-quotation/document-templates/classic.blade.php b/resources/views/rd/ai-quotation/document-templates/classic.blade.php new file mode 100644 index 00000000..3bbb9c0b --- /dev/null +++ b/resources/views/rd/ai-quotation/document-templates/classic.blade.php @@ -0,0 +1,142 @@ +{{-- 클래식 견적서 템플릿 — 전통 한국 제조업 스타일 --}} + + +
+ + {{-- 제목 --}} +

+ 견 적 서 +

+ + {{-- 견적 정보 --}} +
+
+

견적번호: {{ $quotationNo }}

+

유효기간: 견적일로부터 30일

+
+
+

견적일자: {{ $quotation->created_at->format('Y년 m월 d일') }}

+
+
+ + {{-- 수신 / 공급자 --}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
수 신공 급 자
귀사명{{ $quotation->title }}상 호(주)코드브릿지엑스
업 종{{ $company['industry'] ?? '-' }}대 표이의찬
규 모{{ $company['scale'] ?? '-' }}주 소인천 남동구 남동대로 215번길 30
현재시스템{{ !empty($company['current_systems']) ? implode(', ', $company['current_systems']) : '-' }}연락처032-123-4567
+ + {{-- 합계 --}} +
+

아래와 같이 견적합니다.

+

+ 합계금액: 금 {{ $devTotalKorean }}원정 + (₩{{ number_format($devSubtotal) }}) +

+

※ 부가가치세 별도 / 월 구독료 {{ number_format($monthlySubtotal) }}원 별도

+
+ + {{-- 품목 --}} + + + + + + + + + + + + @foreach($sortedItems as $index => $item) + + + + + + + + + @endforeach + + + + + + + + + + + + + + + + + + +
No구분품 목설 명개발비 (원)월 구독료 (원)
{{ $index + 1 }}{{ $item->is_required ? '필수' : '선택' }}{{ $item->module_name }}{{ Str::limit($item->reason, 80) }}{{ number_format((int) $item->dev_cost) }}{{ number_format((int) $item->monthly_fee) }}
소 계{{ number_format($devSubtotal) }}{{ number_format($monthlySubtotal) }}
부가세 (10%){{ number_format($devVat) }}{{ number_format($monthlyVat) }}
합 계{{ number_format($devTotal) }}{{ number_format($monthlyTotal) }}
+ + {{-- 비고 --}} +
+ + + + + + + +
비 고
+
    +
  1. 상기 금액은 부가가치세 별도입니다.
  2. +
  3. 개발비 납부 조건: 계약 시 50%, 완료 시 50% 분할 납부
  4. +
  5. 월 구독료: 서비스 오픈일부터 과금 (월 {{ number_format($monthlyTotal) }}원, VAT 포함)
  6. + @if($estimatedMonths) +
  7. 예상 구축 기간: {{ $estimatedMonths }}개월
  8. + @endif +
  9. 본 견적서의 유효기간은 견적일로부터 30일입니다.
  10. +
  11. 세부 사항은 별도 협의를 통해 조정될 수 있습니다.
  12. +
+
+
+ + {{-- 서명 --}} +
+
+

(주)코드브릿지엑스

+

대표이사 이 의 찬

+
+
(인)
+
+ +
diff --git a/resources/views/rd/ai-quotation/document-templates/colorful.blade.php b/resources/views/rd/ai-quotation/document-templates/colorful.blade.php new file mode 100644 index 00000000..b1278599 --- /dev/null +++ b/resources/views/rd/ai-quotation/document-templates/colorful.blade.php @@ -0,0 +1,133 @@ +{{-- 컬러풀/캐주얼 견적서 템플릿 --}} + + +
+ + {{-- 그라데이션 헤더 --}} +
+
+
+

견 적 서

+

QUOTATION

+
+
+

{{ $quotationNo }}

+

{{ $quotation->created_at->format('Y. m. d') }}

+
+
+
+ + {{-- 수신 / 공급자 카드 --}} +
+
+

수 신

+

{{ $quotation->title }}

+

{{ $company['industry'] ?? '-' }} · {{ $company['scale'] ?? '-' }}

+ @if(!empty($company['current_systems'])) +

현재: {{ implode(', ', $company['current_systems']) }}

+ @endif +
+
+

공 급 자

+

(주)코드브릿지엑스

+

대표 이의찬

+

인천 남동구 남동대로 215번길 30 · 032-123-4567

+
+
+ + {{-- 합계 카드 --}} +
+

아래와 같이 견적합니다.

+

+ 합계금액: 금 {{ $devTotalKorean }}원정 + (₩{{ number_format($devSubtotal) }}) +

+

※ 부가가치세 별도 / 월 구독료 {{ number_format($monthlySubtotal) }}원 별도

+
+ + {{-- 품목 --}} + + + + + + + + + + + + @foreach($sortedItems as $index => $item) + + + + + + + + + @endforeach + + + + + + + + + + + + + + + + + + +
No구분품 목설 명개발비 (원)월 구독료 (원)
{{ $index + 1 }} + + {{ $item->is_required ? '필수' : '선택' }} + + {{ $item->module_name }}{{ Str::limit($item->reason, 80) }}{{ number_format((int) $item->dev_cost) }}{{ number_format((int) $item->monthly_fee) }}
소 계{{ number_format($devSubtotal) }}{{ number_format($monthlySubtotal) }}
부가세 (10%){{ number_format($devVat) }}{{ number_format($monthlyVat) }}
합 계{{ number_format($devTotal) }}{{ number_format($monthlyTotal) }}
+ + {{-- 비고 --}} +
+

비 고

+
    +
  1. 상기 금액은 부가가치세 별도입니다.
  2. +
  3. 개발비 납부 조건: 계약 시 50%, 완료 시 50% 분할 납부
  4. +
  5. 월 구독료: 서비스 오픈일부터 과금 (월 {{ number_format($monthlyTotal) }}원, VAT 포함)
  6. + @if($estimatedMonths) +
  7. 예상 구축 기간: {{ $estimatedMonths }}개월
  8. + @endif +
  9. 본 견적서의 유효기간은 견적일로부터 30일입니다.
  10. +
  11. 세부 사항은 별도 협의를 통해 조정될 수 있습니다.
  12. +
+
+ + {{-- 서명 --}} +
+
+

(주)코드브릿지엑스

+

대표이사 이 의 찬

+
+
(인)
+
+ +
diff --git a/resources/views/rd/ai-quotation/document-templates/dark.blade.php b/resources/views/rd/ai-quotation/document-templates/dark.blade.php new file mode 100644 index 00000000..99b1f0b2 --- /dev/null +++ b/resources/views/rd/ai-quotation/document-templates/dark.blade.php @@ -0,0 +1,147 @@ +{{-- 프리미엄 다크 견적서 템플릿 --}} + + +
+ + {{-- 골드 라인 + 제목 --}} +
+
+
+

견 적 서

+

PREMIUM QUOTATION

+
+
+

No. {{ $quotationNo }}

+

{{ $quotation->created_at->format('Y. m. d') }}

+

유효기간: 견적일로부터 30일

+
+
+
+ + {{-- 수신 / 공급자 --}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
수 신공 급 자
귀사명{{ $quotation->title }}상 호(주)코드브릿지엑스
업 종{{ $company['industry'] ?? '-' }}대 표이의찬
규 모{{ $company['scale'] ?? '-' }}주 소인천 남동구 남동대로 215번길 30
현재시스템{{ !empty($company['current_systems']) ? implode(', ', $company['current_systems']) : '-' }}연락처032-123-4567
+ + {{-- 합계 --}} +
+

아래와 같이 견적합니다.

+

+ 합계금액: 금 {{ $devTotalKorean }}원정 + (₩{{ number_format($devSubtotal) }}) +

+

※ 부가가치세 별도 / 월 구독료 {{ number_format($monthlySubtotal) }}원 별도

+
+ + {{-- 품목 --}} + + + + + + + + + + + + @foreach($sortedItems as $index => $item) + + + + + + + + + @endforeach + + + + + + + + + + + + + + + + + + +
No구분품 목설 명개발비 (원)월 구독료 (원)
{{ $index + 1 }} + + {{ $item->is_required ? '필수' : '선택' }} + + {{ $item->module_name }}{{ Str::limit($item->reason, 80) }}{{ number_format((int) $item->dev_cost) }}{{ number_format((int) $item->monthly_fee) }}
소 계{{ number_format($devSubtotal) }}{{ number_format($monthlySubtotal) }}
부가세 (10%){{ number_format($devVat) }}{{ number_format($monthlyVat) }}
합 계{{ number_format($devTotal) }}{{ number_format($monthlyTotal) }}
+ + {{-- 비고 --}} +
+

비 고

+
    +
  1. 상기 금액은 부가가치세 별도입니다.
  2. +
  3. 개발비 납부 조건: 계약 시 50%, 완료 시 50% 분할 납부
  4. +
  5. 월 구독료: 서비스 오픈일부터 과금 (월 {{ number_format($monthlyTotal) }}원, VAT 포함)
  6. + @if($estimatedMonths) +
  7. 예상 구축 기간: {{ $estimatedMonths }}개월
  8. + @endif +
  9. 본 견적서의 유효기간은 견적일로부터 30일입니다.
  10. +
  11. 세부 사항은 별도 협의를 통해 조정될 수 있습니다.
  12. +
+
+ + {{-- 서명 --}} +
+
+

(주)코드브릿지엑스

+

대표이사 이 의 찬

+
+
(인)
+
+ +
diff --git a/resources/views/rd/ai-quotation/document-templates/modern.blade.php b/resources/views/rd/ai-quotation/document-templates/modern.blade.php new file mode 100644 index 00000000..41831040 --- /dev/null +++ b/resources/views/rd/ai-quotation/document-templates/modern.blade.php @@ -0,0 +1,124 @@ +{{-- 모던/미니멀 견적서 템플릿 --}} + + +
+ + {{-- 헤더 --}} +
+
+

견적서

+

QUOTATION

+
+
+

No. {{ $quotationNo }}

+

{{ $quotation->created_at->format('Y. m. d') }}

+
+
+ + {{-- 수신 / 공급자 --}} +
+
+

수신

+

{{ $quotation->title }}

+

{{ $company['industry'] ?? '-' }} · {{ $company['scale'] ?? '-' }}

+ @if(!empty($company['current_systems'])) +

현재: {{ implode(', ', $company['current_systems']) }}

+ @endif +
+
+

공급자

+

(주)코드브릿지엑스

+

대표 이의찬

+

인천 남동구 남동대로 215번길 30 · 032-123-4567

+
+
+ + {{-- 합계 --}} +
+

아래와 같이 견적합니다.

+

+ 금 {{ $devTotalKorean }}원정 + (₩{{ number_format($devSubtotal) }}) +

+

부가가치세 별도 · 월 구독료 {{ number_format($monthlySubtotal) }}원 별도

+
+ + {{-- 품목 --}} + + + + + + + + + + + + @foreach($sortedItems as $index => $item) + + + + + + + + + @endforeach + + + + + + + + + + + + + + + + + + +
No구분품목설명개발비월 구독료
{{ $index + 1 }} + + {{ $item->is_required ? '필수' : '선택' }} + + {{ $item->module_name }}{{ Str::limit($item->reason, 80) }}{{ number_format((int) $item->dev_cost) }}{{ number_format((int) $item->monthly_fee) }}
소계{{ number_format($devSubtotal) }}{{ number_format($monthlySubtotal) }}
VAT (10%){{ number_format($devVat) }}{{ number_format($monthlyVat) }}
합계{{ number_format($devTotal) }}{{ number_format($monthlyTotal) }}
+ + {{-- 비고 --}} +
+

비고

+
    +
  1. 상기 금액은 부가가치세 별도입니다.
  2. +
  3. 개발비 납부 조건: 계약 시 50%, 완료 시 50% 분할 납부
  4. +
  5. 월 구독료: 서비스 오픈일부터 과금 (월 {{ number_format($monthlyTotal) }}원, VAT 포함)
  6. + @if($estimatedMonths) +
  7. 예상 구축 기간: {{ $estimatedMonths }}개월
  8. + @endif +
  9. 본 견적서의 유효기간은 견적일로부터 30일입니다.
  10. +
  11. 세부 사항은 별도 협의를 통해 조정될 수 있습니다.
  12. +
+
+ + {{-- 서명 --}} +
+
+

(주)코드브릿지엑스

+

대표이사 이의찬

+
+
+ +
diff --git a/resources/views/rd/ai-quotation/document.blade.php b/resources/views/rd/ai-quotation/document.blade.php index 7bcf5d4f..d75cb76a 100644 --- a/resources/views/rd/ai-quotation/document.blade.php +++ b/resources/views/rd/ai-quotation/document.blade.php @@ -4,13 +4,27 @@ @push('styles') @endpush @@ -35,201 +49,81 @@ $monthlyTotal = $monthlySubtotal + $monthlyVat; // 한글 금액 변환 - function numberToKorean(int $number): string { - if ($number === 0) return '영'; - $units = ['', '만', '억', '조']; - $digits = ['', '일', '이', '삼', '사', '오', '육', '칠', '팔', '구']; - $subUnits = ['', '십', '백', '천']; + if (!function_exists('numberToKorean')) { + function numberToKorean(int $number): string { + if ($number === 0) return '영'; + $units = ['', '만', '억', '조']; + $digits = ['', '일', '이', '삼', '사', '오', '육', '칠', '팔', '구']; + $subUnits = ['', '십', '백', '천']; - $result = ''; - $unitIndex = 0; - while ($number > 0) { - $chunk = $number % 10000; - if ($chunk > 0) { - $chunkStr = ''; - $subIndex = 0; - $temp = $chunk; - while ($temp > 0) { - $digit = $temp % 10; - if ($digit > 0) { - $prefix = ($digit === 1 && $subIndex > 0) ? '' : $digits[$digit]; - $chunkStr = $prefix . $subUnits[$subIndex] . $chunkStr; + $result = ''; + $unitIndex = 0; + while ($number > 0) { + $chunk = $number % 10000; + if ($chunk > 0) { + $chunkStr = ''; + $subIndex = 0; + $temp = $chunk; + while ($temp > 0) { + $digit = $temp % 10; + if ($digit > 0) { + $prefix = ($digit === 1 && $subIndex > 0) ? '' : $digits[$digit]; + $chunkStr = $prefix . $subUnits[$subIndex] . $chunkStr; + } + $temp = (int)($temp / 10); + $subIndex++; } - $temp = (int)($temp / 10); - $subIndex++; + $result = $chunkStr . $units[$unitIndex] . $result; } - $result = $chunkStr . $units[$unitIndex] . $result; + $number = (int)($number / 10000); + $unitIndex++; } - $number = (int)($number / 10000); - $unitIndex++; + return $result; } - return $result; } $devTotalKorean = numberToKorean($devSubtotal); // 필수 → 선택 순으로 정렬된 품목 $sortedItems = $quotation->items->sortByDesc('is_required')->values(); + + // 템플릿 (기본값: classic) + $template = $template ?? 'classic'; + $templates = [ + 'classic' => '클래식', + 'modern' => '모던', + 'blue' => '블루', + 'dark' => '다크', + 'colorful' => '컬러풀', + ]; @endphp -
- - {{-- 제목 --}} -

- 견 적 서 -

- - {{-- 견적 정보 --}} -
-
-

견적번호: {{ $quotationNo }}

-

유효기간: 견적일로부터 30일

-
-
-

견적일자: {{ $quotation->created_at->format('Y년 m월 d일') }}

-
+{{-- 템플릿 선택 UI (인쇄 시 숨김) --}} +
+
+ @foreach($templates as $key => $label) + +
견 적 서
+
{{ $label }}
+
+ @endforeach
- - {{-- 수신 / 공급자 --}} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
수 신공 급 자
귀사명{{ $quotation->title }}상 호(주)코드브릿지엑스
업 종{{ $company['industry'] ?? '-' }}대 표이의찬
규 모{{ $company['scale'] ?? '-' }}주 소인천 남동구 남동대로 215번길 30
현재시스템{{ !empty($company['current_systems']) ? implode(', ', $company['current_systems']) : '-' }}연락처032-123-4567
- - {{-- 인사말 + 합계 --}} -
-

아래와 같이 견적합니다.

-

- 합계금액: 금 {{ $devTotalKorean }}원정 - (₩{{ number_format($devSubtotal) }}) -

-

※ 부가가치세 별도 / 월 구독료 {{ number_format($monthlySubtotal) }}원 별도

-
- - {{-- 품목 테이블 --}} - - - - - - - - - - - - - - - - - - - - - @foreach($sortedItems as $index => $item) - - - - - - - - - @endforeach - - - - - - - - - - - - - - - - - - -
No구분품 목설 명개발비 (원)월 구독료 (원)
{{ $index + 1 }} - {{ $item->is_required ? '필수' : '선택' }} - {{ $item->module_name }}{{ Str::limit($item->reason, 80) }}{{ number_format((int) $item->dev_cost) }}{{ number_format((int) $item->monthly_fee) }}
소 계{{ number_format($devSubtotal) }}{{ number_format($monthlySubtotal) }}
부가세 (10%){{ number_format($devVat) }}{{ number_format($monthlyVat) }}
합 계{{ number_format($devTotal) }}{{ number_format($monthlyTotal) }}
- - {{-- 비고 --}} -
- - - - - - - - - - - -
비 고
-
    -
  1. 상기 금액은 부가가치세 별도입니다.
  2. -
  3. 개발비 납부 조건: 계약 시 50%, 완료 시 50% 분할 납부
  4. -
  5. 월 구독료: 서비스 오픈일부터 과금 (월 {{ number_format($monthlyTotal) }}원, VAT 포함)
  6. - @if($estimatedMonths) -
  7. 예상 구축 기간: {{ $estimatedMonths }}개월
  8. - @endif -
  9. 본 견적서의 유효기간은 견적일로부터 30일입니다.
  10. -
  11. 세부 사항은 별도 협의를 통해 조정될 수 있습니다.
  12. -
-
-
- - {{-- 서명 --}} -
-
-

(주)코드브릿지엑스

-

대표이사 이 의 찬

-
-
(인)
-
-
+ +{{-- 선택된 템플릿 렌더링 --}} +@include('rd.ai-quotation.document-templates.' . $template, [ + 'quotation' => $quotation, + 'quotationNo' => $quotationNo, + 'company' => $company, + 'estimatedMonths' => $estimatedMonths, + 'devSubtotal' => $devSubtotal, + 'monthlySubtotal' => $monthlySubtotal, + 'devVat' => $devVat, + 'monthlyVat' => $monthlyVat, + 'devTotal' => $devTotal, + 'monthlyTotal' => $monthlyTotal, + 'devTotalKorean' => $devTotalKorean, + 'sortedItems' => $sortedItems, +]) @endsection