250613
This commit is contained in:
@@ -169,8 +169,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p class="mt-1 text-xs text-gray-500 dark:text-gray-400">
|
<p class="mt-1 text-xs text-gray-500 dark:text-gray-400">
|
||||||
예약불가 날짜: 2025년 10월 3일(금)~5일(일), 연박 불가 / 금·토·일
|
예약불가 날짜: 2025년 10월 3일(금)~5일(일), 연박 불가 / 체류가능일
|
||||||
중 1박만 가능
|
: 금·토·일
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -617,7 +617,7 @@ const blockedDates = ['2025-10-03', '2025-10-04', '2025-10-05'];
|
|||||||
const allowedDates = computed(() => {
|
const allowedDates = computed(() => {
|
||||||
const result: Date[] = [];
|
const result: Date[] = [];
|
||||||
const start = new Date('2025-06-13');
|
const start = new Date('2025-06-13');
|
||||||
const end = new Date('2025-12-01');
|
const end = new Date('2025-10-31');
|
||||||
|
|
||||||
for (let d = new Date(start); d <= end; d.setDate(d.getDate() + 1)) {
|
for (let d = new Date(start); d <= end; d.setDate(d.getDate() + 1)) {
|
||||||
const date = new Date(d);
|
const date = new Date(d);
|
||||||
@@ -625,7 +625,7 @@ const allowedDates = computed(() => {
|
|||||||
const dateStr = format(date, 'yyyy-MM-dd');
|
const dateStr = format(date, 'yyyy-MM-dd');
|
||||||
const isUnavailable = dateStr >= '2025-10-03' && dateStr <= '2025-10-05';
|
const isUnavailable = dateStr >= '2025-10-03' && dateStr <= '2025-10-05';
|
||||||
|
|
||||||
const isWeekend = [5, 6, 0].includes(day);
|
const isWeekend = [5, 6].includes(day);
|
||||||
|
|
||||||
if (isWeekend && !isUnavailable) {
|
if (isWeekend && !isUnavailable) {
|
||||||
result.push(date);
|
result.push(date);
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
<template></template>
|
||||||
|
<script setup lang="ts"></script>
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ export const companyInfo = {
|
|||||||
president: '서지민',
|
president: '서지민',
|
||||||
address: '강원 정선군 정선읍 정선로 1324, 2층',
|
address: '강원 정선군 정선읍 정선로 1324, 2층',
|
||||||
phone: '0507-1353-1868',
|
phone: '0507-1353-1868',
|
||||||
fax: '0507-1353-1868',
|
fax: '070-7966-2168',
|
||||||
email: 'bobu1104@naver.com',
|
email: 'bobu1104@naver.com',
|
||||||
copyYear: new Date().getFullYear(), // Automatically get current year
|
copyYear: new Date().getFullYear(), // Automatically get current year
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -13,7 +13,13 @@ service cloud.firestore {
|
|||||||
// Either the authenticated user's UID matches the document UID OR they have an elevated role
|
// Either the authenticated user's UID matches the document UID OR they have an elevated role
|
||||||
allow read, write: if request.auth.uid == docId || isElevatedRole();
|
allow read, write: if request.auth.uid == docId || isElevatedRole();
|
||||||
}
|
}
|
||||||
|
// ✅ Allow anyone to read/write from wadizBoards
|
||||||
|
|
||||||
|
match /wadizes/{docId} {
|
||||||
|
|
||||||
|
allow read, write: if true;
|
||||||
|
|
||||||
|
}
|
||||||
// Match individual progress documents by UID
|
// Match individual progress documents by UID
|
||||||
match /progresses/{userId} {
|
match /progresses/{userId} {
|
||||||
// Either the authenticated user's UID matches the document UID OR they have an elevated role
|
// Either the authenticated user's UID matches the document UID OR they have an elevated role
|
||||||
|
|||||||
Reference in New Issue
Block a user