complete story 4.7 with qa tests
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<x-mail::message>
|
||||
# تحديث جديد على قضيتك
|
||||
|
||||
عزيزي {{ $user->full_name ?? $user->company_name }}،
|
||||
|
||||
تم إضافة تحديث جديد على قضيتك:
|
||||
|
||||
**القضية:** {{ $timeline->case_name }}
|
||||
@if($timeline->case_reference)
|
||||
**الرقم المرجعي:** {{ $timeline->case_reference }}
|
||||
@endif
|
||||
|
||||
**تاريخ التحديث:** {{ $update->created_at->translatedFormat('d M Y - g:i A') }}
|
||||
|
||||
---
|
||||
|
||||
{!! $update->update_text !!}
|
||||
|
||||
---
|
||||
|
||||
<x-mail::button :url="route('client.timelines.show', $timeline)">
|
||||
عرض التفاصيل الكاملة
|
||||
</x-mail::button>
|
||||
|
||||
مع أطيب التحيات،
|
||||
مكتب ليبرا للمحاماة
|
||||
</x-mail::message>
|
||||
@@ -0,0 +1,27 @@
|
||||
<x-mail::message>
|
||||
# New Update on Your Case
|
||||
|
||||
Dear {{ $user->full_name ?? $user->company_name }},
|
||||
|
||||
A new update has been added to your case:
|
||||
|
||||
**Case:** {{ $timeline->case_name }}
|
||||
@if($timeline->case_reference)
|
||||
**Reference:** {{ $timeline->case_reference }}
|
||||
@endif
|
||||
|
||||
**Update Date:** {{ $update->created_at->format('M d, Y - g:i A') }}
|
||||
|
||||
---
|
||||
|
||||
{!! $update->update_text !!}
|
||||
|
||||
---
|
||||
|
||||
<x-mail::button :url="route('client.timelines.show', $timeline)">
|
||||
View Full Details
|
||||
</x-mail::button>
|
||||
|
||||
Best regards,
|
||||
Libra Law Firm
|
||||
</x-mail::message>
|
||||
@@ -46,7 +46,9 @@ new class extends Component {
|
||||
'update_text' => clean($this->updateText),
|
||||
]);
|
||||
|
||||
$this->timeline->user->notify(new TimelineUpdateNotification($update));
|
||||
if ($this->timeline->user->isActive()) {
|
||||
$this->timeline->user->notify(new TimelineUpdateNotification($update));
|
||||
}
|
||||
|
||||
AdminLog::create([
|
||||
'admin_id' => auth()->id(),
|
||||
|
||||
Reference in New Issue
Block a user