<template>
    <v-layout column fill-height>


            <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 >
     <v-container grid-list-md text-md-center fluid fill-height>
<v-layout column>
    <v-card  style ="height:230px; width:160px;">
          <v-flex  >
              <v-card-title primary-title class="text-md-center"  style="padding:2px;"    >
                <div>
                <div>

                  <v-btn outline large fab color="blue darken-1" @click.stop="drawer = !drawer">
                  <v-icon >insert_chart_outlined</v-icon>
                  </v-btn>
                </div>
                  <div   ><h3>Laporan Pasien</h3></div>
                  <v-divider light></v-divider>
                  <div class="headline">
                  <v-card color="blue darken-1" class="white--text">
                  FO-001
                  </v-card>
                  </div>
                  <v-divider light></v-divider>
                  <span style="font-size: 10px;">Listen to your favorite artists and albums whenever and wherever </span>
                </div>
              </v-card-title>
          </v-flex>
    </v-card>
</v-layout>
<v-layout column>
    <v-card  style ="height:230px; width:160px;">
          <v-flex  >
              <v-card-title primary-title class="text-md-center"  style="padding:2px;"    >
                <div>
                <div>

                  <v-btn outline large fab color="blue darken-1" @click.stop="drawer = !drawer">
                  <v-icon >insert_chart_outlined</v-icon>
                  </v-btn>
                </div>
                  <div   ><h3>Laporan Penerimaan</h3></div>
                  <v-divider light></v-divider>
                  <div class="headline">
                  <v-card color="blue darken-1" class="white--text">
                  FO-002
                  </v-card>
                  </div>
                  <v-divider light></v-divider>
                  <span style="font-size: 10px;">Listen to your favorite artists and albums whenever and wherever </span>
                </div>
              </v-card-title>
          </v-flex>
    </v-card>
</v-layout>

<v-layout column>
    <v-card  style ="height:230px; width:160px;">
          <v-flex  >
              <v-card-title primary-title class="text-md-center"  style="padding:2px;"    >
                <div>
                <div>

                  <v-btn outline large fab color="blue darken-1" @click.stop="drawer = !drawer">
                  <v-icon >insert_chart_outlined</v-icon>
                  </v-btn>
                </div>
                  <div   ><h3>Laporan Penerimaan Pasien</h3></div>
                  <v-divider light></v-divider>
                  <div class="headline">
                  <v-card color="blue darken-1" class="white--text">
                  FO-003
                  </v-card>
                  </div>
                  <v-divider light></v-divider>
                  <span style="font-size: 10px;">Listen to your favorite artists and albums whenever and wherever </span>
                </div>
              </v-card-title>
          </v-flex>
    </v-card>
</v-layout>

<v-layout column>
    <v-card  style ="height:230px; width:160px;">
          <v-flex  >
              <v-card-title primary-title class="text-md-center"  style="padding:2px;"    >
                <div>
                <div>

                  <v-btn outline large fab color="blue darken-1" @click.stop="drawer = !drawer">
                  <v-icon >insert_chart_outlined</v-icon>
                  </v-btn>
                </div>
                  <div   ><h3>Laporan Piutang</h3></div>
                  <v-divider light></v-divider>
                  <div class="headline">
                  <v-card color="blue darken-1" class="white--text">
                  FO-004
                  </v-card>
                  </div>
                  <v-divider light></v-divider>
                  <span style="font-size: 10px;">Listen to your favorite artists and albums whenever and wherever </span>
                </div>
              </v-card-title>
          </v-flex>
    </v-card>
</v-layout>

<v-layout column>
    <v-card  style ="height:230px; width:160px;">
          <v-flex  >
              <v-card-title primary-title class="text-md-center"  style="padding:2px;"    >
                <div>
                <div>

                  <v-btn outline large fab color="blue darken-1" @click.stop="drawer = !drawer">
                  <v-icon >insert_chart_outlined</v-icon>
                  </v-btn>
                </div>
                  <div   ><h3>Laporan Pasien MCU</h3></div>
                  <v-divider light></v-divider>
                  <div class="headline">
                  <v-card color="blue darken-1" class="white--text">
                  FO-005
                  </v-card>
                  </div>
                  <v-divider light></v-divider>
                  <span style="font-size: 10px;">Listen to your favorite artists and albums whenever and wherever </span>
                </div>
              </v-card-title>
          </v-flex>
    </v-card>
</v-layout>

<v-layout column>
    <v-card  style ="height:230px; width:160px;">
          <v-flex  >
              <v-card-title primary-title class="text-md-center"  style="padding:2px;"    >
                <div>
                <div>

                  <v-btn outline large fab color="blue darken-1" @click.stop="drawer = !drawer">
                  <v-icon >insert_chart_outlined</v-icon>
                  </v-btn>
                </div>
                  <div   ><h3>Laporan Shift</h3></div>
                  <v-divider light></v-divider>
                  <div class="headline">
                  <v-card color="blue darken-1" class="white--text">
                  FO-006
                  </v-card>
                  </div>
                  <v-divider light></v-divider>
                  <span style="font-size: 10px;">Listen to your favorite artists and albums whenever and wherever </span>
                </div>
              </v-card-title>
          </v-flex>
    </v-card>
