From 5ce2d2fcbf0967f8b64352a0a22d197fa59327ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Wed, 4 Mar 2026 14:51:16 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20[approval]=20=EC=A7=80=EC=B6=9C?= =?UTF-8?q?=EA=B2=B0=EC=9D=98=EC=84=9C=20body=5Ftemplate=20=EA=B3=A0?= =?UTF-8?q?=EB=8F=84=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 참조 문서 기반으로 정형 양식 HTML 리디자인 - 지출형식/세금계산서 체크박스, 기본정보, 8열 내역 테이블, 합계, 첨부 섹션 포함 --- ...te_expense_approval_form_body_template.php | 180 ++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 database/migrations/2026_03_04_100200_update_expense_approval_form_body_template.php diff --git a/database/migrations/2026_03_04_100200_update_expense_approval_form_body_template.php b/database/migrations/2026_03_04_100200_update_expense_approval_form_body_template.php new file mode 100644 index 0000000..c2c9ef7 --- /dev/null +++ b/database/migrations/2026_03_04_100200_update_expense_approval_form_body_template.php @@ -0,0 +1,180 @@ +지 출 결 의 서 + + + + + + + + + +
지출형식 + ☐ 법인카드    ☐ 송금    ☐ 현금/가지급정산    ☐ 복지카드 +
세금계산서 + ☐ 일반    ☐ 이월발행 +
+ + + + + + + + + + + + + +
작성일자지출부서이름
제목
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
년/월/일내용금액업체명지급은행계좌번호예금주비고
합 계
+

첨부서류:

+HTML; + + DB::table('approval_forms') + ->where('tenant_id', 1) + ->where('code', 'expense') + ->update([ + 'body_template' => $bodyTemplate, + 'updated_at' => now(), + ]); + } + + public function down(): void + { + // 이전 body_template으로 복원 + $oldBodyTemplate = <<<'HTML' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
지출일자부서
거래처
계정과목적요금액비고
합계
지출 사유
+HTML; + + DB::table('approval_forms') + ->where('tenant_id', 1) + ->where('code', 'expense') + ->update([ + 'body_template' => $oldBodyTemplate, + 'updated_at' => now(), + ]); + } +};