Merge branch 'polishing-calendar' into #74-vacation-calendar
# Conflicts: # resources/js/Pages/Calendar.vue
This commit is contained in:
		@@ -1,10 +1,10 @@
 | 
			
		||||
<template>
 | 
			
		||||
  <InertiaHead title="Twoje wnioski urlopowe" />
 | 
			
		||||
  <InertiaHead title="Moje wnioski urlopowe" />
 | 
			
		||||
  <div class="bg-white shadow-md">
 | 
			
		||||
    <div class="flex justify-between items-center p-4 sm:px-6">
 | 
			
		||||
      <div>
 | 
			
		||||
        <h2 class="text-lg leading-6 font-medium text-gray-900">
 | 
			
		||||
          Twoje wnioski urlopowe
 | 
			
		||||
          Moje wnioski urlopowe
 | 
			
		||||
        </h2>
 | 
			
		||||
      </div>
 | 
			
		||||
      <div>
 | 
			
		||||
@@ -85,7 +85,7 @@
 | 
			
		||||
              </InertiaLink>
 | 
			
		||||
            </td>
 | 
			
		||||
            <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-gray-500">
 | 
			
		||||
              {{ request.type }}
 | 
			
		||||
              <VacationType :type="request.type" />
 | 
			
		||||
            </td>
 | 
			
		||||
            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">
 | 
			
		||||
              {{ request.from }}
 | 
			
		||||
@@ -189,6 +189,7 @@ import {
 | 
			
		||||
  DocumentTextIcon,
 | 
			
		||||
} from '@heroicons/vue/solid'
 | 
			
		||||
import Status from '@/Shared/Status'
 | 
			
		||||
import VacationType from '@/Shared/VacationType'
 | 
			
		||||
 | 
			
		||||
export default {
 | 
			
		||||
  name: 'VacationRequestIndex',
 | 
			
		||||
@@ -204,6 +205,7 @@ export default {
 | 
			
		||||
    DocumentTextIcon,
 | 
			
		||||
    ThumbDownIcon,
 | 
			
		||||
    Status,
 | 
			
		||||
    VacationType,
 | 
			
		||||
  },
 | 
			
		||||
  props: {
 | 
			
		||||
    requests: {
 | 
			
		||||
 
 | 
			
		||||
@@ -247,7 +247,7 @@
 | 
			
		||||
              </div>
 | 
			
		||||
            </td>
 | 
			
		||||
            <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-gray-500">
 | 
			
		||||
              {{ request.type }}
 | 
			
		||||
              <VacationType :type="request.type" />
 | 
			
		||||
            </td>
 | 
			
		||||
            <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">
 | 
			
		||||
              {{ request.from }}
 | 
			
		||||
@@ -353,6 +353,7 @@ import {
 | 
			
		||||
  XIcon,
 | 
			
		||||
} from '@heroicons/vue/solid'
 | 
			
		||||
import Status from '@/Shared/Status'
 | 
			
		||||
import VacationType from '@/Shared/VacationType'
 | 
			
		||||
import {watch, reactive} from 'vue'
 | 
			
		||||
import {debounce} from 'lodash'
 | 
			
		||||
import {Inertia} from '@inertiajs/inertia'
 | 
			
		||||
@@ -377,6 +378,7 @@ export default {
 | 
			
		||||
    DocumentTextIcon,
 | 
			
		||||
    ThumbDownIcon,
 | 
			
		||||
    Status,
 | 
			
		||||
    VacationType,
 | 
			
		||||
    SelectorIcon,
 | 
			
		||||
    XCircleIcon,
 | 
			
		||||
  },
 | 
			
		||||
 
 | 
			
		||||
@@ -44,7 +44,7 @@
 | 
			
		||||
                Rodzaj urlopu
 | 
			
		||||
              </dt>
 | 
			
		||||
              <dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
 | 
			
		||||
                {{ request.type }}
 | 
			
		||||
                <VacationType :type="request.type" />
 | 
			
		||||
              </dd>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6">
 | 
			
		||||
@@ -65,7 +65,7 @@
 | 
			
		||||
                    {{ request.from }} - {{ request.to }} [Liczba dni: {{ request.days.length }}]
 | 
			
		||||
                  </template>
 | 
			
		||||
                  <template v-else>
 | 
			
		||||
                    {{ request.from }}
 | 
			
		||||
                    {{ request.from }} [Liczba dni: {{ request.days.length }}]
 | 
			
		||||
                  </template>
 | 
			
		||||
                </span>
 | 
			
		||||
              </dd>
 | 
			
		||||
@@ -249,10 +249,12 @@
 | 
			
		||||
import {PaperClipIcon} from '@heroicons/vue/outline'
 | 
			
		||||
import Activity from '@/Shared/Activity'
 | 
			
		||||
import Status from '@/Shared/Status'
 | 
			
		||||
import VacationType from '@/Shared/VacationType'
 | 
			
		||||
 | 
			
		||||
export default {
 | 
			
		||||
  name: 'VacationRequestShow',
 | 
			
		||||
  components: {
 | 
			
		||||
    VacationType,
 | 
			
		||||
    Activity,
 | 
			
		||||
    PaperClipIcon,
 | 
			
		||||
    Status,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user