[FEAT] 實作公共事業費逾期提醒、租戶自訂通知設定及發送測試信功能
All checks were successful
ERP-Deploy-Demo / deploy-demo (push) Successful in 56s
All checks were successful
ERP-Deploy-Demo / deploy-demo (push) Successful in 56s
This commit is contained in:
22
resources/views/emails/payment-reminder.blade.php
Normal file
22
resources/views/emails/payment-reminder.blade.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<x-mail::message>
|
||||
# 公共事業費繳費提醒
|
||||
|
||||
您好,系統偵測到有公共事業費單據處於 **未完成繳費** 或 **已逾期** 狀態,請儘速處理。
|
||||
|
||||
以下為待處理清單:
|
||||
|
||||
<x-mail::table>
|
||||
| 費用類別 | 金額 | 繳費期限 | 目前狀態 |
|
||||
| :--- | :--- | :--- | :--- |
|
||||
@foreach($fees as $fee)
|
||||
| {{ $fee->category }} | {{ number_format($fee->amount, 2) }} | {{ $fee->due_date ? $fee->due_date->format('Y-m-d') : '未設定' }} | {{ $fee->payment_status === 'overdue' ? '🔴 已逾期' : '🟡 待繳納' }} |
|
||||
@endforeach
|
||||
</x-mail::table>
|
||||
|
||||
<x-mail::button :url="config('app.url') . '/utility-fees'">
|
||||
前往系統查看詳情
|
||||
</x-mail::button>
|
||||
|
||||
感謝您的配合,<br>
|
||||
{{ config('app.name') }} 系統管理團隊
|
||||
</x-mail::message>
|
||||
12
resources/views/emails/test-notification.blade.php
Normal file
12
resources/views/emails/test-notification.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<x-mail::message>
|
||||
# 電子郵件通知測試成功
|
||||
|
||||
您好,
|
||||
|
||||
這是一封系統自動發送的測試信件。當您看到這封信時,表示您在系統中設定的 SMTP 寄件帳號與密碼已經可以正常運作。
|
||||
|
||||
此信件由系統發出,請勿直接回覆。
|
||||
|
||||
感謝您,<br>
|
||||
{{ config('app.name') }} 系統管理團隊
|
||||
</x-mail::message>
|
||||
Reference in New Issue
Block a user