# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### 2026-07-30

- **Added**：`/hotel/price` 底部顯示選中分店資訊（共用首頁 `SectionStore`）；分店資訊新增特寵業字號，點擊以 modal 顯示特寵業許可證；`backend-api` 同步含特寵業欄位（`petBusinessLicenseNo` / `petBusinessLicenseImage`）
- **Fixed**：無
- **Changed**：提交 ipetbooking、luckycatresort、jtails 前端打包產物與版型引用（site-frontend build）

### 2026-07-28

- **Added**：無
- **Fixed**：未開啟美容服務時，首頁 `/` 改導向 `/hotel/price`（不再進住宿搜尋）
- **Changed**：提交 ipetbooking、luckycatresort、jtails 前端打包產物與版型引用（site-frontend build）

### 2026-04-28

- **Added**：`/hotel` 住宿搜尋頁依 `merchant.hotelSetting.bannerImages` 顯示頂部橫幅，標題取自 `hotelSetting.title`、副標取自 `bannerText`；無圖則隱藏整個橫幅（site-frontend 同步覆蓋 luckycatresort 模版）；新增共用 `Banner.vue`（背景圖、標題／副標靠左下、手機 `aspect-ratio: 3/2` 並對齊左上、輕量 text-shadow），抽出 `HotelSearchFormPanel.vue` 供有/無橫幅共用
- **Fixed**：無
- **Changed**：提交 ipetbooking、luckycatresort、jtails 前端打包產物與版型引用（site-frontend build、`public/ipetbooking-build/`、`public/luckycatresort-build/`、`public/jtails-build/`，`resources/views/templates/ipetbooking.blade.php`、`resources/views/templates/luckycatresort.blade.php`、`resources/views/templates/jtails.blade.php`，含 app / chunk hash 更新）

### 2026-04-24

- **Added**：住宿容器前台 API（`type=hotel`）新增 `allUnpaidTotal`；`HotelOrder\Status` 新增 `containerUnpaidTotalStatuses`、`containerPaymentMethodSyncStatuses` 供應付額與結帳同步一致
- **Fixed**：住宿子單標為 `NO_SHOW` 後仍計入容器應付並可完成付款驗證；子單皆不需付款（應付為 0）時隱藏「前往付款」、阻擋付款頁與 `/hotel/checkout` 導向
- **Changed**：`backend-api` 子模組指標更新至 `ipetbooking/dev`（合併 `feature/front-hotel`）；site-frontend 住宿付款判斷（`OrderPaymentButton`、`CheckDetail`、`Payment`、checkout 路由守衛、`format-order`）；提交 ipetbooking 與 luckycatresort 前端打包產物並更新版型引用（`public/ipetbooking-build/`、`public/luckycatresort-build/`、`resources/views/templates/ipetbooking.blade.php`、`resources/views/templates/luckycatresort.blade.php`，含 app / vendors / chunk hash 與 chunk 汰換）

### 2026-04-23

- **Added**：無
- **Fixed**：無
- **Changed**：更新 luckycatresort 前端打包產物與版型引用（site-frontend build、`public/luckycatresort-build/`、`resources/views/templates/luckycatresort.blade.php`，含 app / vendors / chunk hash 與住宿新客阻擋圖資源更新）

### 2026-03-30

- **Added**：無
- **Fixed**：無
- **Changed**：更新 ipetbooking landing 前端打包產物與版型引用（landing-frontend build、`public/ipetbooking-landing/`、`resources/views/ipetbooking/landing.blade.php`，含 app / vendors / chunk hash 更新）

### 2026-03-17

- **Added**：無
- **Fixed**：無
- **Changed**：更新 luckycatresort 前端打包產物與版型引用（site-frontend build、`resources/views/templates/luckycatresort.blade.php`，含 app hash 與 chunk 更新）

### 2026-03-16

- **Added**：luckycatresort template & theme
- **Fixed**：無
- **Changed**：提交 luckycatresort 前端打包產物與版型引用（site-frontend build、`resources/views/templates/luckycatresort.blade.php`）

### 2026-02-24

- **Added**：無
- **Fixed**：ESLint warning；jtails 訂單與訂單詳細、付款頁面；檔名大小寫；訂單相關頁面與顯示結果；is_temp 不存在問題
- **Changed**：提交/更新 ipetbooking 與 jtails 前端打包產物與版型引用（site-frontend build、`resources/views/templates/ipetbooking.blade.php`，含 app hash 與 chunk 更新）

### 2026-02-20

- **Added**：無
- **Fixed**：預約結帳功能
- **Changed**：更新 ipetbooking 前端建置產物與版型資源引用（site-frontend build、`resources/views/templates/ipetbooking.blade.php`）

### 2026-02-12

- **Added**：hotel 相關：InfoBoxContainerHotel 組件、hotel-unpaid-checkout 兩步驟流程、訂單詳情/結帳頁付款方式與付款狀態「已付款」/「未付款」、build process 調整
- **Fixed**：ESLint；order 格式與路由；hotel checkout 路由與 hotel 明細；付款按鈕與結帳頁顯示邏輯；使用條款來源
- **Changed**：前端打包更新並修復 ESLint 錯誤（site-frontend build）
