<!DOCTYPE html>
<html lang="zh-tw">

<head>
  <?php
  // 引用 head.inc
  include_once "html_head.inc";
  ?>
</head>

<body>
  <div id="q-app" :visible="IsVueReady==true" @mousemove="FnIdleReset">
    <?php
    // include_once "html_menu.inc";
    include_once "html_layout_header.inc";
    ?>
    <!-- 內容區域 //-->
    <data-table :show-search-field="true" :show-search-panel="true" :show-download-btn="export_cheak" :columns="columns" :data="tableData" :excel_name="excel_name_str" sort_by="transaction_end_time" row-key="no" @search-ok="searsh_list()">
      <template v-slot:page-sticky>
        <!-- <q-btn round color="primary" @click="console.log(list)" icon="info"></q-btn> -->
      </template>
      <template v-slot:search-panel-actions>

      </template>
      <template v-slot:search-form>
        <div>
          <div class="w3-row-padding">
            <div class="w3-col l4 s6" style="max-width:300px">
              <q-select v-model="search.store" :stack-label="$t('page.store_currency_details.search.store')" :options="store" filter />
            </div>
            <div class="w3-col l4 s6" style="max-width:200px">
              <div class="leo-datetime-lable">{{$t('page.store_currency_details.search.start_date')}}</div>
              <datetime v-model="search.start_date" :phrases="datetime_phrases" type="datetime" input-class="leo-datetime-input" format="yyyy/MM/dd HH:mm:00">
              </datetime>
            </div>
            <div class="w3-col l4 s6" style="max-width:200px">
              <div class="leo-datetime-lable">{{$t('page.store_currency_details.search.end_date')}}</div>
              <datetime v-model="search.end_date" :phrases="datetime_phrases" type="datetime" input-class="leo-datetime-input" format="yyyy/MM/dd HH:mm:59">
              </datetime>
            </div>
          </div>
        </div>
      </template>
    </data-table>
    <!-- /內容區域 //-->
    <?php
    include_once "html_layout_footer.inc";
    ?>
  </div>
  <?php
  // loading.inc
  include_once "html_loading.inc";
  ?>
</body>
<?php
$is_report_download = true;
// 引用 down.inc
include_once "html_down.php";
?>

</html>