@extends('layouts.app')
@section('title', 'インボイス設定 - 新規登録')

@push('head')
<meta name="inv-upload-url" content="{{ url('inv_settings/upload') }}">
@endpush

<!-- @push('scripts')
<script src="{{ asset('js/inv-settings.js') }}"></script>
@endpush -->

@section('content')
<div class="content-header">
  <div class="container-fluid">
    <div class="row mb-2">
      <div class="col-sm-6">
        <h1 class="m-0 text-dark">新規</h1>
      </div>
      <div class="col-sm-6">
        <ol class="breadcrumb float-sm-right text-sm">
          <li class="breadcrumb-item"><a href="{{ route('home') }}">ホーム</a></li>
          <li class="breadcrumb-item"><a href="{{ route('inv_settings') }}">インボイス設定</a></li>
          <li class="breadcrumb-item active">新規</li>
        </ol>
      </div>
    </div>
  </div>
</div>

<section class="content">
  <div class="container-fluid">
    {{-- 新規登録フォーム --}}
    <form id="form_add" action="{{ route('inv_settings_add') }}" method="POST">
        @csrf
        @include('admin.invsettings._form', [
            'isEdit' => false,
            'record' => null,
            'managementList' => $managementList ?? []
        ])
    </form>
  </div>
</section>
@endsection
