- BarobillService HTTP→SOAP 전환 (MNG EtaxController 포팅) - TI SOAP 클라이언트, callSoap(), buildTaxInvoiceData MNG 형식 적용 - issueTaxInvoice/cancelTaxInvoice/checkNtsSendStatus SOAP 방식 - 공급자 설정 조회/저장 API (GET/PUT /supplier-settings) - 생성+즉시발행 통합 API (POST /issue-direct) - SaveSupplierSettingsRequest FormRequest 추가
29 lines
887 B
PHP
29 lines
887 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\TaxInvoice;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class SaveSupplierSettingsRequest extends FormRequest
|
|
{
|
|
public function authorize(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'business_number' => ['required', 'string', 'max:20'],
|
|
'company_name' => ['required', 'string', 'max:100'],
|
|
'representative_name' => ['required', 'string', 'max:50'],
|
|
'address' => ['nullable', 'string', 'max:255'],
|
|
'business_type' => ['nullable', 'string', 'max:100'],
|
|
'business_item' => ['nullable', 'string', 'max:100'],
|
|
'contact_name' => ['nullable', 'string', 'max:50'],
|
|
'contact_phone' => ['nullable', 'string', 'max:20'],
|
|
'contact_email' => ['nullable', 'email', 'max:100'],
|
|
];
|
|
}
|
|
}
|