</v-layout>
</v-container>

<v-container grid-list-md text-md-center fluid fill-height>
<v-layout column>
<v-card  style ="height:230px; width:160px;">
     <v-flex  >
         <v-card-title primary-title class="text-md-center"  style="padding:2px;"    >
           <div>
           <div>

             <v-btn outline large fab color="blue darken-1" @click.stop="drawer = !drawer">
             <v-icon >insert_chart_outlined</v-icon>
             </v-btn>
           </div>
             <div   ><h3>Laporan Pasien Klinik</h3></div>
             <v-divider light></v-divider>
             <div class="headline">
             <v-card color="blue darken-1" class="white--text">
             FO-001
             </v-card>
             </div>
             <v-divider light></v-divider>
             <span style="font-size: 10px;">Listen to your favorite artists and albums whenever and wherever </span>
           </div>
         </v-card-title>
     </v-flex>
</v-card>
</v-layout>
<v-layout column>
<v-card  style ="height:230px; width:160px;">
     <v-flex  >
         <v-card-title primary-title class="text-md-center"  style="padding:2px;"    >
           <div>
           <div>

             <v-btn outline large fab color="blue darken-1" @click.stop="drawer = !drawer">
             <v-icon >insert_chart_outlined</v-icon>
             </v-btn>
           </div>
             <div   ><h3>Laporan Pasien Rujukan</h3></div>
             <v-divider light></v-divider>
             <div class="headline">
             <v-card color="blue darken-1" class="white--text">
             FO-007
             </v-card>
             </div>
             <v-divider light></v-divider>
             <span style="font-size: 10px;">Listen to your favorite artists and albums whenever and wherever </span>
           </div>
         </v-card-title>
     </v-flex>
</v-card>
</v-layout>

<v-layout column>
<v-card  style ="height:230px; width:160px;">
     <v-flex  >
         <v-card-title primary-title class="text-md-center"  style="padding:2px;"    >
           <div>
           <div>

             <v-btn outline large fab color="blue darken-1" @click.stop="drawer = !drawer">
             <v-icon >insert_chart_outlined</v-icon>
             </v-btn>
           </div>
             <div   ><h3>Laporan Kasir</h3></div>
             <v-divider light></v-divider>
             <div class="headline">
             <v-card color="blue darken-1" class="white--text">
             FO-008
             </v-card>
             </div>
             <v-divider light></v-divider>
             <span style="font-size: 10px;">Listen to your favorite artists and albums whenever and wherever </span>
           </div>
         </v-card-title>
     </v-flex>
</v-card>
</v-layout>

<v-layout column>
<v-card  style ="height:230px; width:160px;">
     <v-flex  >
         <v-card-title primary-title class="text-md-center"  style="padding:2px;"    >
           <div>
           <div>

             <v-btn outline large fab color="blue darken-1" @click.stop="drawer = !drawer">
             <v-icon >insert_chart_outlined</v-icon>
             </v-btn>
           </div>
             <div   ><h3>Laporan Pendapatan</h3></div>
             <v-divider light></v-divider>
             <div class="headline">
             <v-card color="blue darken-1" class="white--text">
             FO-009
             </v-card>
             </div>
             <v-divider light></v-divider>
             <span style="font-size: 10px;">Listen to your favorite artists and albums whenever and wherever </span>
           </div>
         </v-card-title>
     </v-flex>
</v-card>
</v-layout>

<v-layout column>
<v-card  style ="height:230px; width:160px;">
     <v-flex  >
         <v-card-title primary-title class="text-md-center"  style="padding:2px;"    >
           <div>
           <div>

             <v-btn outline large fab color="blue darken-1" @click.stop="drawer = !drawer">
             <v-icon >insert_chart_outlined</v-icon>
             </v-btn>
           </div>
             <div   ><h3>Laporan Kasir Bulanan</h3></div>
             <v-divider light></v-divider>
             <div class="headline">
             <v-card color="blue darken-1" class="white--text">
             FO-010
             </v-card>
             </div>
             <v-divider light></v-divider>
             <span style="font-size: 10px;">Listen to your favorite artists and albums whenever and wherever </span>
           </div>
         </v-card-title>
     </v-flex>
</v-card>
</v-layout>

<v-layout column>
<v-card  style ="height:230px; width:160px;">
     <v-flex  >
         <v-card-title primary-title class="text-md-center"  style="padding:2px;"    >
           <div>
           <div>

             <v-btn outline large fab color="blue darken-1" @click.stop="drawer = !drawer">
             <v-icon >insert_chart_outlined</v-icon>
             </v-btn>
           </div>
             <div   ><h3>Laporan Kasir Harian</h3></div>
             <v-divider light></v-divider>
             <div class="headline">
             <v-card color="blue darken-1" class="white--text">
             FO-011
             </v-card>
             </div>
             <v-divider light></v-divider>
             <span style="font-size: 10px;">Listen to your favorite artists and albums whenever and wherever </span>
           </div>
         </v-card-title>
     </v-flex>
</v-card>
</v-layout>
</v-container>


    <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>

</style>

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