@php
    $showType = 0;
    if (in_array($item->property, [1,2,3,4,5])) {
        $showType = 1;
    } elseif (in_array($item->property, [5,6])) {
        $showType = 2;
    } else {
        $showType = 0;
    }
@endphp
<div id="modal-content-set-pdf" class="modal-contents-set">
    <div id="modal_open">
        <header id="modal_header">PDF化するセットをお選びください。
        </header>
        <main id="modal_main">
            <div class="d-flex" style="justify-content: center;">
                @if ($showType == 0 || $showType == 1)
                    <div>
                        <table>
                            <tr><th class="d-flex"><div class="title_own"><span>自社帯<br>物件シート</span></div></th></tr>
                            <tr>
                                <td>
                                <a id="btnMultiPdfSet" class="c-linkbtn p-detail-header__button-list--close" href="javascript:void(0);">全物件</a>
                                <a id="btnSinglePdfSet" class="c-linkbtn p-detail-header__button-list--close" href="javascript:void(0);">当該物件のみ</a>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div>
                        <table>
                            <tr><th class="d-flex"><div class="title_other"><span>業者<br>物件シート</span></div></th></tr>
                            <tr>
                                <td>
                                <a id="btnMultiPdfVendor" class="c-linkbtn p-detail-header__button-list--close" href="javascript:void(0);">全物件</a>
                                <a id="btnSinglePdfVendor" class="c-linkbtn p-detail-header__button-list--close" href="javascript:void(0);">当該物件のみ</a>
                                </td>
                            </tr>
                        </table>
                    </div>
                @endif
                @if($showType == 0 || $showType == 1)
                    <div>
                        <table>
                            <tr><th class="d-flex"><div class="title_own"><span>自社帯<br>物件シート</span></div>+<div class="title_other"><span>業者<br>物件シート</span></div></th></tr>
                            <tr>
                                <td>
                                <a id="btnMultiPdfSet1" class="c-linkbtn p-detail-header__button-list--close" href="javascript:void(0);">全物件</a>
                                <a id="btnSinglePdfSet1" class="c-linkbtn p-detail-header__button-list--close" href="javascript:void(0);">当該物件のみ</a>

                                </td>
                            </tr>
                        </table>
                    </div>
                @endif
                @if ($showType == 0 || $showType == 2)
                    <div>
                        <table>
                            <tr><th class="d-flex"><div class="title_own"><span>自社帯<br>物件シート</span></div>+<div class="title_mansion"><span>マンション<br>リスト</span></div></th></tr>
                            <tr>
                                <td>
                                <a id="btnMultiPdfSet2" class="c-linkbtn p-detail-header__button-list--close" href="javascript:void(0);">全物件</a>
                                <a id="btnSinglePdfSet2" class="c-linkbtn p-detail-header__button-list--close" href="javascript:void(0);">当該物件のみ</a>

                                </td>
                            </tr>
                        </table>
                    </div>
                    <div>
                        <table>
                            <tr><th class="d-flex"><div class="title_own"><span>自社帯<br>物件シート</span></div>+<div class="title_other"><span>業者<br>物件シート</span></div>+<div class="title_mansion"><span>マンション<br>リスト</span></div></th></tr>
                            <tr>
                                <td>
                                <a id="btnMultiPdfSet3" class="c-linkbtn p-detail-header__button-list--close" href="javascript:void(0);">全物件</a>
                                <a id="btnSinglePdfSet3" class="c-linkbtn p-detail-header__button-list--close" href="javascript:void(0);">当該物件のみ</a>

                                </td>
                            </tr>
                        </table>
                    </div>
                @endif
            </div>
        </main>
        <footer id="modal_footer">
            <p><a class="modal-close" class="button-link" data-n="" href="javascript:void(0);"><i class="fa fa-times" aria-hidden="true"></i></a></p>
        </footer>
    </div>
</div>
