<template>
    <v-layout column fill-height>
    <one-dialog-info :status="xinfo" :msg="xmsginfo"  @close-dialog-info="closeInfo()"></one-dialog-info>

            <v-toolbar  class="pa-1 mb-2" color="blue lighten-3" dark height="50px">
              <v-toolbar-title>DAFTAR REPORT</v-toolbar-title>
              <v-spacer></v-spacer>
              <v-select   v-model="Select" :items="items"   :rules="[v => !!v || 'Item is required']" label="Group Report" ></v-select>

                <v-spacer></v-spacer>
                <v-text-field   v-model="search" :rules="nameRules"   label="Search" ></v-text-field>
            </v-toolbar>

     <v-card class="pa-3 p-left-side grow" grow >
       <div style=" font-weight: bold; font-size: large;">GROUP FRONT OFFICE</div>
     <v-container class="pa-2" grid-list-md fluid fill-height>
       <v-card class="ml-3" color="dark blue lighten-1" dark width="400px" height="80px"  style="border-top-left-radius: 50px; border-bottom-right-radius: 50px; " @click.stop="drawer = !drawer">
       <v-card-text  style="  margin-top:-10px;  ">
       <span style="  padding-left:7px;  ">LAPORAN REKAP PIUTANG SUMMARY BY DATE </span>
       <p style="font-size: large; margin:0px;  color: red;">H-001</p>
       <p style="font-size: 12px; margin:0px; font-style: italic;  color: black;">Laporan yang berisi tentang laporan harian kasir</p>
       </v-card-text>
       </v-card>

       <v-card class="ml-3" color="dark blue lighten-2" dark width="400px" height="80px"   @click.stop="drawer = !drawer">
       <v-card-text  style="  margin-top:-10px;  ">
       <span>LAPORAN REKAP PIUTANG SUMMARY BY DATE </span>
       <p style="font-size: large; margin:0px;  color: red;">H-001</p>
       <p style="font-size: 12px; margin:0px; font-style: italic;  color: black;">Laporan yang berisi tentang laporan harian kasir</p>
       </v-card-text>
       </v-card>

       <v-card class="ml-3" color="dark blue lighten-3" dark width="400px" height="80px"  style=" border-radius: 15px; "@click.stop="drawer = !drawer">
       <v-card-text  style="  margin-top:-10px;  ">
       <span>LAPORAN REKAP PIUTANG SUMMARY BY DATE </span>
       <p style="font-size: large; margin:0px;  color: red;">H-001</p>
       <p style="font-size: 12px; margin:0px; font-style: italic;  color: black;">Laporan yang berisi tentang laporan harian kasir</p>
       </v-card-text>
       </v-card>

       <v-card class="ml-3" color="blue darken-1" dark width="400px" height="80px"  style="border-top-left-radius: 15px; border-bottom-right-radius: 15px; "@click.stop="drawer = !drawer">
       <v-card-text  style="  margin-top:-10px;  ">
       <span>LAPORAN REKAP PIUTANG SUMMARY BY DATE </span>
       <p style="font-size: large; margin:0px;  color: red;">H-001</p>
       <p style="font-size: 12px; margin:0px; font-style: italic;  color: black;">Laporan yang berisi tentang laporan harian kasir</p>
       </v-card-text>
       </v-card>

     </v-container>

	 <v-container class="pa-2" grid-list-md fluid fill-height>
       <v-card class="ml-3" color="light-green lighten-1" dark width="400px" height="80px"  style="border-top-left-radius: 50px; border-bottom-right-radius: 50px; " @click.stop="drawer = !drawer">
       <v-card-text  style="  margin-top:-10px;  ">
       <span style="  padding-left:7px;  ">LAPORAN REKAP PIUTANG SUMMARY BY DATE </span>
       <p style="font-size: large; margin:0px;  color: red;">H-001</p>
       <p style="font-size: 12px; margin:0px; font-style: italic;  color: black;">Laporan yang berisi tentang laporan harian kasir</p>
       </v-card-text>
       </v-card>

       <v-card class="ml-3" color="light-green lighten-2" dark width="400px" height="80px"   @click.stop="drawer = !drawer">
       <v-card-text  style="  margin-top:-10px;  ">
       <span>LAPORAN REKAP PIUTANG SUMMARY BY DATE </span>
       <p style="font-size: large; margin:0px;  color: red;">H-001</p>
       <p style="font-size: 12px; margin:0px; font-style: italic;  color: black;">Laporan yang berisi tentang laporan harian kasir</p>
       </v-card-text>
       </v-card>

       <v-card class="ml-3" color="light-green lighten-3" dark width="400px" height="80px"  style=" border-radius: 15px; "@click.stop="drawer = !drawer">
       <v-card-text  style="  margin-top:-10px;  ">
       <span>LAPORAN REKAP PIUTANG SUMMARY BY DATE </span>
       <p style="font-size: large; margin:0px;  color: red;">H-001</p>
       <p style="font-size: 12px; margin:0px; font-style: italic;  color: black;">Laporan yang berisi tentang laporan harian kasir</p>
       </v-card-text>
       </v-card>

       <v-card class="ml-3" color="light-green darken-1" dark width="400px" height="80px"  style="border-top-left-radius: 15px; border-bottom-right-radius: 15px; "@click.stop="drawer = !drawer">
       <v-card-text  style="  margin-top:-10px;  ">
       <span>LAPORAN REKAP PIUTANG SUMMARY BY DATE </span>
       <p style="font-size: large; margin:0px;  color: red;">H-001</p>
       <p style="font-size: 12px; margin:0px; font-style: italic;  color: black;">Laporan yang berisi tentang laporan harian kasir</p>
       </v-card-text>
       </v-card>

     </v-container>

	 <v-container class="pa-2" grid-list-md fluid fill-height>
       <v-card class="ml-3" color="amber lighten-1" dark width="400px" height="80px"  style="border-top-left-radius: 50px; border-bottom-right-radius: 50px; " @click.stop="drawer = !drawer">
       <v-card-text  style="  margin-top:-10px;  ">
       <span style="  padding-left:7px;  ">LAPORAN REKAP PIUTANG SUMMARY BY DATE </span>
       <p style="font-size: large; margin:0px;  color: red;">H-001</p>
       <p style="font-size: 12px; margin:0px; font-style: italic;  color: black;">Laporan yang berisi tentang laporan harian kasir</p>
       </v-card-text>
       </v-card>

       <v-card class="ml-3" color="amber lighten-2" dark width="400px" height="80px"   @click.stop="drawer = !drawer">
       <v-card-text  style="  margin-top:-10px;  ">
       <span>LAPORAN REKAP PIUTANG SUMMARY BY DATE </span>
       <p style="font-size: large; margin:0px;  color: red;">H-001</p>
       <p style="font-size: 12px; margin:0px; font-style: italic;  color: black;">Laporan yang berisi tentang laporan harian kasir</p>
       </v-card-text>
       </v-card>

       <v-card class="ml-3" color="amber lighten-3" dark width="400px" height="80px"  style=" border-radius: 15px; "@click.stop="drawer = !drawer">
       <v-card-text  style="  margin-top:-10px;  ">
       <span>LAPORAN REKAP PIUTANG SUMMARY BY DATE </span>
       <p style="font-size: large; margin:0px;  color: red;">H-001</p>
       <p style="font-size: 12px; margin:0px; font-style: italic;  color: black;">Laporan yang berisi tentang laporan harian kasir</p>
       </v-card-text>
       </v-card>

       <v-card class="ml-3" color="amber darken-1" dark width="400px" height="80px"  style="border-top-left-radius: 15px; border-bottom-right-radius: 15px; "@click.stop="drawer = !drawer">
       <v-card-text  style="  margin-top:-10px;  ">
       <span>LAPORAN REKAP PIUTANG SUMMARY BY DATE </span>
       <p style="font-size: large; margin:0px;  color: red;">H-001</p>
       <p style="font-size: 12px; margin:0px; font-style: italic;  color: black;">Laporan yang berisi tentang laporan harian kasir</p>
       </v-card-text>
       </v-card>

     </v-container>

     <v-container class="pa-2" grid-list-md fluid fill-height>
       <v-card class="ml-3" color="purple lighten-1" dark width="400px" height="80px"  style="border-top-left-radius: 50px; border-bottom-right-radius: 50px; " @click.stop="drawer = !drawer">
       <v-card-text  style="  margin-top:-10px;  ">
       <span style="  padding-left:7px;  ">LAPORAN REKAP PIUTANG SUMMARY BY DATE </span>
       <p style="font-size: large; margin:0px;  color: red;">H-001</p>
       <p style="font-size: 12px; margin:0px; font-style: italic;  color: black;">Laporan yang berisi tentang laporan harian kasir</p>
       </v-card-text>
       </v-card>

       <v-card class="ml-3" color="purple lighten-2" dark width="400px" height="80px"   @click.stop="drawer = !drawer">
       <v-card-text  style="  margin-top:-10px;  ">
       <span>LAPORAN REKAP PIUTANG SUMMARY BY DATE </span>
       <p style="font-size: large; margin:0px;  color: red;">H-001</p>
       <p style="font-size: 12px; margin:0px; font-style: italic;  color: black;">Laporan yang berisi tentang laporan harian kasir</p>
       </v-card-text>
       </v-card>

       <v-card class="ml-3" color="purple lighten-3" dark width="400px" height="80px"  style=" border-radius: 15px; "@click.stop="drawer = !drawer">
       <v-card-text  style="  margin-top:-10px;  ">
       <span>LAPORAN REKAP PIUTANG SUMMARY BY DATE </span>
       <p style="font-size: large; margin:0px;  color: red;">H-001</p>
       <p style="font-size: 12px; margin:0px; font-style: italic;  color: black;">Laporan yang berisi tentang laporan harian kasir</p>
       </v-card-text>
       </v-card>

       <v-card class="ml-3" color="purple darken-1" dark width="400px" height="80px"  style="border-top-left-radius: 15px; border-bottom-right-radius: 15px; "@click.stop="drawer = !drawer">
       <v-card-text  style="  margin-top:-10px;  ">
       <span>LAPORAN REKAP PIUTANG SUMMARY BY DATE </span>
       <p style="font-size: large; margin:0px;  color: red;">H-001</p>
       <p style="font-size: 12px; margin:0px; font-style: italic;  color: black;">Laporan yang berisi tentang laporan harian kasir</p>
       </v-card-text>
       </v-card>

     </v-container>





 </v-card>

    <v-navigation-drawer v-model="drawer" :mini-variant="mini" fixed app    temporary right :width="350">
          <v-list class="pa-1">

            <v-list-tile v-if="mini" @click.stop="mini = !mini">

            </v-list-tile>
              <v-list-tile-content>
                <v-list-tile-title><h2>Parameter</h2></v-list-tile-title>
              </v-list-tile-content>
              </v-list-tile>
          </v-list>

          <v-list class="pt-0" dense>
          </br>
            <v-divider light></v-divider>

                  <v-card  style="padding:10px;" >
                        <v-flex>
                                  <v-menu
                                    ref="menu1"
                                    v-model="menu1"
                                    :close-on-content-click="false"
                                    :nudge-right="40"
                                    lazy
                                    transition="scale-transition"
                                    offset-y
                                    full-width
                                    max-width="290px"
                                    min-width="290px"
                                  >
                                    <template v-slot:activator="{ on }">
                                      <v-text-field
                                        v-model="dateFormatted"
                                        label="Start Date"
                                        hint="MM/DD/YYYY format"
                                        persistent-hint
                                        @blur="date = parseDate(dateFormatted)"
                                        v-on="on"
                                      ></v-text-field>
                                    </template>
                                    <v-date-picker v-model="date" no-title @input="menu1 = false"></v-date-picker>
                                  </v-menu>
                                </v-flex> </br>
             <v-divider light></v-divider>
                                <v-flex >
                                          <v-menu
                                            ref="menu1"
                                            v-model="menu1"
                                            :close-on-content-click="false"
                                            :nudge-right="40"
                                            lazy
                                            transition="scale-transition"
                                            offset-y
                                            full-width
                                            max-width="290px"
                                            min-width="290px"
                                          >
                                            <template v-slot:activator="{ on }">
                                              <v-text-field
                                                v-model="dateFormatted"
                                                label="End Date"
                                                hint="MM/DD/YYYY format"
                                                persistent-hint
                                                @blur="date = parseDate(dateFormatted)"
                                                v-on="on"
                                              ></v-text-field>
                                            </template>
                                            <v-date-picker v-model="date" no-title @input="menu1 = false"></v-date-picker>
                                          </v-menu>
                                        </v-flex>
             </br> <v-divider light></v-divider>

             <v-select
                 v-model="select"
                 :items="items"
                 :rules="[v => !!v || 'Item is required']"
                 label="Item"
                 required
               ></v-select>
             </br> <v-divider light></v-divider>


               <v-btn color="success">Create</v-btn>
                   <v-btn color="error">Cancel</v-btn>

     </v-card >
        </v-navigation-drawer>
     </v-card>


    </v-layout>

</template>

<style scoped>
.v-divider {
    border-color: rgba(255,255,255,1) !important;
}
</style>

<script>
module.exports = {
    data () {
      return {
        drawer: null,
        items: [
          { title: 'Home', icon: 'dashboard' },
          { title: 'About', icon: 'question_answer' }
        ],
        mini: false,
        right: null
      }
    }
  }
</script>
