<!-- body -->
<div class="container contents af461x" style="width:1260px;">
  <!-- header menu
  ================================================== -->
  <div class="bs-docs-section clearfix">
    <form id="headerTop" class="header form-horizontal  {$noeventClassHeader}">
        <div class="col wp-100" style="height:38px"></div> {*メニュー分あける*}
      <div class="col wp-100 well header">


        {*左*}
        <div class="col wp-050">
          <div class="col wp-100 date">
            <label class="control-label wd-070 in-required">締日コード</label>
            <input name="cudt" type="text" class="form-control input-sm item wd-kbn cudt required keycd clear" maxlength="2" value="{$header.cudt}">
            <div class="col wd-SS">&nbsp;</div>
            <label class="control-label wd-070 in-required">締日</label>
            <input name="cdat" type="text" class="form-control input-sm item wd-date cdat datepicker required clear" maxlength="10" value="{$header.cdat}">
            <input type="button" class="col popbtn cmdDatepicker" tabindex="-1" value="?"/>
          </div>
          <div class="col wp-100">
            <label class="control-label wd-070">請求名寄</label>
            <input name="cucd" type="text" class="form-control input-sm item wd-S cucd cumcd3 eventcumcd3 popCucd clear" data-stpflg="2" maxlength="8" value="{$header.cucd}">
            <input type="button" class="col popbtn cmdCucd" tabindex="-1" value="?"/>
            <input name="cunm" type="text" class="form-control input-sm item wd-L cunm longnm clear" readonly value="{$header.cunm}"/>
          </div>
          <div class="col wp-100" style="height:5px;">&nbsp;</div>
          <div class="col wp-100">
            <label class="checkbox-label"><input name="head_chk"  type="checkbox" class="form-control item input-sm wd-kbn head_chk" {if $header.head_chk eq "1"}checked{/if} value="1" tabindex="-1"/>請求書種類なしを出力する</label>
            <div class="col wd-SS">&nbsp;</div>
            {*
            直印刷不可なので
            <div class="col ">
              <label class="control-label wd-070 ">プリンタ</label>
              <select name="prt" class="col form-control item input-sm wd-100 prt">
                {foreach from=$listPrt item=select name=select}
                  <option value="{$select.cd}" {if $header.prt eq $select.cd}selected{/if}>{$select.nm}</option>
                {/foreach}
              </select>
            </div>
            *}
            <input type="text" class="dummy" />
          </div>
        </div>


        {*右*}
        <div class="col wp-050" style="line-height: 0.8em;">
          <div class="col wp-100">
            <label class="control-label wd-110 in-required" >発行区分</label>
            <label class="col checkbox-label" style="letter-spacing:-2px;"> <input name="rdo_cls" type="radio"  value="0" tabindex=-1 class=" input-sm wd-020 rdo_cls clear default-chk" {if $header.rdo_cls eq '0'}checked{/if}>全て</label><div class="col wd-010">&nbsp;</div>
            <label class="col checkbox-label" style="letter-spacing:-2px;"> <input name="rdo_cls" type="radio"  value="1" tabindex=-1 class=" input-sm wd-020 rdo_cls clear" {if $header.rdo_cls eq '1'}checked{/if}>未発行、又は、要確認</label><div class="col wd-010">&nbsp;</div>
            <label class="col checkbox-label" style="letter-spacing:-2px;"> <input name="rdo_cls" type="radio"  value="2" tabindex=-1 class=" input-sm wd-020 rdo_cls clear" {if $header.rdo_cls eq '2'}checked{/if}>発行済</label>
          </div>

          {if $header.nodsp_cuosflg neq "1"}
            <div class="col wp-100">
              <label class="control-label wd-110 in-required" >オリジナル請求書</label>
              <label class="col checkbox-label" style="letter-spacing:-2px;"> <input name="rdo_cuosflg" type="radio"  value="2" tabindex=-1 class=" input-sm wd-020 rdo_cuosflg clear default-chk" {if $header.rdo_cuosflg eq '2'}checked{/if}>全て</label><div class="col wd-010">&nbsp;</div>
              <label class="col checkbox-label" style="letter-spacing:-2px;"> <input name="rdo_cuosflg" type="radio"  value="1" tabindex=-1 class=" input-sm wd-020 rdo_cuosflg clear" {if $header.rdo_cuosflg eq '1'}checked{/if}>あり</label><div class="col wd-010">&nbsp;</div>
              <label class="col checkbox-label" style="letter-spacing:-2px;"> <input name="rdo_cuosflg" type="radio"  value="0" tabindex=-1 class=" input-sm wd-020 rdo_cuosflg clear" {if $header.rdo_cuosflg eq '0'}checked{/if}>なし</label><div class="col wd-010">&nbsp;</div>
            </div>
          {else}
            {*条件用のラジオボタンを表示しない場合、内部的には全て(2)にするため*}
            <input name="rdo_cuosflg" type="hidden" class="rdo_cuosflg" value="{$header.rdo_cuosflg}" />
          {/if}

          {if $header.nodsp_cuspflg neq "1"}
            <div class="col wp-100">
              <label class="control-label wd-110 in-required" >特別対応</label>
              <label class="col checkbox-label" style="letter-spacing:-2px;"> <input name="rdo_cuspflg" type="radio"  value="2" tabindex=-1 class=" input-sm wd-020 rdo_cuspflg clear default-chk" {if $header.rdo_cuspflg eq '2'}checked{/if}>全て</label><div class="col wd-010">&nbsp;</div>
              <label class="col checkbox-label" style="letter-spacing:-2px;"> <input name="rdo_cuspflg" type="radio"  value="1" tabindex=-1 class=" input-sm wd-020 rdo_cuspflg clear" {if $header.rdo_cuspflg eq '1'}checked{/if}>あり</label><div class="col wd-010">&nbsp;</div>
              <label class="col checkbox-label" style="letter-spacing:-2px;"> <input name="rdo_cuspflg" type="radio"  value="0" tabindex=-1 class=" input-sm wd-020 rdo_cuspflg clear" {if $header.rdo_cuspflg eq '0'}checked{/if}>なし</label><div class="col wd-010">&nbsp;</div>
            </div>
          {else}
            {*条件用のラジオボタンを表示しない場合、内部的には全て(2)にするため*}
            <input name="rdo_cuspflg" type="hidden" class="rdo_cuspflg" value="{$header.rdo_cuspflg}" />
          {/if}

          <div class="col wp-100">
            <label class="control-label wd-110 in-required" >請求締</label>
            <label class="col checkbox-label" style="letter-spacing:-2px;"> <input name="rdo_cls2" type="radio"  value="9" tabindex=-1 class=" input-sm wd-020 rdo_cls2 clear default-chk" {if $header.rdo_cls2 eq '9'}checked{/if}>全て</label><div class="col wd-010">&nbsp;</div>
            <label class="col checkbox-label" style="letter-spacing:-2px;"> <input name="rdo_cls2" type="radio"  value="2" tabindex=-1 class=" input-sm wd-020 rdo_cls2 clear" {if $header.rdo_cls2 eq '2'}checked{/if}>済</label><div class="col wd-010">&nbsp;</div>
            <label class="col checkbox-label" style="letter-spacing:-2px;"> <input name="rdo_cls2" type="radio"  value="1" tabindex=-1 class=" input-sm wd-020 rdo_cls2 clear" {if $header.rdo_cls2 eq '2'}checked{/if}>未</label><div class="col wd-010">&nbsp;</div>
            <label class="col checkbox-label" style="letter-spacing:-2px;"> <input name="rdo_cls2" type="radio"  value="3" tabindex=-1 class=" input-sm wd-020 rdo_cls2 clear" {if $header.rdo_cls2 eq '3'}checked{/if}>解除</label><div class="col wd-010">&nbsp;</div>
          </div>
        </div>

        <input name="nodsp_cuosflg" type="hidden" class="nodsp_cuosflg" value="{$header.nodsp_cuosflg}" />
        <input name="nodsp_cuspflg" type="hidden" class="nodsp_cuspflg" value="{$header.nodsp_cuspflg}" />
        

      </div>
      <div class="col wp-100">
        <div class="col wd-180 right" >
          <label class="control-label wd-060">ページ</label>
          <input id="pagecnt" name="pagecnt" type="text" class="form-control input-sm item wd-SS pagecnt clear number" readonly value="{$header.pagecnt}"><div class="item wd-010">/</div><input id="lastpage" name="lastpage" type="text" class="form-control input-sm item wd-SS lastpage clear number" readonly value="{$header.lastpage}">
        </div>
        <hr>
      </div>
    </form>
  </div>

  <!-- body
  ================================================== -->
  <div class="bs-docs-section">
    <form class="body" >
      <div id="detailTop" class="bs-component col wp-100 {$noeventClassBody}" >

        <!-- *** header *** -->
        <div id="detailHeader" class="col wp-100 detailHeader">
          <div class="col wp-100 detailHeader">
            <label class="control-label " style="width:15px;">&nbsp;</label>
            <label class="control-label wd-S ">得意先</label>
            <label class="control-label wd-S ">&nbsp;</label>
            <label class="control-label wd-LL ">&nbsp;</label>
            <label class="control-label wd-date ">締日</label>
            <label class="control-label wd-090 text-right">今回売上額</label>
            <label class="control-label wd-130">発行日時</label>
            <label class="control-label wd-MM">請求書種類</label>
            {*<label class="control-label wd-SS">部数</label> 直印刷ないので不要*}
            <label class="control-label wd-SS">請求締</label>
            <label class="control-label wd-SS">要確認</label>
          </div>
        </div>


        <div id="detail" class="col wp-100 x_scroll detailArea">
          <hr>
          <!-- ↑↑↑*** rows ***↑↑↑ -->
        </div>
        <hr>
        <div class="col wp-100 detailFooter">
          <div class="col wd-150 " >
            <input id="putChk" type="button" class="wd-func btn-main btn1 shosaibtn wd-050 center" style="margin-top:1px;border-radius: 7px;" value="全選択" />
            <input id="removeChk" type="button" class="wd-func btn-main btn1 shosaibtn wd-050 center" style="margin-top:1px;border-radius: 7px;" value="全解除" />
          </div>
          {*
          <div class="col wd-310">
            <input id="putChk2" type="button" class="wd-func btn-main btn1 shosaibtn wd-090 center" style="margin-top:1px;border-radius: 7px;" value="ページ全選択" />
            <input id="removeChk2" type="button" class="wd-func btn-main btn1 shosaibtn wd-090 center" style="margin-top:1px;border-radius: 7px;" value="ページ全解除" />
          </div>
          *}
        </div>

      </div>
    </form>
  </div>

  <!-- footer
  ================================================== -->

  {include file="./funcMenu.tpl"} <!-- Function Menu -->

</div>
