From ee72af10b4aab5d26237078102fd8bbe29ceee28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Fri, 20 Feb 2026 10:51:00 +0900 Subject: [PATCH] =?UTF-8?q?feat:=ED=99=88=ED=83=9D=EC=8A=A4=20=EC=84=B8?= =?UTF-8?q?=EA=B8=88=EA=B3=84=EC=82=B0=EC=84=9C=20=EA=B1=B0=EB=9E=98?= =?UTF-8?q?=EC=B2=98=20=EC=83=81=EC=84=B8=EC=A0=95=EB=B3=B4=20=EC=BB=AC?= =?UTF-8?q?=EB=9F=BC=20=EC=B6=94=EA=B0=80=20(=EC=A2=85=EC=82=AC=EC=97=85?= =?UTF-8?q?=EC=9E=A5=EB=B2=88=ED=98=B8,=20=EC=A3=BC=EC=86=8C,=20=EC=97=85?= =?UTF-8?q?=ED=83=9C,=20=EC=A2=85=EB=AA=A9,=20=EC=9D=B4=EB=A9=94=EC=9D=BC)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- ...dd_partner_details_to_hometax_invoices.php | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 database/migrations/2026_02_20_110000_add_partner_details_to_hometax_invoices.php diff --git a/database/migrations/2026_02_20_110000_add_partner_details_to_hometax_invoices.php b/database/migrations/2026_02_20_110000_add_partner_details_to_hometax_invoices.php new file mode 100644 index 0000000..8f1dc13 --- /dev/null +++ b/database/migrations/2026_02_20_110000_add_partner_details_to_hometax_invoices.php @@ -0,0 +1,39 @@ +string('invoicer_branch_num', 10)->nullable()->comment('공급자 종사업장번호')->after('invoicer_ceo_name'); + $table->string('invoicer_address', 300)->nullable()->comment('공급자 사업장주소')->after('invoicer_branch_num'); + $table->string('invoicer_biz_type', 100)->nullable()->comment('공급자 업태')->after('invoicer_address'); + $table->string('invoicer_biz_class', 100)->nullable()->comment('공급자 종목')->after('invoicer_biz_type'); + $table->string('invoicer_email', 200)->nullable()->comment('공급자 이메일')->after('invoicer_biz_class'); + $table->string('invoicer_email2', 200)->nullable()->comment('공급자 이메일2')->after('invoicer_email'); + + // 공급받는자 상세 + $table->string('invoicee_branch_num', 10)->nullable()->comment('공급받는자 종사업장번호')->after('invoicee_ceo_name'); + $table->string('invoicee_address', 300)->nullable()->comment('공급받는자 사업장주소')->after('invoicee_branch_num'); + $table->string('invoicee_biz_type', 100)->nullable()->comment('공급받는자 업태')->after('invoicee_address'); + $table->string('invoicee_biz_class', 100)->nullable()->comment('공급받는자 종목')->after('invoicee_biz_type'); + $table->string('invoicee_email', 200)->nullable()->comment('공급받는자 이메일')->after('invoicee_biz_class'); + $table->string('invoicee_email2', 200)->nullable()->comment('공급받는자 이메일2')->after('invoicee_email'); + }); + } + + public function down(): void + { + Schema::table('hometax_invoices', function (Blueprint $table) { + $table->dropColumn([ + 'invoicer_branch_num', 'invoicer_address', 'invoicer_biz_type', 'invoicer_biz_class', 'invoicer_email', 'invoicer_email2', + 'invoicee_branch_num', 'invoicee_address', 'invoicee_biz_type', 'invoicee_biz_class', 'invoicee_email', 'invoicee_email2', + ]); + }); + } +};