インボイス設定の建物名カラム追加
All checks were successful
Deploy main / deploy (push) Successful in 22s

This commit is contained in:
kin.rinzen 2025-10-21 19:10:59 +09:00
parent eeacdd7c67
commit 5c627a80e0
2 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,6 @@ class InvSettingController extends Controller
'fax1' => 'nullable|digits_between:2,4', 'fax1' => 'nullable|digits_between:2,4',
'fax2' => 'nullable|digits_between:2,4', 'fax2' => 'nullable|digits_between:2,4',
'fax3' => 'nullable|digits_between:3,4', 'fax3' => 'nullable|digits_between:3,4',
// ← ここは「画像ファイル」ではなく、hiddenに入る「パス」なので image バリデーションは不要
'company_image_path' => 'nullable|string|max:255', 'company_image_path' => 'nullable|string|max:255',
]; ];

View File

@ -16,8 +16,10 @@ class InvSetting extends Model
't_name', // 事業者名 't_name', // 事業者名
'zipcode', // 郵便番号 'zipcode', // 郵便番号
'adrs', // 住所 'adrs', // 住所
'bldg', // 建物名
'tel_num', // 電話番号 'tel_num', // 電話番号
'fax_num', // FAX番号 'fax_num', // FAX番号
'company_image_path', // 会社ロゴ画像パス(任意) 'company_image_path', // 会社ロゴ画像パス(任意)
]; ];
} }